[Samba] samba 2.2.2 domain security w/ win2k AD

Grant Beattie Grant.Beattie at fulcrum.com.au
Wed Mar 6 22:42:02 GMT 2002


Samba 2.2.2 on Solaris 7/SPARC. Windows 2000 SP2 domain controller
(native mode).

Joined samba to domain as per htmldocs/DOMAIN_MEMBER.html.

[global]
	workgroup = DOM
	security = domain
	password server = charon

However, connecting to shares as non-guest fails due to
authentication problems (below).

As htmldocs/DOMAIN_MEMBER.html indicates this does work, is there some
other magic that needs to be performed? It failed in the same way
trying to use an NT4 SP6a PDC.

Any advice would be appreciated.

grant.


[2002/03/07 16:57:57, 3] smbd/process.c:process_smb(860)
  Transaction 1 of length 137
[2002/03/07 16:57:57, 3] smbd/process.c:switch_message(667)
  switch message SMBnegprot (pid 20953)
[2002/03/07 16:57:57, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LANMAN1.0]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [Windows for Workgroups 3.1a]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LM1.2X002]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [LANMAN2.1]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(349)
  Requested protocol [NT LM 0.12]
[2002/03/07 16:57:57, 3] smbd/negprot.c:reply_negprot(433)
  Selected protocol NT LM 0.12
[2002/03/07 16:57:57, 3] smbd/process.c:process_smb(860)
  Transaction 2 of length 203
[2002/03/07 16:57:57, 3] smbd/process.c:switch_message(667)
  switch message SMBsesssetupX (pid 20953)
[2002/03/07 16:57:57, 3] smbd/sec_ctx.c:set_sec_ctx(320)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/03/07 16:57:57, 3] smbd/reply.c:reply_sesssetup_and_X(855)
  Domain=[NOTEBOOK]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2002/03/07 16:57:57, 3] smbd/reply.c:reply_sesssetup_and_X(866)
  sesssetupX:name=[grant]
[2002/03/07 16:57:57, 3] libsmb/namequery.c:resolve_lmhosts(749)
  resolve_lmhosts: Attempting lmhosts lookup for name CHARON<0x20>
[2002/03/07 16:57:57, 3] libsmb/namequery.c:resolve_hosts(789)
  resolve_hosts: Attempting host lookup for name CHARON<0x20>
[2002/03/07 16:57:57, 3] lib/util_sock.c:open_socket_out(871)
  Connecting to 192.168.211.27 at port 139
[2002/03/07 16:57:57, 0] rpc_client/cli_netlogon.c:cli_net_auth2(160)
  cli_net_auth2: Error NT_STATUS_ACCESS_DENIED
[2002/03/07 16:57:57, 0] rpc_client/cli_login.c:cli_nt_setup_creds(72)
  cli_nt_setup_creds: auth2 challenge failed
[2002/03/07 16:57:57, 0] smbd/password.c:connect_to_domain_password_server(1371)
  connect_to_domain_password_server: unable to setup the PDC credentials to machine CHARON. Error was : NT_STATUS_ACCESS_DENIED.
[2002/03/07 16:57:57, 0] smbd/password.c:domain_client_validate(1591)
  domain_client_validate: Domain password server not available.
[2002/03/07 16:57:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file /opt/local/samba/private/smbpasswd. Error was No such file or directory
[2002/03/07 16:57:57, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2002/03/07 16:57:57, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'grant' in passdb.
[2002/03/07 16:57:57, 2] smbd/reply.c:reply_sesssetup_and_X(970)
  NT Password did not match for user 'grant'!
[2002/03/07 16:57:57, 2] smbd/reply.c:reply_sesssetup_and_X(980)
  Defaulting to Lanman password for grant
[2002/03/07 16:57:57, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171)
  startsmbfilepwent_internal: unable to open file /opt/local/samba/private/smbpasswd. Error was No such file or directory
[2002/03/07 16:57:57, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368)
  unable to open passdb database.
[2002/03/07 16:57:57, 1] smbd/password.c:pass_check_smb(546)
  Couldn't find user 'grant' in passdb.
[2002/03/07 16:57:57, 1] smbd/reply.c:reply_sesssetup_and_X(1004)
  Rejecting user 'grant': bad password
[2002/03/07 16:57:57, 3] smbd/error.c:error_packet(99)
  error string = No such file or directory
[2002/03/07 16:57:57, 3] smbd/error.c:error_packet(105)
  32 bit error packet at smbd/reply.c(1006) cmd=115 (SMBsesssetupX) eclass=c000006d [Error: Unknown error (109,49152)]





More information about the samba mailing list