[Samba] pdc loosing domain sometimes

schönfeld / in-medias-res schoenfeld at in-medias-res.com
Mon Jun 19 08:45:57 GMT 2006


as far as i can see that in your posted configuration you run to smb servers
as your configuration file states: Both are configured to be local master.
In that
case each server will regular try to become the master browser, will be
for a moment, then the other server will become local master again. You
disable the local browser = yes on the system, that should not be the local
(Would be the same in a homogene windows network: 2 servers configured as
master / PDC will fight each other stetic)


Patrick Schönfeld
in medias res Gesellschaft für Kommunikationstechnlogien mbH
Dahlenerstr. 570
D-41239 Mönchengladbach

tel. +49 (0) 2166 - 9999 685
fax. +49 (0) 2166 - 9999 800

----- Original Message ----- 
From: Markus Markert
To: samba at lists.samba.org
Sent: Monday, June 19, 2006 10:31 AM
Subject: [Samba] pdc loosing domain sometimes

hi list,

i have a strange problem. sometimes my samba pdc is loosing the domain
and a linux workstation with active samba on it gets the domain master
status. maybee someone of you had the same problem or can help me.

the smb.conf global section of the pdc server

        workgroup = WORKGROUP
        netbios name = NETBIOSNAME
        server string = SAMBA PDC Server
        security = user
        passdb backend = ldapsam:"ldap:// ldap://192.168.0.xx"
        log level = 1
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts hosts bcast
        time server = Yes
        printcap name = CUPS
        printing = cups
        printer admin = samba @"MY USER GROUP"
        use sendfile = no
        show add printer wizard = yes
        encrypt passwords = true
        Dos charset = 850
        Unix charset = ISO8859-1
        local master = yes
        os level = 255
        domain master = Yes
        prefered master = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        domain logons = yes
        logon path = \\%L\profiles\%U
        logon drive = U:
        logon home = \\%L\%U
        logon script = %U.bat
        wins support = Yes
        bind interfaces only = true
        interfaces = eth0 192.168.0.xx/24

        # LDAP Parameters deleted, works very well

smb.conf of the global sektion which is collect sometimes the domain master
the network
        workgroup = WORKGROUP
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        printer admin = samba @"MY USER GROUP"
        username map = /etc/samba/smbusers
        map to guest = Bad User
        include = /etc/samba/dhcp.conf
        security = user
        local master = yes
        os level = 1

do you think it could be better if i write in the smb.conf`s of the clients,
domain logons=no and domain master=no, can help me??

hope that someone can help me.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list