home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / PSERRO.ZIP / PSERRO.DOC
Text File  |  1993-02-21  |  7KB  |  216 lines

  1.                 Peer Server error messages you might see.
  2.                  And how to share stuff on a Peer Server.
  3.  
  4.  
  5. At the Peer Server:
  6.  
  7. Trying to share resources on the Peer Server:
  8.  
  9. Doing it wrong:
  10. Before I logged on locally to the Peer server with a valid Admin ID:
  11.  
  12. [D:\]net share ibm4019l /print
  13. NET2761:  This command requires that you have administrator privilege or
  14. that you are a user who has been granted one of the following operator
  15. rights:  PRINT,SERVER.
  16.  
  17. To logon locally to the peer server:
  18. Go to that peer server sit down, put your soda
  19. aside and issue this command:
  20.  
  21. [D:\]logon userid /p:password /v=local
  22. The user ID was not added as a message name. **
  23. The command completed successfully.
  24.  
  25. **( The user ID was not added as a messenger name
  26. because someone else is also logged on the LAN
  27. with this ID USERID )
  28.  
  29. If this is the first time you have logged on locally
  30. then the userid and password will be at default, which is
  31. USERID PASSWORD. Remember the Net.acc file on the peer server
  32. knows nothing about the Net.acc on your Domain Controller.
  33.  
  34. After Logging on locally with a valid Admin ID:
  35.  
  36. [D:\]net share ibm4019L /print
  37. ibm4019L was shared successfully.
  38.  
  39. The IBM4019L was taken from the View page of the Settings
  40. folder for the printer I want to share. On the View page look
  41. at the Physical Name. That's what you include in the share
  42. command.
  43.  
  44.  
  45. Doing a Net share commmand for a file alias wrong:
  46.  
  47. [D:\]net share util = d:\util
  48. The syntax of this command is:
  49.  
  50. NET SHARE [netname]
  51.             netname=device [password]
  52.                               [/COMM]
  53.                               [/USERS:number | /UNLIMITED]
  54.                               [/REMARK:text]
  55.                               [/PERMISSIONS:XRWCDA]
  56.             netname [password]
  57.                               [/PRINT]
  58.  
  59. ....................( bunch of more stuff )
  60.  
  61. After taking out the spaces around the equal ( = ) sign :
  62.  
  63. [D:\]net share util=d:\util
  64. util was shared successfully.
  65.  
  66.  
  67. Adding access control to your Peer resources:
  68. ( this only needs to be done if you are using User level
  69.   Security on your Peer Server )
  70.  
  71. Doing it wrong:
  72.  
  73. [D:\]net access  D:\UTIL /grant users:r
  74. NET2222: The resource name cannot be found.
  75.  
  76. Doing it right:
  77.  
  78.  
  79. (1) First add the alias name:
  80.  
  81. [D:\]net access  D:\UTIL /ADD
  82. The command completed successfully.
  83.  
  84. (1) Next grant the access control desired:
  85.  
  86. [D:\]net access  D:\UTIL /GRANT
  87. users:r The command completed successfully.
  88.  
  89.  
  90. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  91.  
  92. From another Requester trying to use the resources shared on the Peer
  93. Server:
  94.  
  95. Before adding the other user's ID (Joe Bob is wanting to do a
  96. Net Use )to the Peer Server's copy of the Net.acc file:
  97.  
  98. [C:\]net use lpt8 \\rjameson\ibm4019l
  99. NET3502: OS/2 error 5 has occurred.
  100. SYS0005: Access is denied.
  101.  
  102. After adding the user's ID to the Peer Server with the following
  103. command:
  104.  
  105. [D:\]net user joebob joebob /add       **
  106. The command completed successfully.
  107.  
  108. ** ( Joe Bob has a hard time with passwords )
  109.  
  110. Now Joe Bob does the Net Use over again:
  111.  
  112. [C:\]net use lpt8 \\rjameson\ibm4019L
  113. The command completed successfully.
  114.  
  115.  
  116. Doing a Net Use for a file alias from another requester
  117. before adding the access control needed to the
  118. alias on the Peer Server:
  119.  
  120. [C:\]net use f: \\rjameson\util
  121. The command completed successfully.
  122.  
  123. [C:\]dir f:
  124.  
  125.  The volume label in drive F is D DRIVE.
  126.  The Volume Serial Number is A4A6:0814
  127.  Directory of F:\
  128.  
  129. SYS0065: Network access is denied.
  130.  
  131. (See "Adding access control to your Peer resources" above for 
  132.  instructions on how to add access control to an alias)
  133.  
  134.  
  135. Doing a Net Use with wrong alias name:
  136.  
  137. [C:\]net use lpt7 \\rjameson\ibm4020
  138. NET3502: OS/2 error 67 has occurred.
  139. SYS0067: The network name cannot be found.
  140.  
  141.  
  142. Doing a Net Use from a second requester after first
  143. requester has done a Net Use to the Peer Server:
  144. (the first requester has the 1 session tied up with the
  145. Peer Server)
  146.  
  147. [C:\]NET USE LPT1 \\RJAMESON\IBM4019L
  148. NET3502: OS/2 error 71 has occurred.
  149. SYS0071: The network request was not accepted.
  150.  
  151.  
  152. Doing a Net Use to a Share on a Peer Server using Share level Security:
  153.  
  154. Using the incorrect alias password:
  155.  
  156. [C:\]Net Use w: \\RJAMESON\UTIL junk
  157. NET3502: OS/2 error 86 has occured
  158. SYS0086: The specified network password is not correct.
  159.  
  160. The password of junk was incorrect, after doing it with the
  161. correct password it worked okay.
  162.  
  163.  
  164.  
  165. Notes:
  166. A Peer Server sharing a printer resource or file resource  can only be 
  167. used by one person and the owner** of that Peer Server ( as stated in the
  168. IBMLAN.INI file). So if it shares a printer and one (1) user on another
  169. requester does a Net Use to it then it is tied up. There are two (2) work
  170. arounds to this:
  171.  
  172.    (1) Instead of doing a Net Use to the alias just do a copy to the
  173.        netname. For instance say I share my printer on my Peer Server with
  174.        the following command:
  175.             net share ibm4019l /print
  176.        Then a user on another machine could do the following:
  177.             Copy config.sys   \\rjameson\ibm4020
  178.        The session would be established, the job printed and then the
  179.        session disconnected, ready for the next user.
  180.  
  181.    (2) On the Domain Controller (DC) or on one of the Additional Servers
  182.        (AS) do a Net Use to that printer alias. Then turn around and share
  183.        it. Note: This trick only works on a printer share.
  184.  
  185. Remember the Peer Server does not have anything to do with the Domain.
  186. In other words a Peer Server does not have a Domain. PCLP ( DOS LAN 
  187. Product available from IBM ) uses a concept similar to Peer Server. The
  188. Net.acc (The User database ) on the Peer server does not have access tothe
  189. user IDs and Passwords that are on the Domain Controller***. With the 
  190. Share level of security one dooesn't need to worry about the user IDs, 
  191. only the password for the item shared. So one can select how you setup
  192. the Peer Server. In the IBMLAN.INI file there is a section called : [peer]
  193. You can change the security from User to Share or visa versa. See below:
  194.  
  195.          [peer]
  196.          ;  I commented out the next line.
  197.          ;  security = User
  198.          ;  Then added the next line
  199.          ;  and stopped and restarted the requester.
  200.             security = Share
  201.             username = RJAMESON
  202.  
  203.  
  204. **The owner is the name listed as username, if you as an Admin are doing
  205.   backups of the Peer Server from a Server you might have this as your
  206.   Admin userid.
  207.  
  208. *** Domain Controller is a machine with LAN Server 1.3/2.0/3.0 installed
  209. and setup thru Advanced Installation as the Domain Controller.
  210.  
  211.  
  212. There is a section in the new Redbook coming out about the Peer server.
  213. It's quite good.
  214.  
  215. Hope this helps with any of your Peer questions.
  216.