morgan31 at libero.it morgan31 at libero.it
Tue Jul 23 03:54:03 GMT 2002

Hi list,
I'm running samba 2.0.7 on SuSE Linux.
I'd like to join into NT domain and my /etc/smb.conf file looks like:
  	workgroup = DOMTEST
 	security = server
 	password server = PDC
	netbios name = LINUX01 
	domain logons = yes
 	encrypt passwords = yes
	local master = no
	interfaces =
	bind interfaces only = no
	guest account = nobody
   	keep alive = 30
   	os level = 20
	announce as = NT
	announce version = 4.2
   	kernel oplocks = false
   	printing = bsd
   	printcap name = /etc/printcap
   	load printers = yes
   	socket options = TCP_NODELAY
   	map to guest = Bad User
   	wins support = no
   	domain master = yes	
	debug level = 4

When I invoke the command:
smbpasswd -j DOMTEST -r PDC -U user 
it returns:
pm_process() returned Yes
added interface ip= bcast= nmask=
resolve_lmhosts: Attempting lmhosts lookup for name PDC<0x20>
resolve_hosts: Attempting host lookup for name PDC<0x20>
Connecting to at port 139
cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine 
2002/07/23 14:46:20 : change_trust_account_password: Failed to change 
password for domain DOMTEST.
Unable to join domain DOMTEST.

I've tryed to add a machine with the command:
smbpasswd -a -m linux01 but it wasn't successfull, so I've created a 
user named linux01 and by running the same command again the error was:

User linux01$ does not exist in system password file 
(usually /etc/passwd). Cannot add account without a valid local system 
Failed to modify password entry for user linux01$

But linux01 exists in the /etc/passwd file!

Any suggestions?

More information about the samba mailing list