Hi,
i have samba 3.0.7 on debian.
My logon.bat script is not run when i log in from a win xp sp1 station. It does from a win 98.
When i go on the netlogon share and launch logon.bat i get this error message (translate from french)
"\\fs2\netlogon\logon.bat is not a valid win 32 application" (only with win xp sp1).
I created a bat file locally on win xp sp1 and run it without problem so i think it's on the samba side.
Can someone help me ?
here my smb.conf [global] netbios name = FS2 workgroup = DOME #admin users= @"Domain Admins"
interfaces=192.168.251.9 #host allow= 192.168.251.0/255.255.255.0
os level = 35 security = user encrypt passwords = yes preferred master = Yes domain master = Yes # * * * * * * * * * * * * * * * * * * * * local master = Yes domain logons = Yes #logon path = \\%N\profiles\%u ####logon path = \\%L\profiles\%U logon script=logon.bat logon drive = H: ####logon home = \\%L\home\%U #logon home = \\FS2\%u\winprofile logon home = logon path = \\%L\profiles\%u #************************************* wins support = Yes
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
ldap passwd sync = Yes
#***********************************************************************************
[commun]
Comment = commun aux profs et �tudiants
volume = commun
path = /home/samba/fichiers/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 admin users = @superviseur
[prothee] comment = acc�s � prothee path=/home/samba/fichiers/prothee public = yes writeable = yes read only = no create mask = 0750 guest ok =yes #valid users = "prothee" admin users = @superviseur
[homes] valid users=%S read only=no
[netlogon] comment = Network Logon Service path = /home/netlogon guest ok = yes read only = no writable = yes #share modes = no
[profiles] path = /home/profiles read only = no create mask = 0600 directory mask = 0700 # browseable = No guest ok = Yes profile acls = yes csc policy = disable # next line is a great way to secure the profiles force user = %U # next line allows administrator to access all profiles valid users = %U @"Domain Admins"
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
