Samba: Intermittant Logon Failure

From: Charles Kendricks (cktech_at_charter.net)
Date: 07/02/04


Date: 2 Jul 2004 08:32:26 -0700

I am running Samba 3.0.4 on a RH 9 Linux server with several laptop
clients running XP. The problems that I am seeing is that I get a
logon error about 50% of the time when trying to connect to a user
account from the laptops. I have created accounts for the laptops
utilizing the 'smbpasswd -a -m <laptop> and am sure that there exists
a uxix account for the users. smbclient //<server>/homes -U <user>
from the server or from another linux system never fails. I am very
new to Samba, so any and all levels of help would be appreciated.
Below is listed my /etc/samba/smb.conf file:

# Global parameters
[global]
        workgroup = TAS
        netbios name = ARWEN
        server string = "Welcome To The Accelerated School"
        encrypt passwords = Yes
        logon path = \\%L\profiles\%u
        logon drive = H:
        logon home = \\%N\homes\%u
        domain logons = Yes
        os level = 64
        preferred master = Yes
        domain master = Yes
        logon script = \\%L\netlogon\logon.bat
        nis homedir = yes
        homedir map = amd.home
        ;logon script = \\arwen\usr\local\netlogon\logon.bat
 
;security and logging settings
 
        security = user
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        log file = /var/log/samba/log.%m
        log level = 2
        max log size = 50
        hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
        ;interfaces = eth1 192.168.1.0/255.255.255.0 127.0.0.1
 
[homes]
        comment = Home Directories
        path = /home/%u
        read only = No
        browseable = No
 
[netlogon]
        path = /usr/local/netlogon
        share modes = no
        create mode = 0644
        directory mode = 0755
        write list = root ckendricks
 
[profiles]
        path = /usr/local/smb/ntprofile
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = yes