samba 4.1.11 active directory with 13 dc member suddently crash, i try to start samba here is the samba interactive [root@pdc ~]# samba -M standard -i 3 samba version 4.1.11 started. Copyright Andrew Tridgell and the Samba Team 1992-2013 GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'sasl-DIGEST-MD5' registered GENSEC backend 'schannel' registered GENSEC backend 'spnego' registered GENSEC backend 'ntlmssp' registered GENSEC backend 'krb5' registered GENSEC backend 'fake_gssapi_krb5' registered NTPTR backend 'simple_ldb' NTVFS backend 'default' for type 1 registered NTVFS backend 'posix' for type 1 registered NTVFS backend 'unixuid' for type 1 registered NTVFS backend 'unixuid' for type 3 registered NTVFS backend 'unixuid' for type 2 registered NTVFS backend 'cifs' for type 1 registered NTVFS backend 'smb2' for type 1 registered NTVFS backend 'simple' for type 1 registered NTVFS backend 'cifsposix' for type 1 registered NTVFS backend 'default' for type 3 registered NTVFS backend 'default' for type 2 registered NTVFS backend 'nbench' for type 1 registered PROCESS_MODEL 'single' registered PROCESS_MODEL 'onefork' registered PROCESS_MODEL 'standard' registered PROCESS_MODEL 'prefork' registered AUTH backend 'sam' registered AUTH backend 'sam_ignoredomain' registered AUTH backend 'anonymous' registered AUTH backend 'winbind' registered AUTH backend 'winbind_wbclient' registered AUTH backend 'name_to_ntstatus' registered AUTH backend 'unix' registered SHARE backend [classic] registered. SHARE backend [ldb] registered. ldb_wrap open of privilege.ldb samba: using 'standard' process model DCERPC endpoint server 'rpcecho' registered DCERPC endpoint server 'epmapper' registered DCERPC endpoint server 'remote' registered DCERPC endpoint server 'srvsvc' registered DCERPC endpoint server 'wkssvc' registered DCERPC endpoint server 'unixinfo' registered DCERPC endpoint server 'samr' registered DCERPC endpoint server 'winreg' registered DCERPC endpoint server 'netlogon' registered DCERPC endpoint server 'dssetup' registered DCERPC endpoint server 'lsarpc' registered DCERPC endpoint server 'backupkey' registered DCERPC endpoint server 'spoolss' registered DCERPC endpoint server 'drsuapi' registered DCERPC endpoint server 'browser' registered DCERPC endpoint server 'eventlog6' registered DCERPC endpoint server 'dnsserver' registered dreplsrv_partition[CN=Configuration,DC=domain,DC=co,DC=id] loaded dreplsrv_partition[CN=Schema,CN=Configuration,DC=domain,DC=co,DC=id] loaded dreplsrv_partition[DC=domain,DC=co,DC=id] loaded dreplsrv_partition[DC=ForestDnsZones,DC=domain,DC=co,DC=id] loaded dreplsrv_partition[DC=DomainDnsZones,DC=domain,DC=co,DC=id] loaded ldb_wrap open of secrets.ldb ldb_wrap open of idmap.ldb /usr/local/samba/sbin/smbd: smbd version 4.1.11 started. /usr/local/samba/sbin/smbd: Copyright Andrew Tridgell and the Samba Team 1992-2013 kccsrv_partition[DC=domain,DC=co,DC=id] loaded kccsrv_partition[CN=Configuration,DC=domain,DC=co,DC=id] loaded kccsrv_partition[CN=Schema,CN=Configuration,DC=domain,DC=co,DC=id] loaded kccsrv_partition[DC=DomainDnsZones,DC=domain,DC=co,DC=id] loaded kccsrv_partition[DC=ForestDnsZones,DC=domain,DC=co,DC=id] loaded /usr/local/samba/sbin/smbd: Registered MSG_REQ_POOL_USAGE /usr/local/samba/sbin/smbd: Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED /usr/local/samba/sbin/smbd: lp_load_ex: refreshing parameters /usr/local/samba/sbin/smbd: Initialising global parameters /usr/local/samba/sbin/smbd: rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) /usr/local/samba/sbin/smbd: params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" /usr/local/samba/sbin/smbd: Processing section "[global]" /usr/local/samba/sbin/smbd: Processing section "[netlogon]" /usr/local/samba/sbin/smbd: Processing section "[sysvol]" /usr/local/samba/sbin/smbd: adding IPC service /usr/local/samba/sbin/smbd: added interface eth0 ip=172.16.99.3 bcast=172.16.99.255 netmask=255.255.255.0 /usr/local/samba/sbin/smbd: loaded services /usr/local/samba/sbin/smbd: Becoming a daemon. ldb_wrap open of secrets.ldb Calling DNS name update script Calling SPN name update script Not authoritative for 'api.facebook.com', forwarding /usr/local/samba/sbin/smbd: ldb_wrap open of idmap.ldb Terminating connection - 'wbsrv: wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED' single_terminate: reason[wbsrv: wbsrv_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED] /usr/local/samba/sbin/smbd: Initialise the svcctl registry keys if needed. /usr/local/samba/sbin/smbd: Initialise the eventlog registry keys if needed. /usr/local/samba/sbin/smbd: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsstart_background_queue: Starting background LPQ thread /usr/local/samba/sbin/smbd: open_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available /usr/local/samba/sbin/smbd: open_socket_in(): setsockopt: SO_REUSEPORT = true on port 139 failed with error = Protocol not available /usr/local/samba/sbin/smbd: open_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available /usr/local/samba/sbin/smbd: open_socket_in(): setsockopt: SO_REUSEPORT = true on port 139 failed with error = Protocol not available /usr/local/samba/sbin/smbd: Failed to fetch record! /usr/local/samba/sbin/smbd: reloading printcap cache /usr/local/samba/sbin/smbd: waiting for connections /usr/local/samba/sbin/smbd: reload status: ok /usr/local/samba/sbin/smbd: Unable to connect to CUPS server localhost:631 - Connection refused /usr/local/samba/sbin/smbd: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Not authoritative for 'id-mg6.mail.yahoo.com', forwarding Not authoritative for 'id-mg6.mail.yahoo.com', forwarding Completed SPN update check OK Not authoritative for 'id-mg6.mail.yahoo.com', forwarding Not authoritative for 'id-mg6.mail.yahoo.com', forwarding Not authoritative for '81.99.16.172.in-addr.arpa', forwarding Completed DNS update check OK Not authoritative for 'fhr.data.mozilla.com', forwarding Not authoritative for 'www.csafer.net', forwarding Not authoritative for 'crl.microsoft.com', forwarding Not authoritative for 'www.csafer.net', forwarding Not authoritative for 'crl.microsoft.com', forwarding Not authoritative for 'fhr.data.mozilla.com', forwarding Not authoritative for 'crl.microsoft.com', forwarding Not authoritative for 'www.csafer.net', forwarding Not authoritative for 'mscrl.microsoft.com', forwarding Not authoritative for 'mscrl.microsoft.com', forwarding Not authoritative for '1.0.0.127.in-addr.arpa', forwarding Not authoritative for 'www.download.windowsupdate.com', forwarding Not authoritative for 'www.download.windowsupdate.com', forwarding Not authoritative for 'www.download.windowsupdate.com', forwarding Not authoritative for 'graph.facebook.com', forwarding Not authoritative for 'www.google.com', forwarding Not authoritative for 'gtssl-ocsp.geotrust.com', forwarding Not authoritative for 'updates2.express-files.com', forwarding Not authoritative for 'gtssl-ocsp.geotrust.com', forwarding Not authoritative for 'gtssl-ocsp.geotrust.com', forwarding Not authoritative for 'updates2.express-files.com', forwarding Not authoritative for '1.0.0.127.in-addr.arpa', forwarding Not authoritative for '172.99.16.172.in-addr.arpa', forwarding Not authoritative for 'ui.skype.com', forwarding Not authoritative for 'ui.skype.com', forwarding Not authoritative for 'co.id', forwarding Not authoritative for 'www.facebook.com', forwarding Not authoritative for 'www.facebook.com', forwarding Not authoritative for 'www.facebook.com', forwarding Not authoritative for '1.0.0.127.in-addr.arpa', forwarding Registered PDC<00> with 172.16.99.3 on interface 172.16.99.255 Registered PDC<03> with 172.16.99.3 on interface 172.16.99.255 Registered PDC<20> with 172.16.99.3 on interface 172.16.99.255 Registered domain<1b> with 172.16.99.3 on interface 172.16.99.255 Registered domain<1c> with 172.16.99.3 on interface 172.16.99.255 Registered domain<00> with 172.16.99.3 on interface 172.16.99.255 Not authoritative for 'updates.yourfiledownloader.com', forwarding Not authoritative for '173.99.16.172.in-addr.arpa', forwarding Not authoritative for '1.0.0.127.in-addr.arpa', forwarding Not authoritative for '9.a.c-0.19-21000801.33.15e0.1d70.2f4a.410.0.uac9llzmnr8nnl7dgawirezrrj.avts.mcafee.com', forwarding Not authoritative for '1.0.0.127.in-addr.arpa', forwarding Not authoritative for 'updates.yourfiledownloader.com', forwarding Not authoritative for 'updates.yourfiledownloader.com', forwarding Not authoritative for 'mqtt.facebook.com', forwarding Not authoritative for 'apps.skype.com', forwarding Not authoritative for 'apps.skype.com', forwarding Not authoritative for 'apps.skype.com', forwarding ldb_wrap open of secrets.ldb Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 172.17.1.2 Kerberos: AS-REQ PDC$@domain.CO.ID from ipv4:172.16.99.3:54343 for krbtgt/domain.CO.ID@domain.CO.ID Kerberos: No preauth found, returning PREAUTH-REQUIRED -- PDC$@domain.CO.ID Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 172.17.1.2 Kerberos: AS-REQ PDC$@domain.CO.ID from ipv4:172.16.99.3:42500 for krbtgt/domain.CO.ID@domain.CO.ID Kerberos: Client sent patypes: encrypted-timestamp Kerberos: Looking for PKINIT pa-data -- PDC$@domain.CO.ID Kerberos: Looking for ENC-TS pa-data -- PDC$@domain.CO.ID Kerberos: ENC-TS Pre-authentication succeeded -- PDC$@domain.CO.ID using arcfour-hmac-md5 Kerberos: AS-REQ authtime: 2014-08-26T11:08:57 starttime: unset endtime: 2014-08-26T21:08:57 renew till: unset Kerberos: Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, des3-cbc-sha1, des3-cbc-md5, arcfour-hmac-md5, using arcfour-hmac-md5/arcfour-hmac-md5 Kerberos: Requested flags: forwardable Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 172.17.1.2 Kerberos: TGS-REQ PDC$@domain.CO.ID from ipv4:172.16.99.3:51346 for GC/DC15.domain.co.id/domain.co.id@domain.CO.ID [canonicalize] Kerberos: TGS-REQ authtime: 2014-08-26T11:08:57 starttime: 2014-08-26T11:08:58 endtime: 2014-08-26T21:08:57 renew till: unset Error reading smb_krb5 reply packet: NT_STATUS_CONNECTION_REFUSED from 172.17.1.2 Not authoritative for '174.99.16.172.in-addr.arpa', forwarding Not authoritative for 'download.windowsupdate.com', forwarding Not authoritative for '175.99.16.172.in-addr.arpa', forwarding dreplsrv_notify: DsReplicaSync successfuly sent to 78b0e96d-1d0f-416d-9ff6-680c6ea1fd43._msdcs.domain.co.id dreplsrv_notify: DsReplicaSync successfuly sent to abda82cc-5969-486c-9ada-790f623006ce._msdcs.domain.co.id *** glibc detected *** samba: realloc(): invalid next size: 0x00007f9aeef1aa00 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x76166)[0x7f9ae99b9166] /lib64/libc.so.6(+0x7bc17)[0x7f9ae99bec17] /lib64/libc.so.6(realloc+0xe5)[0x7f9ae99bedd5] /usr/local/samba/lib/private/libtalloc.so.2(_talloc_realloc+0x64c)[0x7f9aec0dca80] /usr/local/samba/lib/private/libtalloc.so.2(_talloc_realloc_array+0x5b)[0x7f9aec0de01e] /usr/local/samba/lib/service/dns.so(+0x72b9)[0x7f9ada3db2b9] /usr/local/samba/lib/service/dns.so(+0x74e1)[0x7f9ada3db4e1] /usr/local/samba/lib/service/dns.so(dns_server_process_query_send+0x222)[0x7f9ada3dc1b1] /usr/local/samba/lib/service/dns.so(+0x452c)[0x7f9ada3d852c] /usr/local/samba/lib/service/dns.so(+0x52a1)[0x7f9ada3d92a1] /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)[0x7f9aec2e59d7] /usr/local/samba/lib/private/libtevent.so.0(+0x5a09)[0x7f9aec2e5a09] /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)[0x7f9aec2e5a30] /usr/local/samba/lib/private/libsamba-sockets.so(+0xab3a)[0x7f9ae7295b3a] /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_notify_callback+0x6a)[0x7f9aec2e59d7] /usr/local/samba/lib/private/libtevent.so.0(+0x5a09)[0x7f9aec2e5a09] /usr/local/samba/lib/private/libtevent.so.0(_tevent_req_done+0x25)[0x7f9aec2e5a30] /usr/local/samba/lib/private/libsamba-sockets.so(+0xe0be)[0x7f9ae72990be] /usr/local/samba/lib/private/libsamba-sockets.so(+0xd7e1)[0x7f9ae72987e1] /usr/local/samba/lib/private/libtevent.so.0(+0xc64b)[0x7f9aec2ec64b] /usr/local/samba/lib/private/libtevent.so.0(+0xcc73)[0x7f9aec2ecc73] /usr/local/samba/lib/private/libtevent.so.0(+0x997f)[0x7f9aec2e997f] /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xfc)[0x7f9aec2e3fa9] /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25)[0x7f9aec2e4221] /usr/local/samba/lib/private/libtevent.so.0(+0x9a21)[0x7f9aec2e9a21] /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b)[0x7f9aec2e42ec] /usr/local/samba/lib/process_model/standard.so(+0x14cd)[0x7f9ae009a4cd] /usr/local/samba/lib/private/libservice.so(task_server_startup+0x92)[0x7f9aecb5d8ac] /usr/local/samba/lib/private/libservice.so(+0x2cee)[0x7f9aecb5bcee] /usr/local/samba/lib/private/libservice.so(server_service_startup+0x121)[0x7f9aecb5be2f] samba(+0xbde9)[0x7f9aede7bde9] samba(main+0x24)[0x7f9aede7be7a] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f9ae9961d1d] samba(+0x5d19)[0x7f9aede75d19] ======= Memory map: ======== 7f9ac3723000-7f9ac3739000 r-xp 00000000 08:02 1044883 /lib64/libgcc_s-4.4.7-20120601.so.1 7f9ac3739000-7f9ac3938000 ---p 00016000 08:02 1044883 /lib64/libgcc_s-4.4.7-20120601.so.1 7f9ac3938000-7f9ac3939000 rw-p 00015000 08:02 1044883 /lib64/libgcc_s-4.4.7-20120601.so.1 7f9ac3943000-7f9ac3944000 rw-p 00000000 00:00 0 7f9ac3944000-7f9ac39ad000 rw-s 00000000 08:03 1047541 /usr/local/samba/private/secrets.tdb 7f9ac39ad000-7f9ac3dbb000 rw-s 00000000 08:03 1047535 /usr/local/samba/private/sam.ldb.d/DC=FORESTDNSZONES,DC=domain,DC=CO,DC=ID.ldb 7f9ac3dbb000-7f9acd767000 rw-s 00000000 08:03 1047534 /usr/local/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=domain,DC=CO,DC=ID.ldb 7f9acd767000-7f9ace150000 rw-s 00000000 08:03 1047524 /usr/local/samba/private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION,DC=domain,DC=CO,DC=ID.ldb 7f9ace150000-7f9acf0f4000 rw-s 00000000 08:03 1047523 /usr/local/samba/private/sam.ldb.d/CN=CONFIGURATION,DC=domain,DC=CO,DC=ID.ldb 7f9acf0f4000-7f9ad16c8000 rw-s 00000000 08:03 1047522 /usr/local/samba/private/sam.ldb.d/DC=domain,DC=CO,DC=ID.ldb 7f9ad16c8000-7f9ad1ad6000 rw-s 00000000 08:03 1047517 /usr/local/samba/private/sam.ldb 7f9ad1ad6000-7f9ad1ad8000 r-xp 00000000 08:03 1047100 /usr/local/samba/lib/ldb/wins_ldb.so 7f9ad1ad8000-7f9ad1cd7000 ---p 00002000 08:03 1047100 /usr/local/samba/lib/ldb/wins_ldb.so 7f9ad1cd7000-7f9ad1cd8000 rw-p 00001000 08:03 1047100 /usr/local/samba/lib/ldb/wins_ldb.so 7f9ad1cd8000-7f9ad1cdc000 r-xp 00000000 08:03 1046986 /usr/local/samba/lib/ldb/update_keytab.so 7f9ad1cdc000-7f9ad1edb000 ---p 00004000 08:03 1046986 /usr/local/samba/lib/ldb/update_keytab.so 7f9ad1edb000-7f9ad1edc000 rw-p 00003000 08:03 1046986 /usr/local/samba/lib/ldb/update_keytab.so 7f9ad1edc000-7f9ad1eec000 r-xp 00000000 08:03 1046848 /usr/local/samba/lib/ldb/tdb.so 7f9ad1eec000-7f9ad20eb000 ---p 00010000 08:03 1046848 /usr/local/samba/lib/ldb/tdb.so 7f9ad20eb000-7f9ad20ec000 rw-p 0000f000 08:03 1046848 /usr/local/samba/lib/ldb/tdb.so 7f9ad20ec000-7f9ad20ee000 r-xp 00000000 08:03 1046998 /usr/local/samba/lib/ldb/subtree_rename.so 7f9ad20ee000-7f9ad22ed000 ---p 00002000 08:03 1046998 /usr/local/samba/lib/ldb/subtree_rename.so 7f9ad22ed000-7f9ad22ee000 rw-p 00001000 08:03 1046998 /usr/local/samba/lib/ldb/subtree_rename.so 7f9ad22ee000-7f9ad22f0000 r-xp 00000000 08:03 1046999 /usr/local/samba/lib/ldb/subtree_delete.so 7f9ad22f0000-7f9ad24ef000 ---p 00002000 08:03 1046999 /usr/local/samba/lib/ldb/subtree_delete.so 7f9ad24ef000-7f9ad24f0000 rw-p 00001000 08:03 1046999 /usr/local/samba/lib/ldb/subtree_delete.so 7f9ad24f0000-7f9ad24f2000 r-xp 00000000 08:03 1046847 /usr/local/samba/lib/ldb/skel.so 7f9ad24f2000-7f9ad26f1000 ---p 00002000 08:03 1046847 /usr/local/samba/lib/ldb/skel.so 7f9ad26f1000-7f9ad26f2000 rw-p 00001000 08:03 1046847 /usr/local/samba/lib/ldb/skel.so 7f9ad26f2000-7f9ad26f7000 r-xp 00000000 08:03 1046975 /usr/local/samba/lib/ldb/simple_ldap_map.so 7f9ad26f7000-7f9ad28f6000 ---p 00005000 08:03 1046975 /usr/local/samba/lib/ldb/simple_ldap_map.so 7f9ad28f6000-7f9ad28f9000 rw-p 00004000 08:03 1046975 /usr/local/samba/lib/ldb/simple_ldap_map.so 7f9ad28f9000-7f9ad28fa000 r-xp 00000000 08:03 1047010 /usr/local/samba/lib/ldb/simple_dn.so 7f9ad28fa000-7f9ad2afa000 ---p 00001000 08:03 1047010 /usr/local/samba/lib/ldb/simple_dn.so 7f9ad2afa000-7f9ad2afb000 rw-p 00001000 08:03 1047010 /usr/local/samba/lib/ldb/simple_dn.so 7f9ad2afb000-7f9ad2afd000 r-xp 00000000 08:03 1046983 /usr/local/samba/lib/ldb/show_deleted.so 7f9ad2afd000-7f9ad2cfc000 ---p 00002000 08:03 1046983 /usr/local/samba/lib/ldb/show_deleted.so=============================================================== INTERNAL ERROR: Signal 6 in pid 386 (4.1.11) Please read the Trouble-Shooting section of the Samba HOWTO =============================================================== PANIC: internal error ldb_wrap open of secrets.ldb Warning: 60 extra bytes in incoming RPC request ldb_wrap open of secrets.ldb Could not find session key for attempted schannel connection from DEWINOVITASARI: NT_STATUS_NOT_FOUND Terminating connection - 'dcesrv: NT_STATUS_CONNECTION_DISCONNECTED' single_terminate: reason[dcesrv: NT_STATUS_CONNECTION_DISCONNECTED] dns child failed to find name '6e084c8d-4695-4ec6-90f3-646b058ad619._msdcs.domain.co.id' of type A dns child failed to find name '5195fa72-7a35-4dbe-bb9a-c6ccaf5ac777._msdcs.domain.co.id' of type A dns child failed to find name '8d712962-b9b6-4953-aa60-a5e1cdad369d._msdcs.domain.co.id' of type A dns child failed to find name '93f50788-3748-4e67-bcd5-aa1391753ec5._msdcs.domain.co.id' of type A dns child failed to find name 'fc862e34-cf5c-406d-a11b-c13b3f36184a._msdcs.domain.co.id' of type A dns child failed to find name '05082813-471a-4e7d-a3c5-b0d582300d4c._msdcs.domain.co.id' of type A dns child failed to find name '3e7504d8-8a31-4010-9c0b-e739b116a8e7._msdcs.domain.co.id' of type A dns child failed to find name 'af467478-e687-484c-b51e-4a7e5a9917d6._msdcs.domain.co.id' of type A dns child failed to find name 'fade5ea7-fc43-414b-83c9-fd7ef8f79faf._msdcs.domain.co.id' of type A dns child failed to find name '8b2cd758-30bf-4ed5-9ec1-ef6f0069ac35._msdcs.domain.co.id' of type A dns child failed to find name 'a74032f5-8251-42e3-bb63-48b18a442c1c._msdcs.domain.co.id' of type A dreplsrv_notify: DsReplicaSync successfuly sent to 78b0e96d-1d0f-416d-9ff6-680c6ea1fd43._msdcs.domain.co.id
Is this a showstopper for 4.2.0?
no regression, no blocker
do you still see those crashes with up-to-date versions?
I cannot see a crash in # samba --version Version 4.8.3 If you still find a crash, please help us in smb.conf, coredump file. Though I have not attempted 4.1.11