[Samba] Winbind issue - Again

Hall, Ken (ECSS) KeHall at exchange.ml.com
Fri May 31 05:52:03 GMT 2002

I've sent this before, but no response.  Trying again.

I'm trying to configure Winbindd on a Linux/390 system.  I'm not getting any of the crashes or obvious errors, but I can't join the NT domain using the smbpasswd command.  Included below is a portion
of the -D 10 debug listing.

I can ping the PDC under it's FQDN, and I've also added it's IP address to LMHOSTS, but nothing changes.  I've also tried the smbpasswd command specifying the IP address of the PDC, and with each of
the various resolve options specified, but that doesn't help either.

This is Samba 2.2.4, and the PDC is Windows NT 4.

Two possible issues come to mind.

1) My Samba server doesn't have a DNS entry of it's own (yet).

2) The machine is on a VM "Guest LAN" that doesn't support broadcast/multicast.  I am connected to a WINS server though, and I can browse and access shares from Windows.  Nmblookup doesn't seem to
work unless I specify -U and -R, but this seems to be a normal result of not having a WINS server on my subnet, and lack of support for broadcast.

I've spent some time reviewing the source for smbpasswd and the library routines that do name resolution, and the more I do, the more it looks like a bug of some kind.  As near as I can tell, the name
resolution is never being done, and the bogus IP address is residual in the structure.  Nothing I do makes any difference.  Even when I specify the -r parameter with the IP address of the PDC, the
address in the debug remains

According to the code, there's supposed to be a level 10 debug message issued by internal_resolve_name() in namequery.c listing the addresses returned, but it never appears.  An additional debug
message I added myself also never appears, leading me to believe the routine isn't being called.

Does anyone have any idea what might be going on here?

Thanks much.

Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/smb.conf"
Processing section "[global]"
doing parameter workgroup = MLAMRS
doing parameter server string = Samba 2.2.4 on VM Linux
doing parameter security = DOMAIN
doing parameter encrypt passwords = Yes
doing parameter map to guest = Bad User
doing parameter log file = /var/log/smb.log
doing parameter keepalive = 30
doing parameter os level = 2
doing parameter preferred master = False
doing parameter domain master = False
doing parameter wins server =
wins_srv_load_list(): Building WINS server list:,
1 WINS server listed.
doing parameter kernel oplocks = No
doing parameter winbind uid = 1000-2000
doing parameter winbind gid = 1000-2000
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: ROLE_DOMAIN_MEMBER
codepage_initialise: client code page = 850

(lots of codepage stuff omitted)

added interface ip= bcast= nmask=
cli_init_creds: user administrator domain MLAMRS flgs: 0
cli_establish_connection: LINXKEN<00> connecting to WSTRESSMS2<20> ( - administrator [MLAMRS]
Connecting to at port 445
error connecting to (Invalid argument)
Connecting to at port 139
error connecting to (Invalid argument)
Error connecting to (Invalid argument)
cli_establish_connection: failed to connect to WSTRESSMS2<20> (
Error connecting to wstressms2
Unable to join domain MLAMRS.

More information about the samba mailing list