[Samba] netlogon problems
Radio Gong 2000 GmbH & Co. KG [Technik]
sascha.bieler at radiogong.de
Tue Mar 23 15:43:38 GMT 2004
When doing the suggested (import lmhosts), it's always:
NetBIOS-Remotecache-Namentabelle
Name Typ Hostadresse Dauer [Sek.]
-------------------------------------------------------------
SNEAKER <1C> GROUP 192.168.10.1 -1
HUNTER <03> UNIQUE 192.168.10.1 -1
HUNTER <00> UNIQUE 192.168.10.1 -1
HUNTER <20> UNIQUE 192.168.10.1 -1
Also after doing nbtstat -R. But now test-machine is not anymore usable for
this... ;-(
And what do I do know? Why are they confused this little princesses?
Greetings
Sascha
Am Dienstag, 23. März 2004 16:05 schrieben Sie:
> Your windows boxes may be confused. As a test u may want to add an LMHOST
> entry for pdc.
>
> Ipofservergoeshere #PRE #DOM:Yourdomainname
>
> Ex..172.14.23.2 #PRE #DOM:Somedomain
>
> That is a sample of how
>
> -Rudy
When I do an nbtstat -c directly after logon i see:
NetBIOS-Remotecache-Namentabelle
Name Typ Hostadresse Dauer [Sek.]
-------------------------------------------------------------
SNEAKER <1C> GROUP 192.168.10.3 565
Doing the same after turning off the smb-services on leo:
NetBIOS-Remotecache-Namentabelle
Name Typ Hostadresse Dauer [Sek.]
-------------------------------------------------------------
ASSASSIN <00> UNIQUE 192.168.10.2 5
SNEAKER <1C> GROUP 192.168.10.3 472
HUNTER <00> UNIQUE 192.168.10.1 5
I copy via scp the following files:
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/etc/samba/smbpasswd
Maybe is this the problem???
Greetings
Sascha
> -----Original Message-----
> From: Radio Gong 2000 GmbH & Co. KG [Technik]
> [mailto:sascha.bieler at radiogong.de]
> Sent: Tuesday, March 23, 2004 9:50 AM
> To: Fiordilino, Rudy
> Subject: Re: [Samba] netlogon problems
>
>
> nbtstat -R says:
>
> NBT-remotecache-nametable succesfully loaded
>
> nbtstat -c says:
>
> no name in cache
>
> Greetings
>
> Sascha
>
> Am Dienstag, 23. März 2004 15:42 schrieben Sie:
> > Sascha,
> >
> > Can you try an nbtstat -R then do an nbtstat -c on the windows box and
> > paste the output to me?
> >
> > -Rudy
> >
> > -----Original Message-----
> > From: Radio Gong 2000 GmbH & Co. KG [Technik]
> > [mailto:sascha.bieler at radiogong.de]
> > Sent: Tuesday, March 23, 2004 9:31 AM
> > To: samba at lists.samba.org
> > Subject: Re: [Samba] netlogon problems
> >
> >
> > Now I switched to:
> >
> > domain logons = yes
> > os level = 32
> > domain master = no
> > preferred master = no
> > local master = no
> >
> >
> > on both BDCs and it's still the same, when I start smb-services on leo
> > the clients handle logon-requests with him... WHY? He's totally
> > cutted...
> >
> > Greetings
> >
> > Sascha
> >
> >
> > Am Dienstag, 23. März 2004 14:54 schrieb Radio Gong 2000 GmbH & Co. KG
> >
> > [Technik]:
> > > This is how it looks like on a windows box:
> > >
> > > nbtstat -a hunter
> > >
> > > LAN-Verbindung:
> > > Knoten-IP-Adresse: [192.168.10.53] Bereichskennung: []
> > >
> > > NetBIOS-Namentabelle des Remotecomputers
> > >
> > > Name Typ Status
> > > ---------------------------------------------
> > > HUNTER <00> UNIQUE Registriert
> > > HUNTER <03> UNIQUE Registriert
> > > HUNTER <20> UNIQUE Registriert
> > > HUNTER <00> UNIQUE Registriert
> > > HUNTER <03> UNIQUE Registriert
> > > HUNTER <20> UNIQUE Registriert
> > > ..__MSBROWSE__.<01> GROUP Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1B> UNIQUE Registriert
> > > SNEAKER <1C> GROUP Registriert
> > > SNEAKER <1D> UNIQUE Registriert
> > > SNEAKER <1E> GROUP Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1B> UNIQUE Registriert
> > > SNEAKER <1C> GROUP Registriert
> > > SNEAKER <1D> UNIQUE Registriert
> > > SNEAKER <1E> GROUP Registriert
> > >
> > > MAC Adresse = 00-00-00-00-00-00
> > >
> > >
> > > nbtstat -a assassin
> > >
> > > LAN-Verbindung:
> > > Knoten-IP-Adresse: [192.168.10.53] Bereichskennung: []
> > >
> > > NetBIOS-Namentabelle des Remotecomputers
> > >
> > > Name Typ Status
> > > ---------------------------------------------
> > > ASSASSIN <00> UNIQUE Registriert
> > > ASSASSIN <03> UNIQUE Registriert
> > > ASSASSIN <20> UNIQUE Registriert
> > > ASSASSIN <00> UNIQUE Registriert
> > > ASSASSIN <03> UNIQUE Registriert
> > > ASSASSIN <20> UNIQUE Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1C> GROUP Registriert
> > > SNEAKER <1E> GROUP Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1C> UNIQUE Registriert
> > > SNEAKER <1E> GROUP Registriert
> > >
> > > MAC Adresse = 00-00-00-00-00-00
> > >
> > >
> > > nbtstat -a leo
> > >
> > > LAN-Verbindung:
> > > Knoten-IP-Adresse: [192.168.10.53] Bereichskennung: []
> > >
> > > NetBIOS-Namentabelle des Remotecomputers
> > >
> > > Name Typ Status
> > > ---------------------------------------------
> > > LEO <00> UNIQUE Registriert
> > > LEO <03> UNIQUE Registriert
> > > LEO <20> UNIQUE Registriert
> > > LEO <00> UNIQUE Registriert
> > > LEO <03> UNIQUE Registriert
> > > LEO <20> UNIQUE Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1C> GROUP Registriert
> > > SNEAKER <1E> GROUP Registriert
> > > SNEAKER <00> GROUP Registriert
> > > SNEAKER <1C> UNIQUE Registriert
> > > SNEAKER <1E> GROUP Registriert
> > >
> > > MAC Adresse = 00-00-00-00-00-00
> > >
> > >
> > >
> > >
> > > Am Dienstag, 23. März 2004 14:37 schrieb Radio Gong 2000 GmbH & Co.
> > > KG
> > >
> > > [Technik]:
> > > > Just looked up which server is MASTERBROWSER indeed and it seems
> > > > ok...
> > > >
> > > >
> > > > # nmblookup -SR hunter
> > > >
> > > > querying hunter on 192.168.10.255
> > > > 192.168.10.1 hunter<00>
> > > > Looking up status of 192.168.10.1
> > > > HUNTER <00> - H <ACTIVE>
> > > > HUNTER <03> - H <ACTIVE>
> > > > HUNTER <20> - H <ACTIVE>
> > > > ..__MSBROWSE__. <01> - <GROUP> H <ACTIVE>
> > > > SNEAKER <00> - <GROUP> H <ACTIVE>
> > > > SNEAKER <1b> - H <ACTIVE>
> > > > SNEAKER <1c> - <GROUP> H <ACTIVE>
> > > > SNEAKER <1d> - H <ACTIVE>
> > > > SNEAKER <1e> - <GROUP> H <ACTIVE>
> > > >
> > > > # nmblookup -SR assassin
> > > >
> > > > 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>
> > > >
> > > > # nmblookup -SR leo
> > > >
> > > > querying leo on 192.168.10.255
> > > > 192.168.10.3 leo<00>
> > > > Looking up status of 192.168.10.3
> > > > LEO <00> - B <ACTIVE>
> > > > LEO <03> - B <ACTIVE>
> > > > LEO <20> - B <ACTIVE>
> > > > SNEAKER <00> - <GROUP> B <ACTIVE>
> > > > SNEAKER <1c> - B <ACTIVE>
> > > > SNEAKER <1e> - <GROUP> B <ACTIVE>
> > > >
> > > > Am Dienstag, 23. März 2004 09:57 schrieben Sie:
> > > > > Just guessing but check to see if Master Browser is set to NO if
> > > > > one of your other two is set to yes? -Rudy
> > > > >
> > > > > -----Original Message-----
> > > > > From: Radio Gong 2000 GmbH & Co. KG [Technik]
> > > > > [mailto:sascha.bieler at radiogong.de]
> > > > > Sent: Tuesday, March 23, 2004 3:44 AM
> > > > > To: samba at lists.samba.org
> > > > > Subject: [Samba] netlogon problems
> > > > >
> > > > >
> > > > > Hi @ all,
> > > > >
> > > > > I have two samba-servers running perfectly!
> > > > >
> > > > > Now I configured a third machine which provides some backups.
> > > > > Since I brought it up in the network the windows client won't
> > > > > execute the netlogon-scripts... When I turn off samba-services
> > > > > on the backup-machine it works again.
> > > > >
> > > > > Did I miss something??? Maybe you can open my eyes...
> > > > >
> > > > > Best regards
> > > > >
> > > > > Sascha
> > > > >
> > > > >
> > > > > Here my conf-files:
> > > > >
> > > > > PDC
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > >
> > > > > # Global parameters
> > > > > [global]
> > > > > netbios name = Hunter
> > > > > workgroup = SNEAKER
> > > > > server string = SoundServer %v
> > > > > realm = hunter.radiogong.intern
> > > > > admin users = root, administrator, sascha
> > > > > security = user
> > > > > dns proxy = yes
> > > > > wins proxy = Yes
> > > > > wins support = Yes
> > > > > ldap ssl = no
> > > > > socket options = TCP_NODELAY IPTOS_LOWDELAY
> > > > > SO_SNDBUF=8192 SO_RCVBUF=8192
> > > > > keepalive = 255
> > > > > locking = 1
> > > > > kernel oplocks = yes
> > > > > blocking locks = yes
> > > > > oplocks = yes
> > > > > level2 oplocks = yes
> > > > > large readwrite = yes
> > > > > map to guest = Bad User
> > > > > dos charset = ISO8859-15
> > > > > unix charset = ISO8859-15
> > > > > display charset = ISO8859-15
> > > > > printing = cups
> > > > > printcap name = cups
> > > > > utmp = Yes
> > > > > host msdfs = Yes
> > > > >
> > > > > # NETWORK STUFF
> > > > > interfaces = 192.168.10.1/24, 192.168.11.1/24
> > > > > hosts allow = 192.168.
> > > > > bind interfaces only = yes
> > > > > nt acl support = yes
> > > > > client schannel = auto
> > > > > server schannel = yes
> > > > > client signing = auto
> > > > > server signing = no
> > > > >
> > > > > # FEATURE STUFF
> > > > > domain logons = yes
> > > > > os level = 33
> > > > > domain master = yes
> > > > > preferred master = yes
> > > > > local master = yes
> > > > > time server = yes
> > > > >
> > > > > # LOGON STUFF
> > > > > logon script = logon.bat
> > > > > logon drive =
> > > > > logon home =
> > > > > logon path =
> > > > > template homedir =
> > > > >
> > > > > [netlogon]
> > > > > comment = Network Logon Service
> > > > > path = /data/netlogon
> > > > > public = No
> > > > > guest ok = No
> > > > > share modes = No
> > > > >
> > > > > # SHARES --------------------------------
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > BDC
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > > # Global parameters
> > > > > [global]
> > > > > netbios name = Assassin
> > > > > workgroup = SNEAKER
> > > > > server string = FileServer %v
> > > > > realm = assassin.radiogong.intern
> > > > > admin users = root, administrator, sascha
> > > > > security = user
> > > > > dns proxy = yes
> > > > > # wins proxy = Yes
> > > > > # wins support = Yes
> > > > > ldap ssl = no
> > > > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> > > > > SO_RCVBUF=8192
> > > > > keepalive = 255
> > > > > locking = 1
> > > > > kernel oplocks = yes
> > > > > blocking locks = yes
> > > > > oplocks = yes
> > > > > level2 oplocks = yes
> > > > > large readwrite = yes
> > > > > map to guest = Bad User
> > > > > dos charset = ISO8859-15
> > > > > unix charset = ISO8859-15
> > > > > display charset = ISO8859-15
> > > > > printing = cups
> > > > > printcap name = cups
> > > > > utmp = Yes
> > > > > host msdfs = Yes
> > > > >
> > > > > # NETWORK STUFF
> > > > > interfaces = 192.168.10.2/24
> > > > > hosts allow = 192.168.
> > > > > bind interfaces only = yes
> > > > > nt acl support = yes
> > > > > client schannel = auto
> > > > > server schannel = no
> > > > > client signing = auto
> > > > > server signing = no
> > > > >
> > > > > # FEATURE STUFF
> > > > > domain logons = yes
> > > > > os level = 32
> > > > > domain master = no
> > > > > preferred master = yes
> > > > > local master = yes
> > > > > time server = yes
> > > > >
> > > > > # LOGON STUFF
> > > > > # logon script = logon.bat
> > > > > logon drive =
> > > > > logon home =
> > > > > logon path =
> > > > > template homedir =
> > > > >
> > > > > # SHARES --------------------------------
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > BACKUP
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > > # Global parameters
> > > > > [global]
> > > > > netbios name = Leo
> > > > > workgroup = SNEAKER
> > > > > server string = BackUpServer %v
> > > > > realm = leo.radiogong.intern
> > > > > admin users = root, administrator, sascha
> > > > > security = share
> > > > > # Use password server option only with security = server
> > > > > # password server = hunter.radiogong.intern
> > > > > dns proxy = yes
> > > > > # wins proxy = Yes
> > > > > # wins support = Yes
> > > > > ldap ssl = no
> > > > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
> > > > > SO_RCVBUF=8192
> > > > > keepalive = 255
> > > > > locking = 1
> > > > > kernel oplocks = yes
> > > > > blocking locks = yes
> > > > > oplocks = yes
> > > > > level2 oplocks = yes
> > > > > large readwrite = yes
> > > > > map to guest = Bad User
> > > > > dos charset = ISO8859-15
> > > > > unix charset = ISO8859-15
> > > > > display charset = ISO8859-15
> > > > > printing = cups
> > > > > printcap name = cups
> > > > > utmp = Yes
> > > > > host msdfs = Yes
> > > > >
> > > > > # NETWORK STUFF
> > > > > interfaces = 192.168.10.3/24
> > > > > hosts allow = 192.168.
> > > > > bind interfaces only = yes
> > > > > nt acl support = yes
> > > > > # client schannel = auto
> > > > > server schannel = no
> > > > > # client signing = auto
> > > > > # server signing = auto
> > > > >
> > > > > # FEATURE STUFF
> > > > > domain logons = yes
> > > > > os level = 32
> > > > > domain master = no
> > > > > preferred master = yes
> > > > > local master = yes
> > > > > time server = yes
> > > > >
> > > > > # LOGON STUFF
> > > > > # logon script = logon.bat
> > > > > logon drive =
> > > > > logon home =
> > > > > logon path =
> > > > > template homedir =
> > > > >
> > > > > # SHARES --------------------------------
-------------------------------------------------------
--
Mit freundlichen Grüssen
Sascha Bieler
_______________________________________________
Radio Gong 2000 GmbH & Co. KG
Sascha Bieler
Technischer Leiter
Franz-Joseph-Strasse 14
80801 München
Tel.: +49 89 38 166 181
Fax.: +49 89 38 166 180
More information about the samba
mailing list