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

Mike Box mbox-l at cleopas.stat.vt.edu
Tue Jul 20 20:11:57 GMT 2004


Thanks to Jim C. for his suggestion of winbind, which I will also pursue.

However, this specific problem was corrected by moving the "private" directory 
from NFS to a local filesystem.

I recall experiencing this situation before.  Okay, Solaris gurus, what exactly 
causes this problem?  Is it unique to Solaris?  Is it something to be avoided by 
software (Samba) developers?

Mike

>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
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list