Hi all, Everything was working fine with my samba server, until two days ago, when the clients started to say "domain is not available" when we tried to login. Looking at nmbd.log I found some errors but have no idea how to fix them...It has worked perfectly for almost two years... Does anyone have an idea? Thanks, Lo•c Etienne ------------------------------------ Logfile: [2006/04/27 09:02:26, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server AGEPOLY is now a local master browser for workgroup AGEPOLY on subnet 128.178.29.62 ***** [2006/04/27 09:02:47, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name AGEPOLY<1b> for the workgroup AGEPOLY. Unable to sync browse lists in this workgroup. [2006/04/27 09:07:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327) become_domain_master_browser_wins: Attempting to become domain master browser on workgroup AGEPOLY, subnet UNICAST_SUBNET.[2006/04/27 09:07:16, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341) become_domain_master_browser_wins: querying WINS server from IP 0.0.0.0 for domain master browser name AGEPOLY<1b> on workgroup AGEPOLY[2006/04/27 09:07:37, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_fail(252) become_domain_master_query_fail: Error 0 returned when querying WINS server for name AGEPOLY<1b>.------------------------------------ smb.conf: # Global parameters [global] log file = /var/log/samba/%m.log printer = ageplp4 load printers = no passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 wins server = 128.178.1.44 logon drive = U: deadtime = 60 username map = /etc/samba/smbusers domain master = Yes encrypt passwords = yes time server = Yes show add printer wizard = No public = yes passwd program = /usr/bin/passwd %u logon home = \\agepoly\commissions dns proxy = No netbios name = AGEPOLY writeable = yes server string = AGEPoly Server logon script = logon.bat %U.bat unix password sync = yes logon path = \\agepoly\profile\%u workgroup = AGEPOLY os level = 64 add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u max log size = 1000 domain logons = Yes security = user idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [homes] browseable = No comment = Home Directories writable = yes create mode = 0700 directory mode = 0700 [netlogon] browseable = no comment = Network Logon Service path = /home/netlogon write list = Administrateur Administrator [profile] path = /home/samba/profiles read only = No create mask = 0700 directory mask = 0700 profile acls = Yes browseable = No [commissions] comment = commissions path = /commissions read only = No create mask = 0775 directory mask = 0775 [www] comment = Pages Web AGEPoly path = /commissions/www read only = No create mask = 0775 directory mask = 0775 [print$] browseable = yes comment = drivers pour imprimantes writeable = no write list = root path = /etc/samba/printer_drivers [iR5800C] browsable = yes printer = ageplp1.epfl.ch comment = iR5800C en ME C1 398 ( AGEPoly) printable = yes min print space = 2000 path = /var/spool/samba use client driver = yes
Lo?c Etienne wrote on 04/27/06 11:18 (US date format):> Hi all, > > Everything was working fine with my samba server, until two days ago, > when the clients started to say "domain is not available" when we tried to > login. > Looking at nmbd.log I found some errors but have no idea how to fix > them...It has worked perfectly for almost two years... > > Does anyone have an idea?<snip> Try adding the following to your global section: *** START *** wins support = yes name resolve order = wins lmhosts host bcast *** END ***
Loc Etienne wrote Everything was working fine with my samba server, until two days ago, when the clients started to say "domain is not available" when we tried to login. Looking at nmbd.log I found some errors but have no idea how to fix them...It has worked perfectly for almost two years... Does anyone have an idea? Thanks, Lo?c Etienne I find the following works. Stop samba Delete Wins.dat and browse.dat restart samba This usually happens on our fixed IP address network when a somebody appropriates the Ip address of a machine which is down. So if you are in a educational institute, copy the corrupted files, figure out which student did it. you know the rest. regards' dilip
Here's my wild guess: I suspect the key to solving your problem will be identifying what changed. If it's really true that it worked for two years and that no software was reconfigured, then the prime suspect is hardware. I think one way to produce these log messages is if the Network Interface Card on the Primary Domain Controller went bust. Can you control that machine directly and check out its network connectivity (NIC diagnostics, `ping`, web browse, etc.)? Or what about the network thingy (probably a "hub") that it plugs into. Do other devices wired to the same box still work right? Is there evidence the whole box has become isolated from the main network (probably by a cable jiggled loose)? good luck!> Hi all, > > Everything was working fine with my samba server, until two days ago, > when the clients started to say "domain is not available" when we tried > to > login. > Looking at nmbd.log I found some errors but have no idea how to fix > them...It has worked perfectly for almost two years... > > Does anyone have an idea? > > Thanks, > Lo?c Etienne > > ------------------------------------ > Logfile: > [2006/04/27 09:02:26, 0] > nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** > > Samba name server AGEPOLY is now a local master browser for workgroup > AGEPOLY on subnet 128.178.29.62 > ***** > [2006/04/27 09:02:47, 0] > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) > find_domain_master_name_query_fail: > Unable to find the Domain Master Browser name AGEPOLY<1b> for the > workgroup AGEPOLY. Unable to sync browse lists in this workgroup. > [2006/04/27 09:07:16, 0] > nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327) > become_domain_master_browser_wins: > Attempting to become domain master browser on workgroup AGEPOLY, > subnet UNICAST_SUBNET.[2006/04/27 09:07:16, 0] >-- Chuck Kollars - principal Kollars Informatics chuck@ckollars.org http://www.theatlantic.com/doc/print/200512/iraq-withdrawal PO Box 776 Ipswich MA 01938-0776 +1-978-412-0017 (voice&FAX)