Hi,
i have samba 3.0.7 and set a logon.bat script in /home/samba/netlogon
But when i log in my domaine (from a windows xp sp1 machine) "Domi"
the
script isn't run, no error message at log in
Just going on the share "netlogon" i got the sand-hour and nothing
more
happens
What's wrong ?
Thanks for any help
*here my smb.conf *
[global]
# Do something sensible when Samba crashes: mail the admin a backtrace
netbios name = FS1
workgroup = DOMI
security = user
encrypt passwords = yes
#admin users= @"Domain Admins"
interfaces=192.168.251.8
#host allow= 192.168.251.0/255.255.255.0
#domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
domain logons = Yes
logon script=logon.bat
log file = /var/log/samba/%m.log
log level = 5
max log size = 5000
add machine script = /usr/local/sbin/smbldap-useradd -w %u
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
#add user script = /usr/local/sbin/smbldap-useradd -m "%u"
#add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
#add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u"
"%g"
#delete user from group script = /usr/local/sbin/smbldap-groupmod -x
"%u" "%g"
#set primary group script = /usr/local/sbin/smbldap-usermod -g "%g"
"%u"
#delete user script = /usr/local/sbin/smbldap-userdel "%u"
#delete group script = /usr/local/sbin/smbldap-groupdel "%g"
obey pam restrictions = Yes
#********************** Pour LDAP
*************************************************
passdb backend = ldapsam:ldap://127.0.0.1/
ldap suffix = dc=alsace,dc=iufm,dc=fr
ldap admin dn = "cn=admin,dc=alsace,dc=iufm,dc=fr"
ldap ssl=no
ldap user suffix = ou=People
ldap machine suffix = ou=Computers
ldap group suffix = ou=Groups
#ldap idmap suffix = ou=Users
# d'apr?s http://cj.tronquet.free.fr/doc/samba3ldap.php et idealx p.17
(smbtools)
ldap passwd sync = Yes
#***********************************************************************************
[commun]
comment = commun aux profs et ?tudiants
volume = commun
path = /home/samba/commun
guest ok=yes
read only = no
writeable = yes
#pas de partage visible dans vosinage r?seau
browseable = no
[compta]
comment = fichiers du service comptable
path = /home/samba/fichiers/compta
public = yes
writeable = yes
read only = no
create mask = 0750
valid users = @compta
# le groupe superviseur a tous les droits sur ce partage
admin users = @superviseur
[prothee]
comment = acc?s ? prothee
path=/home/samba/prothee
public = yes
writeable = yes
read only = no
create mask = 0750
valid users = "prothee"
admin users = @superviseur
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no
*here my logon..bat file * (i did as simple as possible..)
net use j: \\FS1\netlogon
net use k: \\FS1\commun