[Samba] smb fails on FC4 x86_64 wtih cannot open secrets.tdb

dahopkins at comcast.net dahopkins at comcast.net
Thu Jul 7 21:06:24 GMT 2005


I have installed samba on FC4 (x86_64) and get the following errors when I try to start the package. 

>From /var/log/samba/log.smbd

[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
  Failed to open /etc/samba/secrets.tdb
[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
  Failed to open /etc/samba/secrets.tdb
[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
  Failed to open /etc/samba/secrets.tdb
[2005/07/07 16:12:18, 0] passdb/secrets.c:secrets_init(64)
  Failed to open /etc/samba/secrets.tdb
[2005/07/07 16:12:18, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176)
  pdb_generate_sam_sid: Failed to store generated machine SID.
[2005/07/07 16:12:18, 0] lib/util.c:smb_panic2(1517)
  PANIC: Could not generate a machine SID

[2005/07/07 16:12:18, 0] lib/util.c:smb_panic2(1525)
  BACKTRACE: 6 stack frames:
   #0 smbd(smb_panic2+0x6d) [0x5555556ee8e0]
   #1 smbd(get_global_sam_sid+0x2a4) [0x5555556b1a44]
   #2 smbd(init_guest_info+0x4e) [0x55555572b239]
   #3 smbd(main+0x222) [0x55555575d5d6]
   #4 /lib64/libc.so.6(__libc_start_main+0xdc) [0x2aaaac0e24cc]
   #5 smbd [0x5555555a3989]

I have been unsuccessful in finding anything about this error.  ldap starts without problems, as does nmb.  The file /etc/samba/secrets.tdb does exist.  Could it be an SELinux issue? Help?

Dave Hopkins



More information about the samba mailing list