username map not working.

Harald H. Hannelius Harald at iki.fi
Mon May 24 12:54:17 GMT 1999



I have the following setup:

2.1-prealpha PDC (nis server)
2.0.4b fileserver (nis client, 'security = domain' )

I am using the username.map option, and my username.map file on both
servers goes like this:

# File to map a unix name to a windows name
# unix login to the left, desired windows (novell) on the right.
haneliuh = "harald.hannelius"

Connections to the pre-alpha server works, the username gets mapped and
everything is ok. However, everytime I try connecting to the fileserver I
get this err:

[1999/05/24 15:51:20, 3] smbd/process.c:switch_message(448)
  switch message SMBsesssetupX (pid 13547)
[1999/05/24 15:51:20, 3] smbd/reply.c:reply_sesssetup_and_X(721)
  Domain=[SAMBA]  NativeOS=[Unix] NativeLanMan=[Samba]
[1999/05/24 15:51:20, 3] smbd/reply.c:reply_sesssetup_and_X(725)
  sesssetupX:name=[HARALD.HANNELIUS]
[1999/05/24 15:51:20, 4] lib/username.c:map_username(89)
  Scanning username map /usr/local/samba/lib/username.map
[1999/05/24 15:51:20, 3] lib/username.c:map_username(122)
  Mapped user harald.hannelius to haneliuh
[1999/05/24 15:51:20, 3] libsmb/namequery.c:resolve_lmhosts(546)
  resolve_name: Attempting lmhosts lookup for name THAT<0x20>
[1999/05/24 15:51:20, 4] libsmb/namequery.c:startlmhosts(338)
  startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts.
Error was 
No such file or directory
[1999/05/24 15:51:20, 3] libsmb/namequery.c:resolve_hosts(574)
  resolve_name: Attempting host lookup for name THAT<0x20>
[1999/05/24 15:51:20, 3] lib/util_sock.c:open_socket_out(753)
  Connecting to 193.167.32.3 at port 139
[1999/05/24 15:51:20, 4] rpc_client/cli_netlogon.c:cli_net_req_chal(225)
  cli_net_req_chal: LSA Request Challenge from THAT to THIS:
C34F39422E05ACA1
[1999/05/24 15:51:20, 4] libsmb/credentials.c:cred_session_key(64)
  cred_session_key
[1999/05/24 15:51:20, 4] libsmb/credentials.c:cred_create(95)
  cred_create
[1999/05/24 15:51:20, 4] rpc_client/cli_netlogon.c:cli_net_auth2(136)
  cli_net_auth2: srv:\\THAT acct:THIS$ sc:2 mc: THIS chal BB0D39CB93E2BF44
neg: 
1ff
[1999/05/24 15:51:20, 4] libsmb/credentials.c:cred_create(95)
  cred_create
[1999/05/24 15:51:20, 4] libsmb/credentials.c:cred_assert(126)
  cred_assert
[1999/05/24 15:51:20, 4] libsmb/credentials.c:cred_create(95)
  cred_create
[1999/05/24 15:51:20, 4] rpc_client/cli_netlogon.c:cli_net_sam_logon(362)
  cli_net_sam_logon: srv:\\THAT mc:THIS clnt EF747AAAA75B0435 37494b48 ll:
2
[1999/05/24 15:51:20, 0] rpc_client/cli_netlogon.c:cli_net_sam_logon(392)
  cli_net_sam_logon: NT_STATUS_NO_SUCH_USER
[1999/05/24 15:51:20, 0] smbd/password.c:domain_client_validate(1369)
  domain_client_validate: unable to validate password for user
harald.hannelius 
in domain SAMBA to Domain controller THAT. Error was
NT_STATUS_NO_SUCH_USER.
[1999/05/24 15:51:20, 4] passdb/smbpass.c:getsmbfilepwent(140)
  getsmbfilepwent: end of file reached
[1999/05/24 15:51:20, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'haneliuh' in smb_passwd file.
[1999/05/24 15:51:20, 2] smbd/reply.c:reply_sesssetup_and_X(830)
  NT Password did not match for user 'haneliuh' ! Defaulting to Lanman
[1999/05/24 15:51:20, 4] passdb/smbpass.c:getsmbfilepwent(140)
  getsmbfilepwent: end of file reached
[1999/05/24 15:51:20, 1] smbd/password.c:pass_check_smb(504)
  Couldn't find user 'haneliuh' in smb_passwd file.
[1999/05/24 15:51:20, 3] smbd/error.c:error_packet(138)
  error packet at line 840 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[1999/05/24 15:51:20, 3] smbd/error.c:error_packet(143)
  error string = Address already in use
[1999/05/24 15:51:20, 3] smbd/process.c:timeout_processing(805)
  end of file from client
[1999/05/24 15:51:20, 2] smbd/server.c:exit_server(406)
  Closing connections
[1999/05/24 15:51:20, 3] smbd/server.c:exit_server(433)
  Server exit (normal exit)





===========================================================        
Harald H Hannelius | Harald at iki.fi      | GSM +358405470870
===========================================================  



More information about the samba-ntdom mailing list