[Samba] smbpasswd resolve problem

D. Penev dpenev at mail.bg
Mon Oct 7 18:28:01 GMT 2002

Hi all,

I've resolve problem (I think) when try to join samba server to Win2k domain.
As you can see bellow for EARTH (Domain controler in native mode) is assigned
invalid IP address ( when the real one is I try to
use lmhosts file with correct address and -R lmhosts option without any success.
It's only samba problem, I haven't other resolve problems. I try without and
with running nmbd & smbd daemons, with custom and with defaults options in
smb.conf, but result was the same. It's Samba 2.2.4 on NetBSD-1.5.2. 

venus# smbpasswd -j DPSCA -r EARTH -UAdministrator%Password -D 5
Initialising global parameters
params.c:pm_process() - Processing configuration file "/usr/pkg/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = DPSCA
doing parameter netbios name = VENUS
handle_netbios_name: set global_myname to: VENUS
doing parameter server string = NetBSD - Samba %v
doing parameter encrypt passwords = Yes
doing parameter log file = /var/log/log.%m
doing parameter max log size = 50
doing parameter domain admin group = @DomainAdmins
doing parameter add user script = /usr/sbin/useradd -g DomainUsers -s /sbin/nologin %u
doing parameter logon path = \\%L\profiles\%U
doing parameter logon home = \\%L\homes\%U
doing parameter admin users = DomainAdmin
doing parameter hosts allow =
pm_process() returned Yes
load_client_codepage: loading codepage 850.
load_unicode_map: loading unicode map for codepage 850.
load_unicode_map: loading unicode map for codepage ISO8859-1.
added interface ip= bcast= nmask=
cli_establish_connection: VENUS<00> connecting to EARTH<20> ( - Administrator [DPSCA]
Connecting to at port 445
error connecting to (No route to host)
Connecting to at port 139
error connecting to (No route to host)
Error connecting to (No route to host)
cli_establish_connection: failed to connect to EARTH<20> (
Error connecting to EARTH
Unable to join domain DPSCA.

P.S. Please Cc: to me, I'm not at list.

D. Penev

More information about the samba mailing list