Hello, i've migrate my domain samba-3.0.22-1 on old server (centos 4.3) to samba-3.0.23c-2.el5.2.0.2 on new server (Centos 5.0). i'm use OpenLdap to users accounts and computers accounts. Procedure : - stop old PDC; - copy smb.conf and secrets.tdb on new server; - start new PDC; On the new PDC the localsid it's the localsid the old server and the domainsid it's ok. But when i'm start the computer and connection with the account, especially with public share, the connexion is very long and samba crash with this erreur : ------------------------------------------------- Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/fault.c:fault_report(41) Nov 10 17:07:52 svct03 smbd[13627]: ==============================================================Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/fault.c:fault_report(42) Nov 10 17:07:52 svct03 smbd[13627]: INTERNAL ERROR: Signal 11 in pid 13627 (3.0.23c-2.el5.2.0.2) Nov 10 17:07:52 svct03 smbd[13627]: Please read the Trouble-Shooting section of the Samba3-HOWTO Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/fault.c:fault_report(44) Nov 10 17:07:52 svct03 smbd[13627]: Nov 10 17:07:52 svct03 smbd[13627]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/fault.c:fault_report(45) Nov 10 17:07:52 svct03 smbd[13627]: ==============================================================Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/util.c:smb_panic(1614) Nov 10 17:07:52 svct03 smbd[13627]: PANIC (pid 13627): internal error Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/util.c:log_stack_trace(1721) Nov 10 17:07:52 svct03 smbd[13627]: BACKTRACE: 18 stack frames: Nov 10 17:07:52 svct03 smbd[13627]: #0 smbd(log_stack_trace+0x2d) [0xc3e78d] Nov 10 17:07:52 svct03 smbd[13627]: #1 smbd(smb_panic+0x5d) [0xc3e8bd] Nov 10 17:07:52 svct03 smbd[13627]: #2 smbd [0xc29fba] Nov 10 17:07:52 svct03 smbd[13627]: #3 [0x4ec420] Nov 10 17:07:52 svct03 smbd[13627]: #4 /lib/libc.so.6(realloc+0xd9) [0x3d97e9] Nov 10 17:07:52 svct03 smbd[13627]: #5 smbd(Realloc+0x83) [0xc3f9d3] Nov 10 17:07:52 svct03 smbd[13627]: #6 smbd(realloc_array+0x46) [0xc3fae6] Nov 10 17:07:52 svct03 smbd[13627]: #7 smbd(add_sid_to_array+0xa7) [0xc37cd7] Nov 10 17:07:53 svct03 smbd[13627]: #8 smbd(add_sid_to_array_unique+0x65) [0xc37d45] Nov 10 17:07:53 svct03 smbd[13627]: #9 smbd(create_token_from_username+0x8aa) [0xc86b4a] Nov 10 17:07:53 svct03 smbd[13627]: #10 smbd [0xad4ed6] Nov 10 17:07:53 svct03 smbd[13627]: #11 smbd(make_connection+0x194) [0xad6934] Nov 10 17:07:53 svct03 smbd[13627]: #12 smbd(reply_tcon_and_X+0x217) [0xa9a1d7] Nov 10 17:07:53 svct03 smbd[13627]: #13 smbd [0xad1a90] Nov 10 17:07:53 svct03 smbd[13627]: #14 smbd(smbd_process+0x7ab) [0xad2bbb] Nov 10 17:07:53 svct03 smbd[13627]: #15 smbd(main+0xbd0) [0xcece90] Nov 10 17:07:53 svct03 smbd[13627]: #16 /lib/libc.so.6(__libc_start_main+0xdc) [0x385dec] Nov 10 17:07:53 svct03 smbd[13627]: #17 smbd [0xa5cf21] Nov 10 17:07:53 svct03 smbd[13627]: [2007/11/10 17:07:53, 0] lib/fault.c:dump_core(173) Nov 10 17:07:53 svct03 smbd[13627]: dumping core in /var/log/samba/cores/smbd Nov 10 17:07:53 svct03 smbd[13627]: Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/util.c:smb_panic(1614) Nov 10 17:07:52 svct03 smbd[13627]: PANIC (pid 13627): internal error Nov 10 17:07:52 svct03 smbd[13627]: [2007/11/10 17:07:52, 0] lib/util.c:log_stack_trace(1721) Nov 10 17:07:52 svct03 smbd[13627]: BACKTRACE: 18 stack frames: Nov 10 17:07:52 svct03 smbd[13627]: #0 smbd(log_stack_trace+0x2d) [0xc3e78d] Nov 10 17:07:52 svct03 smbd[13627]: #1 smbd(smb_panic+0x5d) [0xc3e8bd] Nov 10 17:07:52 svct03 smbd[13627]: #2 smbd [0xc29fba] Nov 10 17:07:52 svct03 smbd[13627]: #3 [0x4ec420] Nov 10 17:07:52 svct03 smbd[13627]: #4 /lib/libc.so.6(realloc+0xd9) [0x3d97e9] Nov 10 17:07:52 svct03 smbd[13627]: #5 smbd(Realloc+0x83) [0xc3f9d3] Nov 10 17:07:52 svct03 smbd[13627]: #6 smbd(realloc_array+0x46) [0xc3fae6] Nov 10 17:07:52 svct03 smbd[13627]: #7 smbd(add_sid_to_array+0xa7) [0xc37cd7] Nov 10 17:07:53 svct03 smbd[13627]: #8 smbd(add_sid_to_array_unique+0x65) [0xc37d45] Nov 10 17:07:53 svct03 smbd[13627]: #9 smbd(create_token_from_username+0x8aa) [0xc86b4a] Nov 10 17:07:53 svct03 smbd[13627]: #10 smbd [0xad4ed6] Nov 10 17:07:53 svct03 smbd[13627]: #11 smbd(make_connection+0x194) [0xad6934] Nov 10 17:07:53 svct03 smbd[13627]: #12 smbd(reply_tcon_and_X+0x217) [0xa9a1d7] Nov 10 17:07:53 svct03 smbd[13627]: #13 smbd [0xad1a90] Nov 10 17:07:53 svct03 smbd[13627]: #14 smbd(smbd_process+0x7ab) [0xad2bbb] Nov 10 17:07:53 svct03 smbd[13627]: #15 smbd(main+0xbd0) [0xcece90] Nov 10 17:07:53 svct03 smbd[13627]: #16 /lib/libc.so.6(__libc_start_main+0xdc) [0x385dec] Nov 10 17:07:53 svct03 smbd[13627]: #17 smbd [0xa5cf21] Nov 10 17:07:53 svct03 smbd[13627]: [2007/11/10 17:07:53, 0] lib/fault.c:dump_core(173) Nov 10 17:07:53 svct03 smbd[13627]: dumping core in /var/log/samba/cores/smbd ------------------------------------------------ My smb.conf : [global] netbios name = svct02 server string = Gestionnaire de domaine workgroup = dom.hilaire security = user domain master = yes domain logons = yes prefered master = yes local master = yes os level = 254 ;smb ports = 139 log level = 3 encrypt passwords = yes username map = /etc/samba/smbusers passdb expand explicit = no add machine script = /usr/sbin/smbldap-useradd -w -d /dev/null -c 'Machine Account' -M -s /bin/false %u add user script = /usr/sbin/smbldap-useradd -a -m '%u' delete user script = /usr/sbin/smbldap-userdel -r '%u' add group script = /usr/sbin/smbldap-groupadd -g '%g' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' ldap admin dn = cn=truc,dc=hilaire,dc=fr ldap suffix = dc=hilaire,dc=fr ldap passwd sync = yes ldap user suffix = ou=Users ldap group suffix = ou=Groups ldap machine suffix = ou=Hardware,ou=Computers ldap idmap suffix = ou=Users passdb backend = ldapsam:ldap://ldap2.dom.hilaire idmap backend = ldapsam:ldap://ldap2.dom.hilaire inherit acls = yes inherit permissions = yes wins support = yes wins proxy = no dns proxy = yes name resolve order = wins lmhosts bcast interfaces = eth* lo bind interfaces only = yes time server = yes socket options = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 lock directory = /var/lib/samba log file = /var/log/samba/%U.log veto oplock files = /*.mdb/*.doc/*.xls/*.ppt/*.FIC/*.NDX/ guest account = nobody logon script = %G.bat load printers = yes printing = cups printcap name = cups #unix charset = UTF-8 #dos charset = 850 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /bin/false winbind use default domain = no [netlogon] path = /home/netlogon writeable = yes public = no browseable = no read only = yes write list = @Informatique [profiles] path = /home/profiles writeable = yes browseable = no #create mask = 0001 #map hidden = yes directory mask = 0700 csc policy = disable [public] comment = Repertoire public path = /home/public public = yes guest only = yes writeable = yes browseable = yes printable = no create mask = 0600 directory mask = 0700 #vfs objects = recycle inherit permissions = no [homes] volume = disque reseau - %U invalid users = @nobody, public, ftp comment = Repertoire de %U browseable = no writeable = yes public = no create mask = 0700 directory mask = 0700 #vfs objects = recycle # # Repertoire reserve au service commercial [commercial$] path = /home/services/Commercial comment = Service commercial browseable = no writeable = yes public = no valid users = @Commercial create mask = 0660 directory mask = 0770 vfs objects = recycle # # Repertoire reserve a la comptabilite [comptabilite$] path = /home/services/Comptabilite comment = Service comptabilite #browseable = yes writeable = yes public = no valid users = @Comptabilite, @Informatique create mask = 0660 directory mask = 0770 vfs objects = recycle # # Repertoire reserve au service informatique [informatique$] path = /home/services/Informatique comment = Service informatique browseable = no writeable = yes public = no valid users = @Informatique, @Comptabilite create mask = 0660 directory mask = 0770 vfs objects = recycle # # Disque de sauvegarde [backup] path = /backup/ntbackup comment = Disque de sauvegarde browseable = yes writeable = yes public = no #valid users = @Informatique, @Direction, @Commercial, @Magasin, @Comptabilite create mask = 0600 directory mask = 0700 # # Stockage des drivers d'impressions [print$] comment = Pilotes imprimantes path = /var/spool/samba/drivers guest ok = no browseable = yes read only = yes write list = root [printers] comment = Imprimantes path = /var/spool/samba browseable = no public = yes guest ok = yes writeable = no printable = yes