JB Hewitt
2005-Aug-10 02:40 UTC
[Samba] Samba3 server tries to sync WINS with itself and fails
I have a Samba 3 server that is trying to sync with itself. I have
wins support = yes in the samba configuration file and there are no
other WINS servers on the network.
The IP address of the Samba server is 192.168.10.4 and is trying to
sync with itself but fails...
Here's the error from log.nmbd
[2005/08/10 12:34:21, 0] nmbd/nmbd_nameregister.c:register_name_response(130)
register_name_response: WINS server at IP 192.168.10.4 rejected our
name registration of DOMAIN<1b> IP 192.168.10.4 with error code 5.
[2005/08/10 12:34:21, 0] nmbd/nmbd_become_dmb.c:become_domain_master_fail(70)
become_domain_master_fail: Failed to become a domain master browser
for workgroup DOMAIN on subnet UNICAST_SUBNET. Couldn't register name
DOMAIN<1b>.
[2005/08/10 12:34:21, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283)
standard_fail_register: Failed to register/refresh name DOMAIN<1b>
on subnet UNICAST_SUBNET
Any ideas on how I make it the local WINS server?
--
Regards,
JB Hewitt
Business: http://www.stcpl.com.au
Blog: http://blade.lansmash.com
Best LAN ever: http://www.lansmash.com
How to ask a ?: http://www.catb.org/~esr/faqs/smart-questions.html
JB Hewitt
2005-Aug-10 02:49 UTC
[Samba] Samba3 server tries to sync WINS with itself and fails
No I don't have the the 'wins server=' in my configuration, and
here's
a dump of my config.
[global]
unix charset = ISO8859-1
workgroup = DOMAIN
server string = Brisbanq HQ
passdb backend = ldapsam:ldap://localhost
pam password change = Yes
passwd program = /usr/bin/passwd %u
unix password sync = Yes
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
announce version = 4.8
time server = Yes
printcap name = cups
add machine script = "/usr/sbin/smbldap-useradd -w %u"
logon script = logon.bat
logon path = \\%L\%U\profile
logon drive = p:
logon home = \\%L\%U
domain logons = Yes
os level = 60
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap admin dn = cn=admin,dc=soapbox
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap,ou=Systems
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=soapbox
ldap user suffix = ou=People
create mask = 0660
directory mask = 0775
hosts allow = 192.168., 127., 10.0.0.
use sendfile = Yes
printing = cups
print command =
lpq command = %p
lprm command =
case sensitive = No
short preserve case = No
veto oplock files = /*.QBW/*.bat/*.mdb/
[share]
comment = Shared Directory
path = /srv
read only = No
[companyshared]
comment = Brisbane share
path = /srv/companyshared
read only = No
[homes]
comment = Home Directory for '%u'
read only = No
browseable = No
[home]
path = /home
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
browseable = No
[printers]
comment = All printers
path = /var/spool/samba
printer admin = root, @ntadmins
guest ok = Yes
printable = Yes
browseable = No
[PRINT$]
path = /home/samba/printers
write list = @wheel, root, administrator, rick, pam
create mask = 0644
directory mask = 0755
guest ok = Yes
On 8/10/05, Jason Balicki <kodak@frontierhomemortgage.com>
wrote:> JB Hewitt <> wrote:
> > I have a Samba 3 server that is trying to sync with itself. I have
> > wins support = yes in the samba configuration file and there are no
> > other WINS servers on the network.
> >
> > The IP address of the Samba server is 192.168.10.4 and is trying to
> > sync with itself but fails...
>
> You don't have "wins server = <whatever>" in there do
you?
> That might cause a problem like this. Actually, you should
> post your smb.conf to the list too.
>
> --J(K)
>
>
--
Regards,
JB Hewitt
Business: http://www.stcpl.com.au
Blog: http://blade.lansmash.com
Best LAN ever: http://www.lansmash.com
How to ask a ?: http://www.catb.org/~esr/faqs/smart-questions.html
JB Hewitt
2005-Aug-14 00:31 UTC
[Samba] Re: Samba3 server tries to sync WINS with itself and fails
Just to let everyone I fixed my problem. I deleted the wins.dat and let samba create a new one which effectively removed samba's history of the wins machines. Therefore it didn't have a ghost image of the previous servers. On 8/10/05, JB Hewitt <johnblade@gmail.com> wrote:> I have a Samba 3 server that is trying to sync with itself. I have > wins support = yes in the samba configuration file and there are no > other WINS servers on the network. > > The IP address of the Samba server is 192.168.10.4 and is trying to > sync with itself but fails... > > Here's the error from log.nmbd > > [2005/08/10 12:34:21, 0] nmbd/nmbd_nameregister.c:register_name_response(130) > register_name_response: WINS server at IP 192.168.10.4 rejected our > name registration of DOMAIN<1b> IP 192.168.10.4 with error code 5. > [2005/08/10 12:34:21, 0] nmbd/nmbd_become_dmb.c:become_domain_master_fail(70) > become_domain_master_fail: Failed to become a domain master browser > for workgroup DOMAIN on subnet UNICAST_SUBNET. Couldn't register name > DOMAIN<1b>. > [2005/08/10 12:34:21, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283) > standard_fail_register: Failed to register/refresh name DOMAIN<1b> > on subnet UNICAST_SUBNET > > Any ideas on how I make it the local WINS server? > > -- > Regards, > JB Hewitt > Business: http://www.stcpl.com.au > Blog: http://blade.lansmash.com > Best LAN ever: http://www.lansmash.com > How to ask a ?: http://www.catb.org/~esr/faqs/smart-questions.html >-- Regards, JB Hewitt Business: http://www.stcpl.com.au Blog: http://blade.lansmash.com Best LAN ever: http://www.lansmash.com How to ask a ?: http://www.catb.org/~esr/faqs/smart-questions.html