smbd doesn't start, fails to generate "machine SID," dumps core
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
smbd crashes immediately upon start on Intrepid.
I have recently uninstalled libpam-smbpass due to a bug in that package, but reinstalling it doesn't change anything, so that's not the cause.
# lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
# apt-cache policy samba
samba:
Installed: 2:3.2.3-1ubuntu3.1
Candidate: 2:3.2.3-1ubuntu3.1
Version table:
*** 2:3.2.3-1ubuntu3.1 0
500 http://
100 /var/lib/
2:
500 http://
# sudo smbd -i
smbd version 3.2.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
tdb(/var/
tdb(/var/
tdb(/var/
tdb(/var/
tdb(/var/
pdb_generate_
PANIC (pid 12135): could not generate a machine SID
BACKTRACE: 6 stack frames:
#0 smbd(log_
#1 smbd(smb_
#2 smbd(get_
#3 smbd(main+0x980) [0x7f282cd9617d]
#4 /lib/libc.
#5 smbd [0x7f282cd94d89]
smb_panic(): calling panic action [/usr/share/
smb_panic(): action returned status 0
dumping core in /var/log/
Aborted (core dumped)
# tail -n 32 /var/log/
smbd version 3.2.3 started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/11/26 22:36:12, 0] smbd/server.
standard input is not a socket, assuming -D option
[2008/11/26 22:36:12, 0] lib/util_
tdb(/
[2008/11/26 22:36:12, 0] lib/util_
tdb(/
[2008/11/26 22:36:12, 0] lib/util_
tdb(/
[2008/11/26 22:36:12, 0] lib/util_
tdb(/
[2008/11/26 22:36:12, 0] lib/util_
tdb(/
[2008/11/26 22:36:12, 0] passdb/
pdb_generate_
[2008/11/26 22:36:12, 0] lib/util.
PANIC (pid 9691): could not generate a machine SID
[2008/11/26 22:36:12, 0] lib/util.
BACKTRACE: 6 stack frames:
#0 /usr/sbin/
#1 /usr/sbin/
#2 /usr/sbin/
#3 /usr/sbin/
#4 /lib/libc.
#5 /usr/sbin/smbd [0x7f7b7fa7cd89]
[2008/11/26 22:36:12, 0] lib/util.
smb_panic(): calling panic action [/usr/share/
[2008/11/26 22:36:12, 0] lib/util.
smb_panic(): action returned status 0
[2008/11/26 22:36:12, 0] lib/fault.
dumping core in /var/log/
description: | updated |
removing secrets.tdb solved the problem.