home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / network / bindump1.zip / BINDDUMP.DOC next >
Text File  |  1992-04-11  |  6KB  |  180 lines

  1. Some brief notes for BINDDUMP.EXE
  2.  
  3. Bug reports, questions, suggestions, postcards and comments to
  4. rml@extro.ucc.su.OZ.AU
  5.  
  6. Preamble :-
  7.  
  8. BINDDUMP is hereby released into the public domain in the spirit of Dave
  9. Harris's free email package for netware (Pegasus), which is much bigger
  10. and better and if you don't already use it, you payed too much. Get it
  11. from splicer.cba.hawaii.edu via anonymous ftp.
  12.  
  13. This package may be freely distributed and used on condition that no fee
  14. ever changes hands at any stage for distribution or use, and that the
  15. executable and this documentation travel together.
  16.  
  17. Any one game to use this package does so at their own risk.
  18.  
  19. No guarantee of fitness for purpose of any kind is expressed or implied -
  20. in fact, quite the opposite. This package is only guaranteed to take up
  21. space wherever it is stored.
  22.  
  23. If this software or documentation break anything of yours, the only other
  24. guarantee that the author can give is that you still own all of the
  25. broken parts.
  26.  
  27.  
  28. Description :-
  29.  
  30. This is a very simple utility for Novell netware which lists objects known
  31. to the bindery. If you don't know much about netware security and file server
  32. organization, here's a quick free course in the basics.
  33.  
  34. The bindery is where netware keeps most of the security information. Items
  35. like Users, passwords and priveleges. Amongst other things, the objects
  36. known to the bindery are of 4 main flavours :-
  37.  
  38. 1) Users - these have userid's (such as ROSS) which are associated with
  39. passwords and realnames (such as Dr. Ross Lazarus) which we can snaffle with
  40. this programme
  41.  
  42. 2) Groups - these have names (such as EVERYONE) and are the way users are
  43. quickly associated with applications and file access needed to run them by
  44. the Supervisor on a netware server. Usually the Supervisor will have made
  45. a variety of groups, each of which has specific access and permission to
  46. get at various files and directories on the server. For example, WPUSER
  47. might be the group for wordprocessor users - these people may have access
  48. to the appropriate software and directories. Group membership can be tested
  49. in the process of login so that special steps can be taken for members of
  50. each group. The Supervisor can change group membership quickly and easily.
  51.  
  52. 3) Print servers - these have names (such as R204HPL3). Each print server
  53. usually has a specific physical printer associated with it. Since a netware
  54. network can have several print servers hanging off the file server and any
  55. number of remote print servers hanging off workstations, these are a
  56. convenient way to spread printing physically around the network.
  57.  
  58. 4) File servers - these have names (such as ADMIN) and are netware file
  59. servers other than your own which are accessible via some sort of
  60. internetwork connection. Many small networks may be bridged on a VAX
  61. ethernet backbone for example,
  62.  
  63. How to use it :-
  64.  
  65. The number above for each of these flavours has the same meaning for BINDDUMP
  66. and there is a special one, the wildcard "*" which means ALL object types.
  67.  
  68. BINDDUMP will make a simple list of the object types specified as a command
  69. line parameter. So, to get a list of USERS, try
  70.  
  71. BINDDUMP 1
  72.  
  73. To get a list of every object of each of the 4 types, try
  74.  
  75. BINDDUMP *
  76.  
  77.  
  78. BINDDUMP returns a DOS errorlevel which may be useful in a batch file
  79.  
  80. Return Codes:     00h successful
  81.                   01h Netware not found
  82.                   96h server out of memory
  83.                   EFh invalid name
  84.                   FCh no such object
  85.                   FEh bindery locked
  86.                   FFh bindery failure
  87.  
  88. A sample output :-
  89.  
  90. A typical call of
  91. BINDDUMP *
  92. produces output like this on my netware file server
  93.  
  94. User: SUPERVISOR Realname: Ross Lazarus
  95. User: NATALIE Realname: Natalie Wong Tang
  96. User: SHANTHI Realname: Dr Shanthi Kathir
  97. User: CHEY_ARCHSVR Realname: Tape drive
  98. User: ROSS Realname: Dr Ross Lazarus
  99. User: MICHAEL Realname: Michael Jansen
  100. User: POSTMAN Realname: GMU Postman.
  101. User: PETER Realname: Dr Peter Landau
  102. User: CAROLYN Realname: Carolyn Robinson
  103. User: CHRIS Realname: Chris Benson
  104. User: MARLENE Realname: Marlene Mills
  105. User: MARILYN Realname: Marilyn Dodd
  106. User: PALI Realname: Palitha Siriwardana
  107. User: ROXY Realname: Roxana Ortega
  108. User: CAROL Realname: Carol Murphy
  109. User: JUDY Realname: Judy Sandilands
  110. User: MAUREEN Realname: Maureen Dorahy
  111. User: MICHELLE Realname: Michelle Purcell
  112. User: DILYS Realname: Dilys Stockley
  113. User: ELEANOR
  114. User: SMICHAEL Realname: Michael Jansen
  115. User: SROSS Realname: Dr Ross Lazarus
  116. User: MAIL Realname: Mail man for GMU
  117. User: MG Realname: Dr Michael Gliksman
  118. User: MAXLOGIN Realname: Special login for bbs
  119. User: TEMP Realname: Temporary Secretary
  120. User: FIONA Realname: FIONA
  121. User: CDUSER
  122. Group: EVERYONE
  123. Group: SASUSER
  124. Group: PMIATS
  125. Group: WSUSER
  126. Group: WPUSER
  127. Group: REALGAT
  128. Group: EVALUNIT
  129. Group: GROUPMAIL
  130. Group: PROG
  131. Group: EDUCATION
  132. Group: TODAYUSER
  133. Group: THOUGHTS
  134. Group: GAMERS
  135. Group: TALKUSER
  136. Group: NOMAIL
  137. Group: BIRTHDAYS
  138. Group: DRAWPERFECT
  139. Group: PARADOX
  140. Group: DNCB
  141. Group: CDUSER
  142. PrintServer : HPNORMAL
  143. PrintServer : DOM
  144. PrintServer : LABEL
  145. FileServer : COMPUTER_SERVICES
  146. FileServer : GMU
  147. FileServer : MEDICAL_ADMIN
  148. FileServer : DOM_MID_PROG
  149. FileServer : RENAL_MED
  150. FileServer : RADONC
  151. FileServer : DENTAL_SCHOOL
  152. FileServer : WSAHS_ADMIN
  153. FileServer : HEMONC
  154. FileServer : COMMUNITY_MEDICINE
  155. FileServer : WEST04
  156. FileServer : WEST05
  157. FileServer : WEST06
  158.  
  159. The semicolon should enable most anything to be done to the output by a
  160. filter like awk or a language like perl.
  161.  
  162. Note that the output can be redirected to a file by using the DOS trick of
  163. adding a ">" and a filename to the command line - so to get a list of all
  164. users known on your current default file server sent to a DOS text file
  165. called "BINDDUMP.OUT" try
  166.  
  167. BINDDUMP 1 > BINDDUMP.OUT
  168.  
  169.  
  170. BE WARNED, if a file of that name already exists, it will be replaced and the
  171. original contents PERMANENTLY LOST - except that since you always backup
  172. everything of importance, this won't matter, will it ? (ha ha).
  173.  
  174. A double > (>>) will APPEND the output to the specified file if it exists.
  175.  
  176. To page the output nicely, try
  177. BINDDUMP 1 | MORE.
  178.  
  179.  
  180.