Yeah, it is possible using only one logon script. But why not use 3? Anyway, this is probably what you are looking for... Put this in the logon script:
if "%USERNAME%" == "Sysadmin" goto _sysadmin_map if "%USERNAME%" == "Deb" goto _sysadmin_map if "%USERNAME%" == "Nichole" goto _Nichole_map :_sysadmin_map net use U: \\server\share net use V: \\server\share2 net use W: \\server\share3 :_Nichole_map net use U: \\server\share net use V: \\server\share2 Jim > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of > Kevin Smith > Sent: Tuesday, March 25, 2003 9:19 AM > To: Samba > Subject: [Samba] SAMBA AND LOGON SCRIPTS. > > > Is there a was in Logon script to figure out what user is > logging on and > only map those drives to those users? > For instance I have 3 users Sysadmin, Deb, and Nicole, With > Public, ~ , and > Music share. > What I want is Sysadmin gets access to all 3, Deb Gets access > to all 3, and > Nicole only gets access to Public and ~. And Id like to do > this with only > one logon script. I know, they are actually MS-DOS .bat > files, but I have > not found much info left on batch programming. > > TIA > Kev > > OutBound Mail Scanned by Mcafee Web Appliance.
OutBound Mail Scanned by Mcafee Web Appliance.
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
