home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!dcatlas!joet
- From: joet@dcatlas.dot.gov (Joe Trott)
- Subject: Re: NetWare problems: Capture, Map...
- Message-ID: <1993Jan21.191149.4808@dcatlas.dot.gov>
- Organization: U.S Dept. of Transportation
- References: <1993Jan13.040105.1449@netcom.com>
- Date: Thu, 21 Jan 1993 19:11:49 GMT
- Lines: 47
-
- tbc@netcom.com (Mike Garvey) writes:
-
- >Is there any way for the Windows users to access all six printers equally
- >easy, like the chooser on the Macintosh (all print queues show up fine in
- >the chooser)?
-
- You could set up a menu that would run different CAPTURE commands to the
- different queues.
-
- >Second, I think I've found a NetWare bug related to the map command as used
- >in login scripts (either system or user). With the following login script:
-
- >map display off
- >dos break off
- >break off
- >pccompatible
- >if login_name="supervisor" then begin
- > map *1:=sys:system
- > else
- > map root f:=sys:jobs
- >end
- >map s1:=sys:public
- >dos set_id="%login_name"
- >dos set prompt="$p$g"
- >map
- >exit
-
- >repeated logins and logouts to the server erase the last entry in the dos
- >path (and correspondingly reduce the number of search paths that map
- >reports) until there is no path left at all. For example:
-
- This is _not_ a bug. The map s1:=... command _replaces_ the first path
- entry with the netware directory. When you log out, this is of course
- deleted, since you no longer have access to Netware directories. The
- solution to this problem is to change your script to say map INSERT s1:=...
- This will _insert_ this directory into your existing path in the first
- position. When you log out, it will be deleted and your path will be as it
- was.
- If your example above was verbatim, you also need to change your IF... to:
- if "%LOGIN_NAME" = "SUPERVISOR" then begin
-
- Netware identifiers need to be all caps and in quotes. In your example, the
- syntax is valid, but isn't going to yield the desired results (will always
- be false).
-
- -JTT
-
-