[Samba] logon script running for xp clients but not 2000 clients

Mark Reidenbach m.reidenbach at everytruckjob.com
Thu Sep 2 02:40:39 GMT 2004


I've run across a problem where the windows 2000 clients do not run the 
netlogon script when they log in to my domain although the windows xp 
sp2 clients run the script fine.  If I run \\server\netlogon\logon.cmd 
from the run box once the 2000 machines are logged in, it runs the 
script and maps drives fine.  The other strange thing is that on the 
affected machines, \\server\homes maps to what is actually the netlogon 
share (the logon.cmd file is there).

Any help would be greatly appreciated.  Would this problem show up in 
any of the log files?  I'm running samba 3.0.6 as a PDC and here  my 
smb.conf file:

[global]
        workgroup = SAMBA
        netbios name = SERVER
        passdb backend = tdbsam
        restrict anonymous = 1
        lanman auth = No
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        disable netbios = Yes
        log file = /var/log/samba/%m.log
        log level = 3
        min protocol = NT1
        name resolve order = host bcast
        server signing = required
        add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s 
/bin/false -M %u
        logon script = logon.cmd
        logon drive = z:
        logon path =
        logon home = \\server\%U
        domain logons = Yes
        os level = 50
        lm announce = No
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = No
        ldap ssl = no
        hosts allow = 127.0.0.1, 192.168.13.0/255.255.255.0, 
192.168.2.0/255.255.255.0, 192.168.100.0/255.255.255.0
        hosts deny = 0.0.0.0/0.0.0.0

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        guest ok = Yes
        browseable = No

[homes]
        comment = Home Directories
        path = /home/samba/homes/%u
        read only = No
        create mask = 0700

[printers]
        comment = All Printers
        path = /tmp
        read only = No
        create mask = 0777
        guest ok = Yes
        printable = Yes
        browseable = No

[public]
        comment = Public Files
        path = /home/samba/public
        read only = No
        create mask = 0777
        directory mask = 0777

[profiles]
        comment = Profiles
        path = /home/samba/profiles/%u
        read only = No
        browseable = No

[websites]
        comment = Websites
        path = /home/vhost
        force user = backup
        force group = web
        read only = No
        create mask = 0775
        force create mode = 0775
        security mask = 00
        directory mask = 0775
        force directory mode = 0775
        directory security mask = 00



More information about the samba mailing list