[Samba] Netlogon script executes randomly

Frode Lillerud frode at lillerud.no
Fri Mar 26 09:09:57 GMT 2004



|-----Original Message-----
|From: samba-bounces+list=nolteinfosysteme.de at lists.samba.org
[mailto:samba-
|bounces+list=nolteinfosysteme.de at lists.samba.org] On Behalf Of Gémes
Géza
|Sent: 26. mars 2004 00:24
|To: Frode Lillerud
|Cc: samba at lists.samba.org
|Subject: Re: [Samba] Netlogon script executes randomly
|
|-----BEGIN PGP SIGNED MESSAGE-----
|Hash: SHA1
|
|Gerald (Jerry) Carter írta:
|| Frode Lillerud wrote:
|| | Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
|| |
|| | I use a Windows XP Pro laptop to log on wirelessly, and things
seems to
|| | be working fine except with the logon.bat script.
|| |
|| | I have added "logon script = logon.bat" and the netlogon share in
my
|| | smb.conf.
|| |
|| | The logon.bat has executed a few times (perhaps 10% of
|| | the times), but there is obviously a problem. The logon.bat
|| | is created with DOS style CR/LF.
||
|| general this kind of behavior would happen if you were
|| using cached credentials to logon.  You might want to
|| disable caching of logon credentials temporaily so help
|| track down the problem.  flakey wireless maybe ?
||
||
|I would also recomend to check if you can successfully run the logon
|script from command prompt. I've had once problems with a Win2k box
|which after installing a program which filled in in the path things
like
|C:\PROGRA~1\......, failed to find the net command.
|

I've tried logging in and run: net use k: \\sauroman\netlogon
and it seems to be working just fine. The drive is mapped, and I can run
the logon.bat manually without any problems.

Occationally I also see that C:\Windows\System32\cmd.exe is running, but
just shuts down again. This is not the logon-script! I've added a pause
statement to it to keep it from closing.

I'm also trying to test this from my desktop computer, to see if the
wireless connection has any bad sideeffects, but I have thus far been
unable to create a new sambauser. See separate mail to sambalist called
"XP gives Access denied for domain logon".

|Cheers
|
|Geza
|-----BEGIN PGP SIGNATURE-----
|Version: GnuPG v1.2.3 (GNU/Linux)
|Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|
|iD8DBQFAY2od/PxuIn+i1pIRAloXAJ9Jf51+hCQVdLRdln1/onUWjLOBNACdEd0e
|DET5fNRGwqKvjjKDjMBDG1I=
|=UNjU
|-----END PGP SIGNATURE-----
|
|--
|To unsubscribe from this list go to the following URL and read the
|instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list