[Samba] Samba:connection only works one time

Hans Graudenz Hans.Graudenz at alcatel.de
Mon Feb 17 18:00:23 GMT 2003


Hi all,

using samba 2.2.5; security=server
connecting as user1 (user logged in on PC) works (12:28:55),
disconnecting and connecting as another user2 (not the user logged in on
PC) works too (12:30:22), but disconnecting and connecting again as
user1 (user logged in on PC) fails (12:34:29) as well as user2
(12:38:19).
It seems it works only once and never again after one time logged in as
user2 ?

The log file is like following

[2003/02/17 12:28:55, 1] smbd/service.c:make_connection(651)
  khs (...144) connect to service home as user user1 (uid=2003, gid=100)
(pid 27667)
[2003/02/17 12:29:23, 1] smbd/service.c:close_cnum(692)
  khs (...144) closed connection to service home

[2003/02/17 12:30:22, 1] smbd/password.c:server_validate(1173)
  password server AD1 rejected the password
[2003/02/17 12:30:22, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:30:22, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:30:22, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:30:22, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:30:22, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user2': authentication failed
[2003/02/17 12:31:36, 1] smbd/service.c:make_connection(651)
  khs (...144) connect to service home as user user2 (uid=2910, gid=100)
(pid 27667)
[2003/02/17 12:32:14, 1] smbd/service.c:close_cnum(692)
  khs (...144) closed connection to service home

[2003/02/17 12:34:29, 0] lib/util_sock.c:write_socket_data(499)
  write_socket_data: write failure. Error = Broken pipe
[2003/02/17 12:34:29, 0] lib/util_sock.c:write_socket(524)
  write_socket: Error writing 176 bytes to socket 22: ERRNO = Broken
pipe
[2003/02/17 12:34:29, 0] libsmb/clientgen.c:cli_send_smb(96)
  Error writing 176 bytes to client. -1
[2003/02/17 12:34:29, 1] smbd/password.c:server_validate(1173)
  password server AD1 rejected the password
[2003/02/17 12:34:29, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:34:29, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:34:29, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:34:29, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:34:29, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user1': authentication failed
[2003/02/17 12:35:19, 1] smbd/password.c:server_validate(1173)
  password server AD1 rejected the password
[2003/02/17 12:35:19, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:35:19, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:35:19, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:35:19, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:35:19, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user1': authentication failed
[2003/02/17 12:36:21, 1] smbd/password.c:server_validate(1173)
  password server AD1 rejected the password
[2003/02/17 12:36:21, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:36:21, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:36:21, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:36:21, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:36:21, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user1': authentication failed
[2003/02/17 12:36:54, 1] smbd/password.c:server_validate(1173)
  password server AD1 rejected the password
[2003/02/17 12:36:54, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:36:54, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:36:54, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:36:54, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user1' in passdb.
[2003/02/17 12:36:54, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user1': authentication failed
[2003/02/17 12:37:54, 0] lib/util_sock.c:write_socket_data(499)
  write_socket_data: write failure. Error = Bad file number

[2003/02/17 12:38:19, 1] smbd/password.c:server_validate(1099)
  password server  is not connected
[2003/02/17 12:38:19, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:38:19, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:38:19, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:38:19, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:38:19, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user2': authentication failed
[2003/02/17 12:38:45, 1] smbd/password.c:server_validate(1099)
  password server  is not connected
[2003/02/17 12:38:45, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:38:45, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:38:45, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:38:45, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:38:45, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user2': authentication failed
[2003/02/17 12:39:43, 1] smbd/password.c:server_validate(1099)
  password server  is not connected
[2003/02/17 12:39:43, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:39:43, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:39:43, 0]
passdb/pdb_nisplus.c:make_sam_from_nisresult(460)
  NIS+ lookup failure: Database for table does not exist
[2003/02/17 12:39:43, 1] smbd/password.c:pass_check_smb(545)
  Couldn't find user 'user2' in passdb.
[2003/02/17 12:39:43, 1] smbd/reply.c:reply_sesssetup_and_X(998)
  Rejecting user 'user2': authentication failed

Can anyone help me?

Hans Graudenz
--
==========================================================
Hans Graudenz                   email: Hans.Graudenz at alcatel.de
Alcatel SEL                     phone: +49-711-821-36727
Dep. ZFZ/SR                     fax:   +49-711-821-32436
Holderaeckerstr. 35
D-70499 Stuttgart
Germany
==========================================================




More information about the samba mailing list