[Samba] Domain Somtimes Working

mitch mitchellj at gmail.com
Mon Feb 21 23:34:44 GMT 2005


Hiya

Wondering if someone can point me in the right direction. I am trying
to use samba as a PDC, and have 40 windows XP machines log into it.
The problem lies in that sometimes it logs on, and sometimes it fails
with "Windows Cannot Connect to the Domain".

I have set the "always use secured certificates" to disabled already
but no luck.

Any suggestions would be helpful. 


smb.conf file below. 


[global]
        name resolve order = wins lmhosts bcast
        idmap gid = 10000-20000
        preserve case = yes
        strict locking = no
        delete user from group script = /usr/sbin/deluser %u %g
        time server = yes
        passwd program = /usr/bin/passwd %u
        use client driver = Yes
        netbios name = pdc
        idmap uid = 10000-20000
        disable netbios = yes
        logon script = logon.bat
        min passwd length = 5
        workgroup = HUB-GLA
        os level = 60
        socket address = 192.168.254.1
        add machine script = /usr/sbin/useradd -d /dev/null -g 501 -s
/bin/false -M %u
        max log size = 1000
        log file = /var/log/samba/%m.log
        smb passwd file = /etc/samba/smbpasswd
        map acl inherit = yes
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
        add user to group script = /usr/sbin/adduser %u %g
        logon drive = H:
        domain master = Yes
        winbind use default domain = yes
        logon home = \\%L\%U
        template shell = /bin/bash
        wins support = Yes
        server string = Fileserver
        unix password sync = yes
        template homedir = /home/%D/%U
        logon path = \\%L\Profiles\%U
        utmp = yes
        preferred master = yes
        domain logons = Yes
        pam password change = Yes
        winbind cache time = 10

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = yes
share modes = no
write list = local_admins

[profiles]
        profile acls = yes
        browseable = no
        writeable = yes
        path = /home/samba/profiles
        write list = media1
        public = yes
        user = media1

[website]
comment = Web Site
path = /var/www
read only = No
create mask = 0755
guest ok = Yes

[Group]
comment = Group Stuff
path = /home/samba/group
public = no
writable = yes
printable = no
create mask = 0666
directory mask = 0775
# force user = users
force group = users
hide dot files = yes

[homes]
comment = Home Directories
read only = No
browseable = No
hide dot files = yes



Thanks in advance
mitch


-- 
===============================
Windows: Where do you want to go today
Linux: Where do you want to go tomorrow
FreeBSD: Are you guys coming or what!?


More information about the samba mailing list