[Samba] Help ! Logon script doesn't work on XP
Thomas Rankin
tom at sanguinarius.co.uk
Fri Apr 9 10:25:44 GMT 2004
On Fri, 9 Apr 2004, M. Vancl wrote:
> Hi,
>
> I have very strange problem:
> I had created logon script (bat file dynamically generated by root peexec)
> and tested it successfully on Win98 workstation.
> Now I'm testing it on XP wkst., but the same (created by the same method)
> script is during logon not executed.
> What is absolutely mysterious for me ? The script is really read by
> workstation durin logon - I saw it in network traffic (caught by tcpdump and
> displayed by ethereal).
> Here is copy of current script (of course - every line o file ends with
> \r\n):
> --- snip ---
> @echo off
> set CLIENT=prog01t
> set USER=p01861
> set SERVER=sambaii
> set SMBPID=24631
> set ARCH=WinXP
> copy /b z:\logon.bat %TEMP%\logon.bat
> %TEMP%\logon.bat
> --- snip ---
> After logon there is no file %TEMP%\logon.bat.
> Next, when I manually do "net use z: \\sambaii\netlogon" and execute my
> logon script from there, everything is done by my wishes...
>
> Does have anybody some idea ?
>
Are you sure the XP client is logging onto the NT domain?
XP can just memorise network connections etc. and appear to be logging on.
More information about the samba
mailing list