I have been working on getting a multi domain setup going with samba 3.0.4 on RedHat Enterprise 3.0 using OpenLDAP as the backend. After setting up multiple LDAP servers and testing the replication between them, I ran into a new error. The PDC works fine when it is connecting to the master ldap server, but when it is using the slave as the backend the smbd daemon appears to seg fault when I attempt to add a W2K workstation to the domain. The workstation gives an RPC error. I am using 0.8.4 smbldap-tools configured with the slave/master information as the auto creation script and it seems to be doing its part ok with the addition of "; sleep 5" after the script entry in the smb.conf file. The problem appears to come after smbldap-useradd has added the basic entries to the ldap server. As I said, if I restart samba and point it to the master everything works just as it should. Here are the relevent entries from the messages log file: May 27 07:56:55 x345-4 smbd[7271]: [2004/05/27 07:56:55, 0] lib/fault.c:fault_report(36) May 27 07:56:55 x345-4 smbd[7271]: ==============================================================May 27 07:56:55 x345-4 smbd[7271]: [2004/05/27 07:56:55, 0] lib/fault.c:fault_report(37) May 27 07:56:55 x345-4 smbd[7271]: INTERNAL ERROR: Signal 11 in pid 7271 (3.0.4) May 27 07:56:55 x345-4 smbd[7271]: Please read the appendix Bugs of the Samba HOWTO collection May 27 07:56:55 x345-4 smbd[7271]: [2004/05/27 07:56:55, 0] lib/fault.c:fault_report(39) May 27 07:56:55 x345-4 smbd[7271]: ==============================================================May 27 07:56:55 x345-4 smbd[7271]: [2004/05/27 07:56:55, 0] lib/util.c:smb_panic2(1398) May 27 07:56:55 x345-4 smbd[7271]: PANIC: internal error May 27 07:56:55 x345-4 smbd[7271]: [2004/05/27 07:56:55, 0] lib/util.c:smb_panic2(1406) May 27 07:56:55 x345-4 smbd[7271]: BACKTRACE: 36 stack frames: May 27 07:56:55 x345-4 smbd[7271]: #0 /usr/local/samba/sbin/smbd(smb_panic2+0x18c) [0x818fd00] May 27 07:56:55 x345-4 smbd[7271]: #1 /usr/local/samba/sbin/smbd(smb_panic+0x10) [0x818fb72] May 27 07:56:55 x345-4 smbd[7271]: #2 /usr/local/samba/sbin/smbd [0x818022a] May 27 07:56:55 x345-4 smbd[7271]: #3 /usr/local/samba/sbin/smbd [0x818027f] May 27 07:56:55 x345-4 smbd[7271]: #4 /lib/tls/libc.so.6 [0xb73bcc08] May 27 07:56:55 x345-4 smbd[7271]: #5 /usr/lib/libldap.so.2(ldap_new_connection+0x1b4) [0xb75d35c4] May 27 07:56:55 x345-4 smbd[7271]: #6 /usr/lib/libldap.so.2(ldap_send_server_request+0x2a6) [0xb75d33f6] May 27 07:56:55 x345-4 smbd[7271]: #7 /usr/lib/libldap.so.2(ldap_chase_v3referrals+0x235) [0xb75d4215] May 27 07:56:55 x345-4 smbd[7271]: #8 /usr/lib/libldap.so.2 [0xb75c47bf] May 27 07:56:55 x345-4 smbd[7271]: #9 /usr/lib/libldap.so.2 [0xb75c3bdd] May 27 07:56:55 x345-4 smbd[7271]: #10 /usr/lib/libldap.so.2(ldap_modify_ext_s+0x79) [0xb75ca209] May 27 07:56:56 x345-4 smbd[7271]: #11 /usr/lib/libldap.so.2(ldap_modify_s+0x3d) [0xb75ca26d] May 27 07:56:56 x345-4 smbd[7271]: #12 /usr/local/samba/sbin/smbd(smbldap_modify+0x11b) [0x81e8b69] May 27 07:56:56 x345-4 smbd[7271]: #13 /usr/local/samba/sbin/smbd [0x8170fd1] May 27 07:56:56 x345-4 smbd[7271]: #14 /usr/local/samba/sbin/smbd [0x8172367] May 27 07:56:56 x345-4 smbd[7271]: #15 /usr/local/samba/sbin/smbd [0x8169ecc] May 27 07:56:56 x345-4 smbd[7271]: #16 /usr/local/samba/sbin/smbd(pdb_add_sam_account+0x29) [0x816b4fc] May 27 07:56:56 x345-4 smbd[7271]: #17 /usr/local/samba/sbin/smbd(_samr_create_user+0x3b3) [0x811c272] May 27 07:56:56 x345-4 smbd[7271]: #18 /usr/local/samba/sbin/smbd [0x81153dd] May 27 07:56:56 x345-4 smbd[7271]: #19 /usr/local/samba/sbin/smbd(api_rpcTNP+0x1f3) [0x8129fc5] May 27 07:56:56 x345-4 smbd[7271]: #20 /usr/local/samba/sbin/smbd(api_pipe_request+0xcd) [0x8129d57] May 27 07:56:56 x345-4 smbd[7271]: #21 /usr/local/samba/sbin/smbd [0x812442e] May 27 07:56:56 x345-4 smbd[7271]: #22 /usr/local/samba/sbin/smbd [0x8124606] May 27 07:56:56 x345-4 smbd[7271]: #23 /usr/local/samba/sbin/smbd [0x8124882] May 27 07:56:56 x345-4 smbd[7271]: #24 /usr/local/samba/sbin/smbd [0x8124a3b] May 27 07:56:56 x345-4 smbd[7271]: #25 /usr/local/samba/sbin/smbd(write_to_pipe+0xd9) [0x81249bf] May 27 07:56:56 x345-4 smbd[7271]: #26 /usr/local/samba/sbin/smbd [0x808865e] May 27 07:56:56 x345-4 smbd[7271]: #27 /usr/local/samba/sbin/smbd [0x8088831] May 27 07:56:56 x345-4 smbd[7271]: #28 /usr/local/samba/sbin/smbd(reply_trans+0x959) [0x80891f2] May 27 07:56:56 x345-4 smbd[7271]: #29 /usr/local/samba/sbin/smbd [0x80bf5f6] May 27 07:56:56 x345-4 smbd[7271]: #30 /usr/local/samba/sbin/smbd [0x80bf680] May 27 07:56:56 x345-4 smbd[7271]: #31 /usr/local/samba/sbin/smbd(process_smb+0x1b9) [0x80bf97b] May 27 07:56:56 x345-4 smbd[7271]: #32 /usr/local/samba/sbin/smbd(smbd_process+0x153) [0x80c03d6] May 27 07:56:56 x345-4 smbd[7271]: #33 /usr/local/samba/sbin/smbd(main+0x706) [0x81eb5cf] May 27 07:56:56 x345-4 smbd[7271]: #34 /lib/tls/libc.so.6(__libc_start_main+0xf8) [0xb73aa748] May 27 07:56:56 x345-4 smbd[7271]: #35 /usr/local/samba/sbin/smbd(chroot+0x31) [0x80773e5] May 27 07:56:56 x345-4 smbd[7271]: Can anyone tell me if this is a known issue? thanks, Andrew Reilly