Logon script

Richard Furda rfurda at wgss.net
Mon Feb 2 01:58:44 GMT 1998


Hello,

I am having a little problem with executing logon scripts on Win95 clients,
logging into Samba Netlogon service.
When a user logges in, a MS-DOS prompt shows up and quicky disappears. Then
I get 
"Please Wait While your logon script executes". It hangs at that point. A
user has to hit cancel to start his win95 session.
I have done the logon script in MS-DOS editor. I have the identical copy of
the batch file on the Win95 machine. If, 
I run the logon.bat script in ms-dos prompt manually, it all executes
successfully.

My [netlogon] share looks like:

[netlogon]   
comment = Samba Network Logon Service
path = /usr/local/samba/netlogon
browseable = no  
guest ok = no
writeable = no 

In [global] I have:

domain logons = yes
logon script = LOGON.BAT

therefor, the complete path of the LOGON.BAT is:
/usr/local/samba/netlogon/LOGON.BAT

The permission is:
-rwxr-xr-x  1 root  wheel  340 Feb  1 17:16
/usr/local/samba/netlogon/LOGON.BAT


I am using Samba Version 1.9.18p2.

Thanks in advance,
Richard Furda
rfurda at wgss.net



More information about the samba mailing list