[Samba-TNG] Diagnosis steps fail in latest CVS

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Feb 14 05:14:11 GMT 2000


jaime, follow the source/README instructions, particularly those of lars'
FAQ.

On Mon, 14 Feb 2000, Jamie ffolliott wrote:

> 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
> 

<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href="http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href="http://samba.org"      > Samba Web site                  </a>
<a href="http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href="http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list