set up a small test environment containing (1) Linux 7.3 computer, (1) WinXP
computer and (1) WinNT computer. I brought the linux computer up as a PDC
running Samba 2.2.3a. I was able to successfully add the WinXP and the WinNT
computers to the linux domain. I'd like for the WinXP and the WinNT
computers to run a login script when authenticating. I created the
[netlogon] share and created a simple .bat file mapping a drive letter (ex.
Net use s: \\mcls1f01\share). But when the WinXP or the WinNT computers
authenticate to the domain, they are not running the login script. In the
[global] section I have "login script = /home/netlogon/login.bat".
In the [netlogon] share I have " logon path = /home/netlogon".
Can anyone help me out on what I'm missing? My whole issue is trying to get
the WinXP and the WinNT computer to run a login script when they
authenticate. But for whatever reason, they are not running the script.
Thanks for any help.

---

Firstly, please do not post in HTML on mailing lists.

See the attached perl script and add the following line to [netlogon]
exec = logon-script

You can modify the perl script to do anyting you want for any user  -for
example IF user part of ADMIN group, map an ADMIN share.

Much more flexible than writing seperate .BAT files.

Regards,
Ed.

Attachment: logon-script
Description: Binary data

Reply via email to