[Samba] Samba demon fails, User none in passdb, but getpwnam() fail

Bruno Freitag bruno.freitag at bluewin.ch
Thu May 5 22:18:29 GMT 2005


I know it is a moderated list - just do not know how to get to the
moderator.

Was just reinstalling suse 9.1 on top of an existing 9.1 (with samba)
(it solved another issue with the monitor but created a samba problem)
applied all patches

reinstallation remembered all settings correctly, even the smb.conf
file, but smbd does not start anymore. , I get a

auth/auth_util.c:make_server_info_sam(822) User none in passdb, but
getpwnam() fails!

Neither of the newsgroups showed any hint to what the reason could be -
trying here, my kids depend on it, and I as well :-)

Thx
Bruno


donate to samba.org


-------------- next part --------------
[2005/05/05 21:49:40, 6] param/loadparm.c:lp_file_list_changed(2681)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Thu May  5 21:49:20 2005
  
[2005/05/05 21:49:40, 2] lib/interface.c:add_interface(79)
  added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
[2005/05/05 21:49:40, 5] lib/util.c:init_names(256)
  Netbios name list:-
  my_netbios_names[0]="BF-LINUX"
[2005/05/05 21:49:40, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2005/05/05 21:49:40, 3] smbd/uid.c:push_conn_ctx(365)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2005/05/05 21:49:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2005/05/05 21:49:40, 5] auth/auth_util.c:debug_nt_user_token(486)
  NT user token: (NULL)
[2005/05/05 21:49:40, 5] auth/auth_util.c:debug_unix_user_token(505)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_context_list(785)
  Trying to load: smbpasswd
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend ldapsam
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'ldapsam'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend ldapsam_compat
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'ldapsam_compat'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend NDS_ldapsam
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'NDS_ldapsam'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend NDS_ldapsam_compat
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'NDS_ldapsam_compat'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend smbpasswd
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'smbpasswd'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend tdbsam
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'tdbsam'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(93)
  Attempting to register passdb backend guest
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:smb_register_passdb(106)
  Successfully added passdb backend 'guest'
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(669)
  Attempting to find an passdb backend to match smbpasswd (smbpasswd)
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(690)
  Found pdb backend smbpasswd
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(693)
  pdb backend smbpasswd has a valid init
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(669)
  Attempting to find an passdb backend to match guest (guest)
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(690)
  Found pdb backend guest
[2005/05/05 21:49:40, 5] passdb/pdb_interface.c:make_pdb_methods_name(693)
  pdb backend guest has a valid init
[2005/05/05 21:49:40, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwsid(1367)
  smbpasswd_getsampwrid: search by sid: S-1-5-21-4230819613-3055798978-3732099712-501
[2005/05/05 21:49:40, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1318)
  getsampwnam (smbpasswd): search by name: none
[2005/05/05 21:49:40, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(184)
  startsmbfilepwent_internal: opening file /etc/samba/smbpasswd
[2005/05/05 21:49:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user ifreit, uid 1000
[2005/05/05 21:49:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user patrick, uid 1003
[2005/05/05 21:49:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user andreas, uid 1001
[2005/05/05 21:49:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user daniel, uid 1002
[2005/05/05 21:49:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(537)
  getsmbfilepwent: end of file reached.
[2005/05/05 21:49:40, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(301)
  endsmbfilepwent_internal: closed password file.
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_username(625)
  pdb_set_username: setting username none, was 
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_init_flags(525)
  element 12 -> now SET
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_fullname(706)
  pdb_set_full_name: setting full name none, was 
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_init_flags(525)
  element 13 -> now SET
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_domain(652)
  pdb_set_domain: setting domain BF-LINUX, was 
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_user_sid(552)
  pdb_set_user_sid: setting user sid S-1-5-21-4230819613-3055798978-3732099712-501
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_init_flags(525)
  element 18 -> now SET
[2005/05/05 21:49:40, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73)
  pdb_set_user_sid_from_rid:
  	setting user sid S-1-5-21-4230819613-3055798978-3732099712-501 from rid 501
[2005/05/05 21:49:40, 10] passdb/pdb_get_set.c:pdb_set_group_sid(588)
  pdb_set_group_sid: setting group sid S-1-5-21-4230819613-3055798978-3732099712-514
[2005/05/05 21:49:40, 10] passdb/pdb_compat.c:pdb_set_group_sid_from_rid(100)
  pdb_set_group_sid_from_rid:
  	setting group sid S-1-5-21-4230819613-3055798978-3732099712-514 from rid 514
[2005/05/05 21:49:40, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/05/05 21:49:40, 1] auth/auth_util.c:make_server_info_sam(822)
  User none in passdb, but getpwnam() fails!
[2005/05/05 21:49:40, 5] auth/auth_util.c:free_server_info(1387)
  attempting to free (and zero) a server_info structure


More information about the samba mailing list