Adding to Win2k domain

stimmins at stimmins at
Mon Oct 15 02:31:03 GMT 2001

I am having a problem adding a fresh samba installation to a win2k domain,
the config file used was successfully used to add one machine but not the
machine I really want to add, here is the output from the command
'smbpasswd -D 10 -j <mydomain> -r <my win2k pdc>', using sa,ba 2.2.0
solaris 7 binary package distribution.

bash-2.03# ./bin/smbpasswd -D 10 -j wileyuk -r chfile01
added interface ip= bcast= nmask=

<cut here a LOT of do_dirrand: value from file /dev/<device> >

resolve_lmhosts: Attempting lmhosts lookup for name CHFILE01<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error
was No such file or directory
resolve_hosts: Attempting host lookup for name CHFILE01<0x20>
Connecting to at port 139
error connecting to (Connection refused)
modify_trust_password: unable to connect to SMB server on machine CHFILE01.
Error was : code 0.
2001/10/15 10:27:48 : change_trust_account_password: Failed to change
password for domain WILEYUK.
Unable to join domain WILEYUK.

I've had a look around the web, but normally its when some trivial error
has been made, but as I said, I've using the same config file to add
another machine to the domain.

Thanks in advance for any help.

Sean Timmins
Systems Administrator
John Wiley & Sons, Ltd

More information about the samba mailing list