Samba election incompatibilites? (MS KB article Q168821)

Andrew Pimlott andrew at pimlott.ne.mediaone.net
Sun Dec 31 01:33:43 GMT 2000


I read the Microsoft knowledge base article at
http://support.microsoft.com/support/kb/articles/Q168/8/21.ASP ,
which claims that Samba's method of conducting browser elections is
"incompatible" with Windows.  There was some discussion of this on
this list, with one message
(http://samba.cadcamlab.org/lists/samba/Mar2000/00138.html)
apparently acknowledge a flaw in samba.  However, I can't find any
indication of whether it has been addressed.

I ask because I am running Samba 2.0.7 (from the Debian GNU/Linux
2.2 package, without much customization), and recently came to work
to find that my computer had been unplugged from the network,
because it had refused to give up "master browser" status (having
obtained it during a reboot of an NT machine).  The global part of
my configuration is appended, but most relevant settings are at
their defaults.  I believe the Windows side of our network is a
pretty standard NT 4.0-based installation.

I was very surprised to find that the samba defaults could create
this (rather serious--apparently, browsing was completely broken on
many windows clients) problem.  Can someone give me more
information?

Email Cc: appreciated.

Thanks,
Andrew

To be unambiguous, let me give you the output of testparm:

[global]
        coding system = 
        client code page = 850
        workgroup = MYCO
        netbios name = 
        netbios aliases = 
        netbios scope = 
        server string = %h server (Samba %v)
        interfaces = 
        bind interfaces only = No
        security = USER
        encrypt passwords = Yes
        update encrypted = No
        allow trusted domains = Yes
        hosts equiv = 
        min password length = 5
        map to guest = Never
        null passwords = No
        password server = 
        smb passwd file = /etc/samba/smbpasswd
        root directory = /
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
        passwd chat debug = No
        username map = 
        password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        use rhosts = No
        debug level = 2
        syslog = 0
        syslog only = No
        log file = 
        max log size = 1000
        debug timestamp = Yes
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        protocol = NT1
        read bmpx = No
        read raw = Yes
        write raw = Yes
        nt smb support = Yes
        nt pipe support = Yes
        nt acl support = Yes
        announce version = 4.2
        announce as = NT
        max mux = 50
        max xmit = 65535
        name resolve order = lmhosts host wins bcast
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = No
        change notify timeout = 60
        deadtime = 0
        getwd cache = Yes
        keepalive = 300
        lpq cache time = 10
        max disk size = 0
        max open files = 10000
        read prediction = No
        read size = 16384
        shared mem size = 1048576
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        stat cache size = 50
        load printers = Yes
        printcap name = /etc/printcap
        printer driver file = /etc/samba/printers.def
        strip dot = No
        character set = 
        mangled stack = 50
        stat cache = Yes
        domain groups = 
        domain admin group = 
        domain guest group = 
        domain admin users = 
        domain guest users = 
        machine password timeout = 604800
        add user script = 
        delete user script = 
        logon script = 
        logon path = \\%N\%U\profile
        logon drive = 
        logon home = \\%N\%U
        domain logons = No
        os level = 20
        lm announce = Auto
        lm interval = 60
        preferred master = No
        local master = Yes
        domain master = No
        browse list = Yes
        dns proxy = No
        wins proxy = No
        wins server = 
        wins support = No
        wins hook = 
        kernel oplocks = Yes
        ole locking compatibility = Yes
        oplock break wait time = 10
        smbrun = /usr/bin/smbrun
        config file = 
        auto services = 
        lock directory = /var/samba
        utmp directory = 
        wtmp directory = 
        utmp hostname = %m
        utmp consolidate = No
        default service = 
        message command = 
        dfree command = 
        valid chars = 
        remote announce = 
        remote browse sync = 
        socket address = 0.0.0.0
        homedir map = 
        time offset = 0
        unix realname = No
        NIS homedir = No
        source environment = 
        panic action = 
        comment = 
        path = 
        revalidate = No
        username = 
        guest account = nobody
        invalid users = root
        valid users = 
        admin users = 
        read list = 
        write list = 
        force user = 
        force group = 
        writeable = No
        create mask = 0744
        force create mode = 00
        security mask = -1
        force security mode = -1
        directory mask = 0755
        force directory mode = 00
        directory security mask = -1
        force directory security mode = -1
        inherit permissions = No
        guest only = No
        guest ok = No
        only user = No
        hosts allow = 
        hosts deny = 
        status = Yes
        max connections = 0
        min print space = 0
        strict sync = No
        sync always = No
        write cache size = 0
        printable = No
        postscript = No
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        lppause command = 
        lpresume command = 
        queuepause command = 
        queueresume command = 
        printer = 
        printer driver = NULL
        printer driver location = 
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangle case = No
        mangling char = ~
        hide dot files = Yes
        delete veto files = No
        veto files = 
        hide files = 
        veto oplock files = 
        map system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        mangled map = 
        browseable = Yes
        blocking locks = Yes
        fake oplocks = No
        locking = Yes
        utmp = No
        oplocks = Yes
        level2 oplocks = No
        oplock contention limit = 2
        strict locking = No
        share modes = Yes
        copy = 
        include = 
        preexec = 
        preexec close = No
        postexec = 
        root preexec = 
        root preexec close = No
        root postexec = 
        available = Yes
        volume = 
        fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        dont descend = 
        magic script = 
        magic output = 
        delete readonly = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No





More information about the samba mailing list