[Samba] (no subject)

mimagabooks azmagabooks at gmail.com
Thu Oct 30 08:13:32 GMT 2008


smbd crashes on startup

/var/log/samba/smbd output:

[2008/10/30 00:58:56,  1]
passdb/pdb_ldap.c:ldapsam_enum_group_memberships(2850)
  User account [nobody] not found!
[2008/10/30 00:58:56,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2008/10/30 00:58:56,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 6 in pid 3902 (3.2.3-0.1-1882-SUSE-SL11.0)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2008/10/30 00:58:56,  0] lib/fault.c:fault_report(43)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2008/10/30 00:58:56,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2008/10/30 00:58:56,  0] lib/util.c:smb_panic(1663)
  PANIC (pid 3902): internal error
[2008/10/30 00:58:56,  0] lib/util.c:log_stack_trace(1767)
  BACKTRACE: 10 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7dcaaed]
   #1 /usr/sbin/smbd(smb_panic+0x2d) [0xb7dcabed]
   #2 /usr/sbin/smbd [0xb7db3846]
   #3 [0xffffe400]
   #4 /lib/libc.so.6(abort+0x188) [0xb75e3238]
   #5 /usr/sbin/smbd(talloc_free+0x22d) [0xb7d992ed]
   #6 /usr/sbin/smbd(init_guest_info+0xb8) [0xb7e1d018]
   #7 /usr/sbin/smbd(main+0x816) [0xb800afe6]
   #8 /lib/libc.so.6(__libc_start_main+0xe5) [0xb75cd5f5]
   #9 /usr/sbin/smbd [0xb7b92521]
[2008/10/30 00:58:56,  0] lib/fault.c:dump_core(201)
  dumping core in /var/log/samba/cores/smbd

/etc/samba/smb.conf

[global]
unix charset = LOCALE
workgroup = MAGABOOKS.ORG
netbios name = arizona
passdb backend =ldapsam:ldap://arizona.magabooks.org
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 0
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel '%u'
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%g' '%u'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%g' '%u'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \\arizona\profiles\%u
logon drive = Z:
domain logons = Yes
domain master = Yes
wins support = Yes
# peformance optimization all users stored in ldap
ldapsam:trusted = yes
ldap suffix = dc=magabooks,dc=org
ldap machine suffix = ou=Computers,ou=Users
ldap user suffix = ou=People,ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=sambaadmin,dc=magabooks,dc=org
idmap backend = ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
# printer admin = root
printing = cups

#========================Share Definitions=========================

[homes]
 comment = Home Directories
 valid users = %S
 browseable = yes
 writable = yes
 create mask = 0600
 directory mask = 0700

[sysvol]
 path = /var/lib/samba/sysvol
 read only = no

[netlogon]
 comment = Network Logon Service
 path = /var/lib/samba/sysvol/magabooks.org/scripts
 writeable = yes
 browseable = yes
 read only = no

[profiles]
 path = /var/lib/samba/profiles
 writeable = yes
 browseable = no
 read only = no
 create mode = 0777
 directory mode = 0777

[Documents]
 comment = share to test samba
 path = /var/lib/samba/documents
 writeable = yes
 browseable = yes
 read only = no
 valid users = "@Domain Users"

If I comment out passdb backend then it does not crash.


More information about the samba mailing list