[Samba] pdc loosing domain sometimes

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


Hi,

as far as i can see that in your posted configuration you run to smb servers
and
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
lucky
for a moment, then the other server will become local master again. You
should
disable the local browser = yes on the system, that should not be the local
master.
(Would be the same in a homogene windows network: 2 servers configured as
local
master / PDC will fight each other stetic)

Greets

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
master
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
--------------------------------------------

[global]
        workgroup = WORKGROUP
        netbios name = NETBIOSNAME
        server string = SAMBA PDC Server
        security = user
        passdb backend = ldapsam:"ldap://127.0.0.1 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 127.0.0.1/8 192.168.0.xx/24

        # LDAP Parameters deleted, works very well
--------------------------------------------

smb.conf of the global sektion which is collect sometimes the domain master
of
the network
-------------------------------------------
[global]
        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.

greetings

markus
-- 
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