Using samba3.0.23rc3, on debian stable, joined to an AD served by two Windows 2003 servers, but domain is in mixed mode. Some time, smnd makes some segv, here is the backtrace: 0x402333ae in waitpid () from /lib/tls/libc.so.6 #0 0x402333ae in waitpid () from /lib/tls/libc.so.6 #1 0x401c8d12 in system () from /lib/tls/libc.so.6 #2 0x081e3a91 in smb_panic2 () #3 0x081e3a1a in smb_panic () #4 0x081d0e58 in dbgtext () #5 <signal handler called> #6 0x401f2487 in fseek () from /lib/tls/libc.so.6 #7 0x400ae2cc in krb5_ktfile_get_next () from /usr/lib/libkrb5.so.3 #8 0x400add4c in krb5_kt_next_entry () from /usr/lib/libkrb5.so.3 #9 0x0824f046 in ads_change_trust_account_password () #10 0x0824fd3f in ads_verify_ticket () #11 0x080af196 in reply_getattrE () #12 0x080afe6f in reply_getattrE () #13 0x080b031b in reply_getattrE () #14 0x080b12a8 in reply_sesssetup_and_X () #15 0x080d64b6 in respond_to_all_remaining_local_messages () #16 0x080d6740 in respond_to_all_remaining_local_messages () #17 0x080d694c in process_smb () #18 0x080d7698 in smbd_process () #19 0x0825a1e5 in main () [global] workgroup = DPTINFO realm = DPTINFO.URS.LOCAL server string = %h server security = ADS allow trusted domains = No obey pam restrictions = Yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas sword:* %n\n . username map = /etc/samba/map.users use kerberos keytab = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 100000 printcap name = cups dns proxy = No ldap admin dn = cn=admin,dc=iutinfo,dc=local ldap idmap suffix = ou=Idmap ldap suffix = dc=iutinfo,dc=local panic action = /usr/share/samba/panic-action %d idmap backend = ldap:ldap://oie.u-strasbg.fr idmap uid = 10000-20000 idmap gid = 10000-20000 template homedir = /data/home/%U winbind separator = + winbind cache time = 60 winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes cups options = "raw" [homes] comment = Home Directories path = /data/home/%U read only = No create mask = 0755 vfs objects = recycle recycle:versions = Yes recycle:keeptree = Yes recycle:repository = Recycle Bin [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers write list = root, Administrateur, @ggprofs read only = No [public] comment = Données publiques path = /data/public write list = @ggprof create mask = 0775 directory mask = 0775 guest ok = Yes [pub] comment = Logiciels path = /data/ftp/pub write list = @ggprof create mask = 0775 directory mask = 0775 guest ok = Yes [trombino$] comment = photos path = /data/home/trombino write list = @gga1, @gga2, @gglp, @ggprof read only = No create mask = 0755 directory mask = 01777 guest ok = Yes [projetaspe$] comment = ASPE path = /data/home/projetaspe write list = @gglp, @ggprof read only = No create mask = 0775 guest ok = Yes
This is a bug in the MIT krb5 libs when reading the keytab file. Not our bug.