[Samba] Win2k/XP doesn't execute logon.bat while logging in to Samba PDC

Mats Hemgren mats at hemgren.com
Fri Mar 19 22:17:27 GMT 2004


Hi all!

I'm going mad about getting my shares mapped to my win2k and winXP machines from my Samba PDC Version 3.0.2 on Debian.

Win-machines doesn't seem to execute logon.bat at all, except when i log on as root. I've set the ownership and chmod 0775 all logon.bat files to eatch user on my network.

Am i just blind or are there something obvious/very wrong with my config?

my smb.conf


#======================= Global Settings =======================

[global]
   panic action = /usr/share/samba/panic-action %d
   netbios name = MIDIAN
   workgroup = hemgren.com
   guest ok = no
   invalid users = bin deamon sys man mail ftp
   admin users = root administratör mats
   hosts allow = 192.168.64.
   domain admin group = root
   domain admin users = mats
   log level = 2
   log file = /var/log/samba/log.%m
   max log size = 1000
   debug timestamp = yes
   logon path /home/%L/profiles/
   logon script = logon.bat
   security = user
   encrypt passwords = true
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   time server = yes
# --- Browser Control Options ---
   local master = yes
.  os level = 65
   domain master = yes
   preferred master = yes
# --- End of Browser Control Options ---
   wins support = yes
   name resolve order = lmhosts host wins bcast
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   domain logons = yes

#======================= Share Definitions =======================

[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   create mask = 0775
   directory mask = 0775

[misc]
   comment = misc
   path = /share/one
   browsable = yes
   writeable = yes
   create mask = 0775

 directory mask = 0775

[anime]
   comment = anime
   path = /share/two
   browsable = yes
   writeable = yes
   create mask = 0775
   directory mask = 0775

[hanna]
   comment = hanna
   path = /home/hanna
   browsable = yes
   writeable = yes
   create mask = 0775
   directory mask = 0775

[www]
   comment = www
   path = /var/www
   browsable = yes
   writable = yes
   create mask = 0775
   directory mask = 0775

[mats]
   comment = mats
   path = /home/mats
   browsable = yes
   writable = yes
   create mask = 0775
   directory mask = 0775

[netlogon]
   comment = Network Logon Service
   path = /home/%L/netlogon
   public = yes
   writable = no
   browsable = yes

[profiles]
   comment = Roaming Profiles Service
   path = /home/profiles
   writable = yes
   create mask = 0700
   directory mask = 0700
   browsable = no
   


More information about the samba mailing list