[Samba] AGAIN netlogon problems

Radio Gong 2000 GmbH & Co. KG [Technik] sascha.bieler at radiogong.de
Wed Mar 24 18:05:23 GMT 2004


OK, seems that it has been just one lucky time and we start again.

I have configured a PDC and two BDCs with the same smb.conf except the 
interface-options of course.

BUT here's the nmblookup -SL output

querying ASSASSIN on 192.168.10.255
192.168.10.2 ASSASSIN<00>
Looking up status of 192.168.10.2
        ASSASSIN        <00> -         B <ACTIVE>
        ASSASSIN        <03> -         B <ACTIVE>
        ASSASSIN        <20> -         B <ACTIVE>
        SNEAKER         <00> - <GROUP> B <ACTIVE>
        SNEAKER         <1c> -         B <ACTIVE>
        SNEAKER         <1e> - <GROUP> B <ACTIVE>

querying LEO on 192.168.10.255
192.168.10.3 LEO<00>
Looking up status of 192.168.10.3
        LEO             <00> -         H <ACTIVE>
        LEO             <03> -         H <ACTIVE>
        LEO             <20> -         H <ACTIVE>
        SNEAKER         <00> - <GROUP> H <ACTIVE>
        SNEAKER         <1c> - <GROUP> H <ACTIVE>
        SNEAKER         <1e> - <GROUP> H <ACTIVE>


Why do they differ? 
Why is <1c> - <GROUP> H <ACTIVE> at Server Leo and on Assassin not? Same 
config! Same samba-version! Same RedHat!

Why is there an 'H' and not a 'B'?

Why do all the Windows clients believe that Leo ist the PDC and logon to him?? 

I do not want to use lmhosts! 

Do you have a solution?

Do not understand anymore, please help!


Here my smb.conf's:

PDC

# Global parameters
[global]
        dos charset = ISO8859-15
        unix charset = ISO8859-15
        display charset = ISO8859-15
        workgroup = SNEAKER
        server string = SoundServer %v
        interfaces = 192.168.10.1/24, 192.168.11.1/24
        bind interfaces only = Yes
        update encrypted = Yes
        server schannel = Yes
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = smbpasswd:/etc/samba/smbpasswd, guest
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        username map = /etc/samba/smbusers
        password level = 8
        username level = 8
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts bcast host
        time server = Yes
        keepalive = 255
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd -r %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine 
-d /dev/null -s /bin/false %u
        shutdown script = /sbin/shutdown
        abort shutdown script = /sbin/shutdown -c
        logon script = logon.bat
        logon path = 
        logon home = 
        domain logons = Yes
        os level = 255
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        wins partners = 192.168.10.2 192.168.10.3
        ldap ssl = no
        add share command = /usr/local/bin/modify_samba_config.pl
        change share command = /usr/local/bin/modify_samba_config.pl
        delete share command = /usr/local/bin/modify_samba_config.pl
        utmp = Yes
        host msdfs = Yes
        template homedir = 
        admin users = root, administrator, sascha
        hosts allow = 192.168.
        printing = cups
        veto files = /*.nws/riched20.dll/*.{*}/*.eml/


BDC1

# Global parameters
[global]
        dos charset = ISO8859-15
        unix charset = ISO8859-15
        display charset = ISO8859-15
        workgroup = SNEAKER
        server string = FileServer %v
        interfaces = 192.168.10.2/24
        bind interfaces only = Yes
        update encrypted = Yes
        server schannel = Yes
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = smbpasswd:/etc/samba/smbpasswd, guest
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        username map = /etc/samba/smbusers
        password level = 8
        username level = 8
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts bcast host
        time server = Yes
        keepalive = 255
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd -r %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine 
-d /dev/null -s /bin/false %u
        shutdown script = /sbin/shutdown
        abort shutdown script = /sbin/shutdown -c
        logon path = 
        logon home = 
        domain logons = Yes
        os level = 32
        preferred master = Yes
        domain master = No
        wins server = 192.168.10.1
        ldap ssl = no
        add share command = /usr/local/bin/modify_samba_config.pl
        change share command = /usr/local/bin/modify_samba_config.pl
        delete share command = /usr/local/bin/modify_samba_config.pl
        utmp = Yes
        host msdfs = Yes
        template homedir = 
        admin users = root, administrator, sascha
        hosts allow = 192.168.
        printing = cups
        veto files = /*.nws/riched20.dll/*.{*}/*.eml/



BDC2

# Global parameters
[global]
        dos charset = ISO8859-15
        unix charset = ISO8859-15
        display charset = ISO8859-15
        workgroup = SNEAKER
        server string = FileServer %v
        interfaces = 192.168.10.3/24
        bind interfaces only = Yes
        update encrypted = Yes
        server schannel = Yes
        map to guest = Bad User
        obey pam restrictions = Yes
        passdb backend = smbpasswd:/etc/samba/smbpasswd, guest
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        username map = /etc/samba/smbusers
        password level = 8
        username level = 8
        unix password sync = Yes
        log level = 2
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 50
        name resolve order = wins lmhosts bcast host
        time server = Yes
        keepalive = 255
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd -r %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/bin/gpasswd -a %u %g
        delete user from group script = /usr/bin/gpasswd -d %u %g
        set primary group script = /usr/sbin/usermod -g '%g' '%u'
        add machine script = /usr/sbin/useradd -g machines -c Machine 
-d /dev/null -s /bin/false %u
        shutdown script = /sbin/shutdown
        abort shutdown script = /sbin/shutdown -c
        logon path = 
        logon home = 
        domain logons = Yes
        os level = 32
        preferred master = Yes
        domain master = No
        wins server = 192.168.10.1
        ldap ssl = no
        add share command = /usr/local/bin/modify_samba_config.pl
        change share command = /usr/local/bin/modify_samba_config.pl
        delete share command = /usr/local/bin/modify_samba_config.pl
        utmp = Yes
        host msdfs = Yes
        template homedir = 
        admin users = root, administrator, sascha
        hosts allow = 192.168.
        printing = cups
        veto files = /*.nws/riched20.dll/*.{*}/*.eml/


More information about the samba mailing list