[Samba-TNG] Diagnosis steps fail (repost)

Jamie ffolliott jffolliott at home.com
Wed Feb 16 05:34:27 GMT 2000


Hi.. I'm reposting this again because I couldn't receive any mail from the
samba lists at my other address.  Sorry, if anyone had responded to the
list, please do again ;)

I'm testing out the Samba PDC code (from CVS Feb 13 on Redhat
6.x) and hoping to update a server running some older Samba-2.1prealpha
code from last March (which has been running very reliably, except for the
occasional roaming profile problem).

I ran into some 'connection refused' errors on with
smbpasswd -j SAMBA to join the domain (following the TNG faq), so I
investigated my setup a bit more.  Went through the DIAGNOSIS.txt steps
and testparm, and found that steps four to six are broken (all the others,
1-3 and 7 work fine). Nothing seems to be wrong in my smb.conf, and I've
checked that all the diagnosis steps work with samba-2.0.6 but not with
TNG on this machine (using the same smb.conf without PDC features
enabled).

Essentially all connections to /tmp/.nmb/agent (nmbd socket?) fail.

I figure I should wait to see these few tests working before
reporting too much else on TNG.

Output on those tests and my smb.conf is pasted below.

Can anyone tell me what might be wrong, or explain what the effect is
of these errors?  Let me know if I can send you more debug info, but I'm
sure these are easily reproducable.

Diagnosis steps:
step 4: nmblookup -B DEGOBAH __SAMBA__
doing parameter timestamp logs = false
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Added interface ip=192.168.69.2 bcast=192.168.69.255 nmask=255.255.255.0
Sending queries to 192.168.69.2
socket open succeeded.  file name: /tmp/.nmb/agent
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name __SAMBA__

step 5: nmblookup -B jason '*'
doing parameter timestamp logs = false
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Added interface ip=192.168.69.2 bcast=192.168.69.255 nmask=255.255.255.0
Sending queries to 192.168.69.3
socket open succeeded.  file name: /tmp/.nmb/agent
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name *

step 6: nmblookup -d 2 '*'
doing parameter timestamp logs = false
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Added interface ip=192.168.69.2 bcast=192.168.69.255 nmask=255.255.255.0
Sending queries to 192.168.69.255
socket open succeeded.  file name: /tmp/.nmb/agent
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name *

smb.conf
[global]
   netbios name = DEGOBAH
   workgroup = SAMBA
   server string = Samba Server
   hosts allow = 127.0.0.1 192.168.69.
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 5000
   security = user
   password level = 8
   username level = 8
   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd
   socket options = TCP_NODELAY
   interfaces = 192.168.69.2/24
   local master = yes
   os level = 63
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon path = \\%L\Profiles\%U
   wins support = yes
   dns proxy = no
   debug level = 100
   timestamp logs = false

[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   path = /home

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   guest ok = yes
   locking = no
   writable = no
   share modes = no

[Profiles]
   path = /home/profiles
   browseable = no
   guest ok = yes

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

cheers,
Jamie



More information about the samba-ntdom mailing list