Lonnie Cumberland
2005-Aug-21  17:58 UTC
[Samba] Samba Stopped Connecting on Me and I don't know why
Hello All,
I am having a problem trying to ger Samba wot work again.  It was 
working a few days ago and now it has stopped. My OpenVPN is working 
just fine  but Samba does not seem to find the names.
I was also trying to set it up so that the users could browse to our 
PeoplesQuest workgroup after which they could login to their account.
-----------------------------------------
[2005/08/21 07:03:26, 0] nmbd/nmbd.c:main(718)
  Netbios nameserver version 3.0.20rc2 started.
  Copyright Andrew Tridgell and the Samba Team 1994-2004
[2005/08/21 07:03:26, 0] nmbd/asyncdns.c:start_async_dns(149)
  started asyncdns process 12126
[2005/08/21 07:03:27, 0] 
nmbd/nmbd_nameregister.c:register_name_response(130)
  register_name_response: WINS server at IP 127.0.0.1 rejected our name 
registration of
PEOPLESQUEST<00> IP 172.16.0.1 with error code 5.
[2005/08/21 07:03:27, 0] nmbd/nmbd_workgroupdb.c:fail_register(228)
  fail_register: Failed to register name PEOPLESQUEST<00> on subnet 
UNICAST_SUBNET.
[2005/08/21 07:03:27, 0] nmbd/nmbd_namelistdb.c:standard_fail_register(283)
  standard_fail_register: Failed to register/refresh name 
PEOPLESQUEST<00> on
subnet UNICAST_SUBNET
[2005/08/21 07:03:54, 0] 
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  Samba name server PEOPLESQUEST is now a local master browser for workgroup
PEOPLESQUEST on subnet 172.16.0.1
  *****
[2005/08/21 07:04:04, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:04:10, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:04:15, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:04:20, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:04:25, 0] 
nmbd/nmbd_browsesync.c:domain_master_node_status_fail(250)
  domain_master_node_status_fail:
  Doing a node status request to the domain master browser
  for workgroup PEOPLESQUEST at IP 172.16.0.1 failed.
  Cannot sync browser lists.
[2005/08/21 07:19:06, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:19:17, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:19:22, 1] 
nmbd/nmbd_incomingrequests.c:process_node_status_request(328)
  process_node_status_request: status request for name PEOPLESQUEST<1b> 
from IP 172.16.0.1
on subnet UNICAST_SUBNET - name not found.
[2005/08/21 07:19:27, 0] 
nmbd/nmbd_browsesync.c:domain_master_node_status_fail(250)
  domain_master_node_status_fail:
  Doing a node status request to the domain master browser
  for workgroup PEOPLESQUEST at IP 172.16.0.1 failed.
  Cannot sync browser lists.
-----------------------------------------------
My smb.conf looks like:
-------------------------------------
[global]
        server string = PeoplesQuest
        workgroup = PEOPLESQUEST
        netbios name = PEOPLESQUEST
        socket address = 172.16.0.1
        socket options = SO_KEEPALIVE SO_REUSEADDR SO_BROADCAST 
TCP_NODELAY IPTOS_LOWDELAY IPTOS$
        name resolve order = lmhosts host bcast
        lm announce = yes
        remote announce = 172.16.255.255
        level2oplocks = True
        local master = yes
        preferred master = yes
#       domain master = yes
        security = user
        encrypt passwords = yes
        mangled names = Yes
        public = yes
        browseable = yes
        browse list = yes
        auto services = yes
        oplocks = True
        os level = 64
        max log size = 500
        log file = /var/log/samba/users/%m.log
        wins proxy = yes
        wins support = yes
        passdb backend = mysql:peoplesquest
        peoplesquest:mysql user = xxxxxxx
        peoplesquest:mysql password = xxxxxxxx
        peoplesquest:mysql host = localhost
        peoplesquest:mysql database = xxxxxx  
        peoplesquest:table = smbusers
        peoplesquest:mysql table = smbusers
        hosts allow = 172.16.0.0/24 127.0.0.1
        hosts deny = ALL
        interfaces = 172.16.0.0/255.255.255.0 127.0.0.1
        bind interfaces only = Yes
[homes]
   comment = PeoplesQuest Members Directories
   public = no
   browseable = yes
   writable = yes
   guest ok = no
   read only = no
-------------------------------------
Any ideas or suggestions would be greatful.
Thanks,
Lonnie
Gerald (Jerry) Carter
2005-Aug-22  14:45 UTC
[Samba] Samba Stopped Connecting on Me and I don't know why
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lonnie Cumberland wrote: | [global] | server string = PeoplesQuest | workgroup = PEOPLESQUEST | netbios name = PEOPLESQUEST Don't set this netbioa name and workgroup to be the same value. I don't know if this is exactly what is causing your problems, but I would clean it up first. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDCeTpIR7qMdg1EfYRAsCQAJ9K4KnLhiPx7tcKE9RqVQVgySsSeQCdEYWj oco1EH5USXeuQrd0fOXqsjs=g9iq -----END PGP SIGNATURE-----