[Samba-TNG] Diagnosis steps fail in latest CVS

Jamie ffolliott jmeff at engsoc.queensu.ca
Mon Feb 14 04:38:23 GMT 2000


Hi All,

I'm testing out the Samba PDC code once again (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 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  when using the same smb.conf (without PDC features
enabled in smb.conf).  The loopback adapter is working as well, if that
helps.

I figure I should wait to see these few tests working properly before
reporting anything else on PDC support in TNG in case they're related.
Output on those commands and my smb.conf pasted below.

Can anyone tell me what might be wrong, or should I expect that a lot of
things might be broken at the moment?

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

Jamie



More information about the samba-ntdom mailing list