[Samba] Logon Script Not Working
mallapadi niranjan
niranjan.ashok at gmail.com
Sat Mar 18 07:08:51 GMT 2006
Hi all
I have a samba pdc with openldap (samba 3.0.21c with Openldap 2.3.19).
i have some file servers(samba domain member server) .
using logon script, i map drives to my clients. so that they can access
domain member server share declared through samba,
but when users login, some times, the logon script doesn't run at all, if
the system is rebooted,
it runs, but all the drives are not mapped. why is it so, please guide me.
the following is the logon script
####################################################
@ echo off
net time \\mypdc /set /yes
net use p: /delete /yes
net use p: \\prjsrv01\projects <file://prjsrv01/projects>
net use o: /delete /yes
net use o: \\dbsvr01\newprjs <file://dbsvr01/newprjs>
net use v: /delete /yes
net use v: \\dbsvr01\signals <file://dbsvr01/signals>
net use q: /delete /yes
net use q: \\dbsvr01\quality <file://dbsvr01/quality>
net use h: /delete /yes
net use h: \\dbsvr01\intrmdls <file://dbsvr01/intrmdls>
net use i: /delete /yes
net use i: \\prjsrv01\datalib <file://prjsrv01/datalib>
net use t: /delete /yes
net use t: \\dbsvr01\training <file://dbsvr01/training>
####################################################
The above logon script is called dcdrvs.bat which is in netlogon share
ie netlogon share declared in smb.conf of my PDC.
the dcdrvs.bat file is in
dcdrvs.bat: ASCII text, with CRLF line terminators
i have more than 50 users, whose logon script is dcdrvs.bat, ie for all 50
users i have one logon
script.
Regards
Niranjan
More information about the samba
mailing list