-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14-Jun-2002/08:57 +0800, Edward Dekkers <[EMAIL PROTECTED]> wrote: >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
This may not help. The NT/XP boxes do not seem to run the logon script at all. So generating a custom script will not change anything. Make sure the batch file is in DOS format. If eding using vi, use :set ff=dos :wq Tony - -- Anthony E. Greene <mailto:[EMAIL PROTECTED]> OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/> Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <mailto:[EMAIL PROTECTED]> 0x6C94239D iD8DBQE9CogppCpg3WyUI50RApqPAJ0WcjrhjsCUNsByavMRlyKReOtB9gCdGVvq 1yUvjujmliWrt6l8QHjU7O0= =0wfx -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list