errors on domain join

Ronan Waide waider at waider.ie
Mon Aug 11 10:59:57 GMT 2003


hi folks,

SAMBA_3_0 from CVS as of this morning, clean install on Redhat 7.3,
NT4SP6+hotfixes PDC.

smb.conf is about as minimal as I can make it:

[global]
workgroup=MYDOM
security=domain
password server=*
local master = no
domain master = no
domain logons = no
wins server = 192.168.168.130

Here's a debuglevel 3 trace of the attempt to join (note, I made sure
the machine account didn't exist before doing this); the waider
account is an administrator account, and smbclient -L against the PDC
works fine, so it appears that I do know my own password :) The error
that stands out for me below is "cli_nt_setup_creds: auth2 challenge
failed NT_STATUS_NO_TRUST_SAM_ACCOUNT"; this appears to be suggesting
that some part of my attempt to authenticate with the PDC has
failed. Suggestions appreciated!

Cheers,
Waider.

[root at workst1 source]# net rpc join -U waider -d 3
[2003/08/11 10:47:50, 3] param/loadparm.c:lp_load(3903)
  lp_load: refreshing parameters
[2003/08/11 10:47:50, 3] param/loadparm.c:init_globals(1300)
  Initialising global parameters
[2003/08/11 10:47:50, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
[2003/08/11 10:47:50, 3] param/loadparm.c:do_section(3406)
  Processing section "[global]"
[2003/08/11 10:47:50, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.168.250 bcast=192.168.168.255 nmask=255.255.255.0
[2003/08/11 10:47:50, 3] libsmb/cliconnect.c:cli_full_connection(1299)
  Connecting to host=MYDOM_PDC share=IPC$
[2003/08/11 10:47:50, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 192.168.168.130 at port 445
[2003/08/11 10:47:50, 2] lib/util_sock.c:open_socket_out(725)
  error connecting to 192.168.168.130:445 (Connection refused)
[2003/08/11 10:47:50, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 192.168.168.130 at port 139
[2003/08/11 10:47:50, 3] rpc_client/cli_netlogon.c:cli_nt_setup_creds(283)
  cli_nt_setup_creds: auth2 challenge failed NT_STATUS_NO_TRUST_SAM_ACCOUNT
[2003/08/11 10:47:50, 3] libsmb/trusts_util.c:just_change_the_password(43)
  just_change_the_password: unable to setup creds (NT_STATUS_NO_TRUST_SAM_ACCOUNT)!
[2003/08/11 10:47:50, 1] utils/net_rpc.c:run_rpc_command(154)
  rpc command function failed! (NT_STATUS_NO_TRUST_SAM_ACCOUNT)
Password:
[2003/08/11 10:47:53, 3] libsmb/cliconnect.c:cli_full_connection(1299)
  Connecting to host=MYDOM_PDC share=IPC$
[2003/08/11 10:47:53, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 192.168.168.130 at port 445
[2003/08/11 10:47:53, 2] lib/util_sock.c:open_socket_out(725)
  error connecting to 192.168.168.130:445 (Connection refused)
[2003/08/11 10:47:53, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 192.168.168.130 at port 139
[2003/08/11 10:47:53, 3] rpc_parse/parse_lsa.c:lsa_io_sec_qos(185)
  lsa_io_sec_qos: length c does not match size 8
[2003/08/11 10:47:53, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(284)
  error setting trust account password: NT_STATUS_NO_USER_SESSION_KEY
Unable to join domain MYDOM.
[2003/08/11 10:47:53, 2] utils/net.c:main(677)
  return code = 1

-- 
waider at waider.ie / Yes, it /is/ very personal of me.

"Whoa! Step out of the way.... ego truck coming through!! :>"
                                                         - Dalton



More information about the samba-technical mailing list