home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / novell / 11768 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.9 KB  |  58 lines

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!dcatlas!joet
  3. From: joet@dcatlas.dot.gov (Joe Trott)
  4. Subject: Re: NetWare problems: Capture, Map...
  5. Message-ID: <1993Jan21.191149.4808@dcatlas.dot.gov>
  6. Organization: U.S Dept. of Transportation
  7. References: <1993Jan13.040105.1449@netcom.com>
  8. Date: Thu, 21 Jan 1993 19:11:49 GMT
  9. Lines: 47
  10.  
  11. tbc@netcom.com (Mike Garvey) writes:
  12.  
  13. >Is there any way for the Windows users to access all six printers equally
  14. >easy, like the chooser on the Macintosh (all print queues show up fine in
  15. >the chooser)?
  16.  
  17. You could set up a menu that would run different CAPTURE commands to the
  18. different queues.
  19.  
  20. >Second, I think I've found a NetWare bug related to the map command as used
  21. >in login scripts (either system or user).  With the following login script:
  22.  
  23. >map display off
  24. >dos break off
  25. >break off
  26. >pccompatible
  27. >if login_name="supervisor" then begin
  28. >    map *1:=sys:system
  29. >    else
  30. >    map root f:=sys:jobs
  31. >end
  32. >map s1:=sys:public
  33. >dos set_id="%login_name"
  34. >dos set prompt="$p$g"
  35. >map
  36. >exit
  37.  
  38. >repeated logins and logouts to the server erase the last entry in the dos
  39. >path (and correspondingly reduce the number of search paths that map
  40. >reports) until there is no path left at all.  For example:
  41.  
  42. This is _not_ a bug.  The  map s1:=...  command _replaces_ the first path
  43. entry with the netware directory.  When you log out, this is of course
  44. deleted, since you no longer have access to Netware directories.  The
  45. solution to this problem is to change your script to say  map INSERT s1:=...
  46. This will _insert_ this directory into your existing path in the first
  47. position.  When you log out, it will be deleted and your path will be as it
  48. was.
  49. If your example above was verbatim, you also need to change your IF... to:
  50. if "%LOGIN_NAME" = "SUPERVISOR" then begin
  51.  
  52. Netware identifiers need to be all caps and in quotes.  In your example, the
  53. syntax is valid, but isn't going to yield the desired results (will always
  54. be false).
  55.  
  56. -JTT
  57.  
  58.