openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security » Samba Doesn't Work After Change Ip Address

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Network & Security
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Network & Security Any network and / or security related questions should be posted in here.

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 16-May-2008, 18:27
edortizq
Guest
 
Posts: n/a
Default

I have a SLES 10 with SAMBA+LDAP. it was working very well until the change of IP address of the network card, now I can't create new windows workstations, the old IP address is 192.168.1.60 and the new one is 192.168.1.252; the log.nmbd file says this:

[2008/05/16 13:29:39, 0] tdb/tdbutil.c:tdb_log(783)
tdb(/var/lib/samba/wins.tdb): tdb_reopen: open failed (No such file or directory)
[2008/05/16 13:29:39, 0] nmbd/nmbd_winsserver.c:wins_write_database(2335)
wins_write_database: tdb_reopen failed. Error was No such file or directory
[2008/05/16 13:29:47, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2008/05/16 13:29:47, 0] lib/fault.c:fault_report(41)
================================================== =============
[2008/05/16 13:29:47, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 12274 (3.0.24-2.23-1296-SUSE-CODE10)
Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/05/16 13:29:47, 0] lib/fault.c:fault_report(44)

From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/05/16 13:29:47, 0] lib/fault.c:fault_report(45)
================================================== =============
[2008/05/16 13:29:47, 0] lib/util.c:smb_panic(1599)
PANIC (pid 12274): internal error
[2008/05/16 13:29:47, 0] lib/util.c:log_stack_trace(1706)
BACKTRACE: 11 stack frames:
#0 /usr/sbin/nmbd(log_stack_trace+0x2d) [0x8009f3ad]
#1 /usr/sbin/nmbd(smb_panic+0x5d) [0x8009f4dd]
#2 /usr/sbin/nmbd [0x8008af1a]
#3 [0xffffe420]
#4 /usr/sbin/nmbd(find_name_on_wins_subnet+0x80) [0x8003a520]
#5 /usr/sbin/nmbd(find_name_on_subnet+0x208) [0x8002a5d8]
#6 /usr/sbin/nmbd(wins_process_name_release_request+0xe0) [0x80039940]
#7 /usr/sbin/nmbd(run_packet_queue+0x731) [0x8002f4b1]
#8 /usr/sbin/nmbd(main+0x7d5) [0x800202a5]
#9 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7c8d87c]
#10 /usr/sbin/nmbd [0x8001e7d1]
[2008/05/16 13:29:47, 0] lib/fault.c:dump_core(180)
dumping core in /var/log/samba/cores/nmbd
[2008/05/16 13:29:52, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24-2.23-1296-SUSE-CODE10 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2008/05/16 13:29:52, 0] nmbd/asyncdns.c:start_async_dns(151)
started asyncdns process 12320
[2008/05/16 13:29:52, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup CORPXXX on subnet 192.168.1.252
[2008/05/16 13:29:52, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
add_domain_logon_names:
Attempting to become logon server for workgroup CORPXXX on subnet UNICAST_SUBNET
[2008/05/16 13:29:52, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_win s(335)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup CORPXXX, subnet UNICAST_SUBNET.
[2008/05/16 13:29:52, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_win s(349)
become_domain_master_browser_wins: querying WINS server from IP 192.168.1.252 for domain master browser name CORPXXX<1b> on workgroup CORPXXX
[2008/05/16 13:29:52, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_succe ss(233)
become_domain_master_query_success:
There is already a domain master browser at IP 192.168.1.60 for workgroup CORPXXX registered on subnet UNICAST_SUBNET.
[2008/05/16 13:29:52, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup CORPXXX on subnet UNICAST_SUBNET
[2008/05/16 13:29:56, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
become_logon_server_success: Samba is now a logon server for workgroup CORPXXX on subnet 192.168.1.252
[2008/05/16 13:30:15, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****

Samba name server SMBSERVER is now a local master browser for workgroup CORPXXX on subnet 192.168.1.252

*****
[2008/05/16 13:30:36, 0] nmbd/nmbd_browsesync.c:domain_master_node_status_fail(2 48)
domain_master_node_status_fail:
Doing a node status request to the domain master browser
for workgroup CORPXXX at IP 192.168.1.60 failed.
Cannot sync browser lists.


....


And my smb.conf is:



# smb.conf is the main Samba configuration file. You find a full commented

# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the

# samba-doc package is installed.

# Date: 2007-05-16

[global]
workgroup = CORPXXX
printing = cups

printcap name = cups

printcap cache time = 750

cups options = raw

map to guest = Bad User

include = /etc/samba/dhcp.conf

logon path = \\%L\profiles\.msprofile

logon home = \\%L\%U\.9xprofile

logon drive = P:

usershare allow guests = Yes
set primary group script = ldapsmb -m -u

add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
local master = Yes
os level = 65

preferred master = Yes
security = user
idmap backend = ldap:ldap://localhost
ldap admin dn = cn=Administrator,dc=corpxxx

ldap group suffix = ou=group

ldap idmap suffix = ou=Idmap

ldap machine suffix = ou=Machines

ldap passwd sync = Yes
ldap suffix = dc=corpxxx

ldap user suffix = ou=Users

passdb backend = ldapsam:ldap://localhost
wins support = Yes
usershare max shares = 100
netbios name = SMBSERVER

idmap gid = 10000-20000

idmap uid = 10000-20000

[homes]
comment = Home Directories

valid users = %S, %D%w%S

browseable = No

read only = No

inherit acls = Yes

[profiles]
comment = Network Profiles Service

path = %H

read only = No

store dos attributes = Yes

create mask = 0600

directory mask = 0700

[users]
comment = All users

path = /home

read only = No

inherit acls = Yes

veto files = /aquota.user/groups/shares/

[groups]
comment = All groups

path = /home/groups

read only = No

inherit acls = Yes

[printers]
comment = All Printers

path = /var/tmp

printable = Yes

create mask = 0600

browseable = No

[print$]
comment = Printer Drivers

path = /var/lib/samba/drivers

write list = @ntadmin root

force group = ntadmin

create mask = 0664

directory mask = 0775


[netlogon]
comment = Network Logon Service

path = /var/lib/samba/netlogon

guest ok = Yes

browseable = No

write list = root


Please help!!!!
  #2 (permalink)  
Old 17-May-2008, 10:23
Eds
Guest
 
Posts: n/a
Default

Quote:
There is already a domain master browser at IP 192.168.1.60 for workgroup CORPXXX

Doing a node status request to the domain master browser
for workgroup CORPXXX at IP 192.168.1.60 failed.
Cannot sync browser lists.
[/b]
If any machines of the network "saw" the server at that address, it will continue to appear available.
Effectively your server is seeing an echo of itself still existing on the old IP address and is trying to synch to it.

Close the whole network down - bringing up the master server and then the clients should clear it.
  #3 (permalink)  
Old 19-May-2008, 09:46
mdskinner
Guest
 
Posts: n/a
Default

ditto
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2