Article View: comp.os.netware.misc
Article #177Re: Problem in system login script
From: gfliger
Date: Thu, 07 Nov 1996 00:00
Date: Thu, 07 Nov 1996 00:00
42 lines
1632 bytes
1632 bytes
In <552l4k$36t@olisc.glink.net.hk>, keung@olisc.glink.net.hk (Tang Tat Keung) writes: >Hello, > > Can anyone help me to clarify what the problem is? I can't get S: after >login the user "ATEOP". But I can manually type MAP S:=SYS:\SHARE to get >S: drive. > >In system login script, > >IF LOGIN_NAME = "ATEOP" >MAP S:=SYS:\SHARE >EXIT >END > >ATEOP's directory trustee: >SYS:LOGIN [R F] >SYS:MAIL [ C ] >SYS:PUBLIC [R F] > >Regards, >keung >keung@olisc.glink.net.hk > -------------------- Small problem in your first script line. Change it to IF %LOGIN_NAME = "ATEOP" THEN BEGIN MAP S:=SYS:SHARE EXIT END You must insure you place the "%" sign in front of the script variable in order for it to be recognized as a valid scripting variable. In your example LOGIN_NAME is not a script variable in itself (no percent sign) so does not equal ATEOP. -------------------- George Fliger PC Repair of Florida gfliger@acun.com http://www.acun.com/~gfliger
Technical Details
Message-ID:
<55sk93$dgu@news.acun.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<552l4k$36t@olisc.glink.net.hk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fe659,b2c0d02e33173050 X-Google-Attributes: gidfe659,public X-Google-Thread: f8bf7,b2c0d02e33173050 X-Google-Attributes: gidf8bf7,public X-Google-Thread: fc1d4,b349a0bacf9b3f03 X-Google-Attributes: gidfc1d4,public From: gfliger@acun.com Subject: Re: Problem in system login script Date: 1996/11/07 Message-ID: <55sk93$dgu@news.acun.com> X-Deja-AN: 195066673 references: <552l4k$36t@olisc.glink.net.hk> organization: Access Unlimited reply-to: gfliger@acun.com newsgroups: comp.os.netware.misc,tw.bbs.comp.novell,bit.listserv.novell