Can't get nmblookup to work in TNG

Inge-Håvard Hunstad inge at cc.uit.no
Mon Feb 21 16:38:17 GMT 2000


As I said in a previous mail I can't get nmblookup work in samba_TNG. Is
this something I have to live with or maybe it is my configuration that
fails? I also noticed that nmblookup for samba ver 2.0.4b works like a
charm on my system.

When I try Diagnosis step 4-6 I get this with tng's nmblookup:

$nmblookup -B <PDC netbios name> __SAMBA__
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name __SAMBA__

$nmblookup -B ji '*'
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name *

$nmblookup -d 2 '*'
socket connect to /tmp/.nmb/agent failed: Connection refused
name_query failed to find name *

I have cvs co of samba_TNG from today compiled with support for ldap
under RH linux 6.1.


Thanks in advance for all your help.

inge


smb.conf global section:

#======================= Global Settings
=====================================
[global]
ldap suffix = "ou=People,dc=student,dc=uit,dc=no"
ldap bind as = "uid=manager,dc=student,dc=uit,dc=no"
ldap passwd file = /opt/samba-tng/private/ldappasswd 
ldap server = localhost 
ldap port = 389 
workgroup = LDAP
netbios name = <Netbios name>
server string = <Netbios name> Samba %v
hosts allow = XXX.XXX.X. XXX.XXX.XX. 127.
printcap name = /etc/printcap
load printers = yes
printing = BSD
log level = 0
log file = /opt/samba-tng/var/log.%m
max log size = 5000
security = user
null passwords = No
encrypt passwords = yes
local master = Yes
os level = 65 
domain master = yes 
preferred master = yes
domain logons = yes
name resolve order = wins lmhosts bcast
logon path = \\<Netbios name>\Profiles\users.man
logon home = \\<Netbios name>\%U
logon drive = H:
Wins server = XXX.XXX.XX.XX
Dns Proxy = No
interfaces = XXX.XXX.XXX.XXX/24


More information about the samba-ntdom mailing list