[Samba] Samba-3.0.4 - PANIC: Could not generate a machine SID

Mike Box mbox-l at cleopas.stat.vt.edu
Tue Jul 13 18:55:05 GMT 2004


Searching the archives for a solution to this problem revealed no solution.

Recently I built Samba-3.0.4 from downloaded source on a computer running
Solaris 8.  I wish to have this computer join a Windows NT 4.0 domain (as
only a member.)  I have another computer currently running Samba-2.0.7 as
a member in this domain. (The goal is to have Samba-3.0.4 replace
Samba-2.0.7.)  After a successful build, I copied the Samba-2.0.7 smb.conf
to Samba-3.0.4 and changed the necessary identification statements. (testparm
runs clean.)  If needed, I will post smb.conf.

Key smb.conf statements:
security = domain
encrypt passwords = yes
password server = xyzzy

Samba is started via (complete path not shown):
.../nmbd -D
.../smbd -D

# ls -ald /usr/local/samba/private
drwxr-xr-x   2 root     other       4096 Jul 12 17:23 /usr/local/samba/private
# ls -l /usr/local/samba/private/secrets.tdb
-rw-------   1 root     root        8192 Jul 13 13:32 
/usr/local/samba/private/secrets.tdb

smbd repeatedly fails producing the following messages in the log:
[2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 
ltype=1 (Resource temporarily unavailable)
[2004/07/13 12:50:24, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/SOURCES/samba-3.0.4/private/secrets.tdb): tdb_lock failed on list 30 
ltype=2 (Resource temporarily unavailable)
[2004/07/13 12:50:24, 0] passdb/machine_sid.c:pdb_generate_sam_sid(176)
  pdb_generate_sam_sid: Failed to store generated machine SID.
[2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398)
  PANIC: Could not generate a machine SID
  
[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 24581 (3.0.4)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/13 12:50:24, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2004/07/13 12:50:24, 0] lib/util.c:smb_panic2(1398)
  PANIC: internal error
  

Thanks, in advance, for any help that you may offer.

Mike Box



More information about the samba mailing list