[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 (0.42.48.1) when the real one is 192.168.1.1. 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 = 192.168.1.1
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=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
cli_establish_connection: VENUS<00> connecting to EARTH<20> (0.42.48.1) - Administrator [DPSCA]
Connecting to 0.42.48.1 at port 445
error connecting to 0.42.48.1:445 (No route to host)
Connecting to 0.42.48.1 at port 139
error connecting to 0.42.48.1:139 (No route to host)
Error connecting to 0.42.48.1 (No route to host)
cli_establish_connection: failed to connect to EARTH<20> (0.42.48.1)
Error connecting to EARTH
Unable to join domain DPSCA.

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

-- 
Regards,
D. Penev



More information about the samba mailing list