[Samba] winbind and Solaris 9 with AD

Unix Service (ANTS) Unix.Services at ants.co.uk
Mon Jan 19 21:54:22 GMT 2004


Have done some more digging through the log files and found the following (
see extracts at bottom ):

21.22.05 smbd asks winbind to create user
21.22.05 winbindd appears to do this successfully ( wb_storepwnam: Success )
21.22.13 smbd never seems to receive notification of this and times out.

I don't know enough about the smbd/winbindd interaction to work out what's
happening ( will look at a working linux box to try and get an idea ) - has
anyone seen this before or know what could possibly cause this behaviour?

thanks

tim

Log.smbd:

[2004/01/19 21:22:05, 3] auth/auth_util.c:(1009)
  User test7 does not exist, trying to add it
[2004/01/19 21:22:05, 10] auth/auth_util.c:(74)
  auth_add_user_script: no 'add user script'.  Asking winbindd
[2004/01/19 21:22:05, 10] nsswitch/wb_client.c:(390)
  winbind_create_user: test7
[2004/01/19 21:22:05, 5] lib/username.c:(288)
  Finding user DEV\test7
[2004/01/19 21:22:05, 5] lib/username.c:(223)
  Trying _Get_Pwnam(), username as lowercase is dev\test7
[2004/01/19 21:22:05, 5] lib/username.c:(230)
  Trying _Get_Pwnam(), username as given is DEV\test7
[2004/01/19 21:22:05, 5] lib/username.c:(239)
  Trying _Get_Pwnam(), username as uppercase is DEV\TEST7
[2004/01/19 21:22:05, 5] lib/username.c:(247)
  Checking combinations of 0 uppercase letters in dev\test7
[2004/01/19 21:22:05, 5] lib/username.c:(251)
  Get_Pwnam_internals didn't find user [DEV\test7]!
[2004/01/19 21:22:05, 5] lib/username.c:(288)
  Finding user test7
[2004/01/19 21:22:05, 5] lib/username.c:(223)
  Trying _Get_Pwnam(), username as lowercase is test7
^C[2004/01/19 21:22:05, 5] lib/username.c:(239)
  Trying _Get_Pwnam(), username as uppercase is TEST7
[2004/01/19 21:22:05, 5] lib/username.c:(247)
  Checking combinations of 0 uppercase letters in test7
[2004/01/19 21:22:05, 5] lib/username.c:(251)
  Get_Pwnam_internals didn't find user [test7]!
[2004/01/19 21:22:05, 0] auth/auth_util.c:(1017)
  make_server_info_info3: pdb_init_sam failed!
[2004/01/19 21:22:05, 5] auth/auth.c:(268)
  check_ntlm_password: winbind authentication for user [test7] FAILED with
error
 NT_STATUS_NO_SUCH_USER
[2004/01/19 21:22:05, 2] auth/auth.c:(309)
  check_ntlm_password:  Authentication for user [test7] -> [test7] FAILED
with e
rror NT_STATUS_NO_SUCH_USER
[2004/01/19 21:22:05, 5] auth/auth_util.c:(1185)
  attempting to free (and zero) a user_info structure
[2004/01/19 21:22:05, 10] auth/auth_util.c:(1188)
  structure was created for test7
[2004/01/19 21:22:06, 6] lib/util_sock.c:(407)
  write_socket(16,98)
[2004/01/19 21:22:06, 6] lib/util_sock.c:(410)
  write_socket(16,98) wrote 98
[2004/01/19 21:22:13, 10] lib/util_sock.c:(336)
  read_socket_data: recv of 4 returned 0. Error = Error 0
[2004/01/19 21:22:13, 10] lib/util_sock.c:(512)
  receive_smb: length < 0!
[2004/01/19 21:22:13, 3] smbd/process.c:(1099)
  timeout_processing: End of file from client (client has disconnected).
[2004/01/19 21:22:13, 5] lib/gencache.c:(88)
  Closing cache file
[2004/01/19 21:22:13, 5] libsmb/namecache.c:(79)

Log.winbind:

[2004/01/19 21:22:05, 10] nsswitch/winbindd.c:(305)
  process_request: request fn CREATE_USER
[2004/01/19 21:22:05, 3] nsswitch/winbindd_acct.c:(875)
  [27622]: create_user: user=>(test7), group=>()
[2004/01/19 21:22:05, 5] nsswitch/winbindd_acct.c:(521)
  wb_getgrnam: Did not find group (nobody)
[2004/01/19 21:22:05, 10] sam/idmap_tdb.c:(125)
  db_allocate_id: ID_USERID (*id).uid = 800000
[2004/01/19 21:22:05, 10] nsswitch/winbindd_acct.c:(157)
  passwd2string: converting passwd struct for test7
[2004/01/19 21:22:05, 10] nsswitch/winbindd_acct.c:(486)
  wb_storepwnam: Success ->
"test7:x:800000:60001:test7:/home/ANTS431/test7:/bin
/false"
[2004/01/19 21:22:05, 10] nsswitch/winbindd.c:(502)
  client_write: wrote 1304 bytes.
[2004/01/19 21:22:13, 10] nsswitch/winbindd.c:(455)
  client_read: read 0 bytes. Need 1568 more for a full request.


***************************************************************************
This communication (including any attachments) contains confidential information.  If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents.  Please notify the sender immediately of the error.

Internet communications are not necessarily secure and may be intercepted or changed after they are sent.  Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes.  If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.

This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.

Abbey National Treasury Services plc. Registered Office:  Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN.  Registered in England under Company Registration Number: 2338548.  Regulated by the Financial Services Authority (FSA).
***************************************************************************



More information about the samba mailing list