Peter Serbe
2015-Mar-27 20:46 UTC
[Samba] samba4.2.0 crashes on connection attempt with an internal samba error...
Dear Samba fellows, I try to install samba on my notebook in order to get it into my samba based domain. It was a bit picky to get everything assembled on the notebook - but that last issue is hard. :-( I installed it from the sources on Debian Jessie - exactly in the same manner I used for my servers. I got sssd and kerberos working...> root at alecto:/usr/src/samba4/samba-4.2.0# getent passwd administrator > administrator:*:10001:20000:Administrator:/home/Administrator:/bin/sh > root at alecto:/usr/src/samba4/samba-4.2.0# kinit administrator > Password for administrator at HOME.SERBE.CH: > root at alecto:/usr/src/samba4/samba-4.2.0# klist > Ticket cache: FILE:/tmp/krb5cc_0 > Default principal: administrator at HOME.SERBE.CH > > Valid starting Expires Service principal > 27.03.2015 21:32:35 28.03.2015 07:32:35 krbtgt/HOME.SERBE.CH at HOME.SERBE.CH > renew until 28.03.2015 21:32:29Samba seems to start OK.> root at alecto:/usr/src/samba4/samba-4.2.0# tail -n 10 /var/log/daemon.log > Mar 27 21:34:39 alecto winbindd[4864]: [2015/03/27 21:34:39.873778, 0] ../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache) > Mar 27 21:34:39 alecto winbindd[4864]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 > Mar 27 21:34:39 alecto winbindd[4864]: [2015/03/27 21:34:39.877210, 0] ../lib/util/become_daemon.c:124(daemon_ready) > Mar 27 21:34:39 alecto winbindd[4864]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections > Mar 27 21:34:39 alecto nmbd[4867]: [2015/03/27 21:34:39.899625, 0] ../lib/util/become_daemon.c:124(daemon_ready) > Mar 27 21:34:39 alecto nmbd[4867]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections > Mar 27 21:34:39 alecto samba4[4859]: Starting Samba daemons: winbindd nmbd smbd. > Mar 27 21:34:40 alecto smbd[4870]: [2015/03/27 21:34:40.413519, 0] ../lib/util/become_daemon.c:124(daemon_ready) > Mar 27 21:34:40 alecto smbd[4870]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsOn the first attempt to connect to samba, it will crash however.> root at alecto:/usr/src/samba4/samba-4.2.0# smbclient -L localhost -U% > protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED > root at alecto:/usr/src/samba4/samba-4.2.0# tail -n 100 /var/log/daemon.log... Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704070, 0] ../lib/util/fault.c:78(fault_report) Mar 27 21:39:56 alecto smbd[5091]: ==============================================================Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704165, 0] ../lib/util/fault.c:79(fault_report) Mar 27 21:39:56 alecto smbd[5091]: INTERNAL ERROR: Signal 11 in pid 5091 (4.2.0) Mar 27 21:39:56 alecto smbd[5091]: Please read the Trouble-Shooting section of the Samba HOWTO Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704213, 0] ../lib/util/fault.c:81(fault_report) Mar 27 21:39:56 alecto smbd[5091]: ==============================================================Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704248, 0] ../source3/lib/util.c:788(smb_panic_s3) Mar 27 21:39:56 alecto smbd[5091]: PANIC (pid 5091): internal error Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.705134, 0] ../source3/lib/util.c:899(log_stack_trace) Mar 27 21:39:56 alecto smbd[5091]: BACKTRACE: 44 stack frames: Mar 27 21:39:56 alecto smbd[5091]: #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f9056a278d0] Mar 27 21:39:56 alecto smbd[5091]: #6 /usr/local/samba/lib/private/libkrb5-samba4.so.26(krb5_storage_free+0x10) [0x7f904a0a4b48] Mar 27 21:39:56 alecto smbd[5091]: #7 /usr/local/samba/lib/private/libkrb5-samba4.so.26(+0x476a3) [0x7f904a08a6a3] Mar 27 21:39:56 alecto smbd[5091]: #8 /usr/local/samba/lib/private/libkrb5-samba4.so.26(krb5_kt_end_seq_get+0x68) [0x7f904a088c22] Mar 27 21:39:56 alecto smbd[5091]: #9 /usr/local/samba/lib/private/libgse-samba4.so(+0xa5d6) [0x7f904ecbb5d6] Mar 27 21:39:56 alecto smbd[5091]: #10 /usr/local/samba/lib/private/libgse-samba4.so(gse_krb5_get_server_keytab+0x18d) [0x7f904ecbbb49] Mar 27 21:39:56 alecto smbd[5091]: #11 /usr/local/samba/lib/private/libgse-samba4.so(+0xb5ff) [0x7f904ecbc5ff] Mar 27 21:39:56 alecto smbd[5091]: #12 /usr/local/samba/lib/private/libgse-samba4.so(+0xc631) [0x7f904ecbd631] Mar 27 21:39:56 alecto smbd[5091]: #13 /usr/local/samba/lib/libgensec.so.0(gensec_start_mech+0x27e) [0x7f904f12f322] Mar 27 21:39:56 alecto smbd[5091]: #14 /usr/local/samba/lib/libgensec.so.0(gensec_start_mech_by_ops+0x27) [0x7f904f12f3d3] Mar 27 21:39:56 alecto smbd[5091]: #15 /usr/local/samba/lib/libgensec.so.0(+0xb976) [0x7f904f11c976] Mar 27 21:39:56 alecto smbd[5091]: #16 /usr/local/samba/lib/libgensec.so.0(+0xc388) [0x7f904f11d388] Mar 27 21:39:56 alecto smbd[5091]: #17 /usr/local/samba/lib/libgensec.so.0(+0xdac2) [0x7f904f11eac2] Mar 27 21:39:56 alecto smbd[5091]: #18 /usr/local/samba/lib/libgensec.so.0(gensec_update_ev+0xbd) [0x7f904f12cc0c] Mar 27 21:39:56 alecto smbd[5091]: #19 /usr/local/samba/lib/libgensec.so.0(gensec_update+0x46) [0x7f904f12cf1c] Mar 27 21:39:56 alecto smbd[5091]: #20 /usr/local/samba/lib/private/libsmbd-base-samba4.so(negprot_spnego+0x111) [0x7f905630ce1b] Mar 27 21:39:56 alecto smbd[5091]: #21 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0xeb830) [0x7f905630d830] Mar 27 21:39:56 alecto smbd[5091]: #22 /usr/local/samba/lib/private/libsmbd-base-samba4.so(reply_negprot+0x979) [0x7f905630e316] Mar 27 21:39:56 alecto smbd[5091]: #23 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16a699) [0x7f905638c699] Mar 27 21:39:56 alecto smbd[5091]: #24 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16a863) [0x7f905638c863] Mar 27 21:39:56 alecto smbd[5091]: #25 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16b976) [0x7f905638d976] Mar 27 21:39:56 alecto smbd[5091]: #26 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16cc74) [0x7f905638ec74] Mar 27 21:39:56 alecto smbd[5091]: #27 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16cd59) [0x7f905638ed59] Mar 27 21:39:56 alecto smbd[5091]: #28 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x54f) [0x7f905444d935] Mar 27 21:39:56 alecto smbd[5091]: #29 /usr/local/samba/lib/libsmbconf.so.0(+0x3fbc4) [0x7f905444dbc4] Mar 27 21:39:56 alecto smbd[5091]: #30 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f9055a064f9] Mar 27 21:39:56 alecto smbd[5091]: #31 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25) [0x7f9055a06743] Mar 27 21:39:56 alecto smbd[5091]: #32 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) [0x7f9055a0680e] Mar 27 21:39:56 alecto smbd[5091]: #33 /usr/local/samba/lib/private/libsmbd-base-samba4.so(smbd_process+0xb19) [0x7f90563932a1] Mar 27 21:39:56 alecto smbd[5091]: #34 /usr/local/samba/sbin/smbd(+0xa83d) [0x7f9056e6283d] Mar 27 21:39:56 alecto smbd[5091]: #35 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x54f) [0x7f905444d935] Mar 27 21:39:56 alecto smbd[5091]: #36 /usr/local/samba/lib/libsmbconf.so.0(+0x3fbc4) [0x7f905444dbc4] Mar 27 21:39:56 alecto smbd[5091]: #37 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f9055a064f9] Mar 27 21:39:56 alecto smbd[5091]: #38 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25) [0x7f9055a06743] Mar 27 21:39:56 alecto smbd[5091]: #39 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) [0x7f9055a0680e] Mar 27 21:39:56 alecto smbd[5091]: #40 /usr/local/samba/sbin/smbd(+0xb5ba) [0x7f9056e635ba] Mar 27 21:39:56 alecto smbd[5091]: #41 /usr/local/samba/sbin/smbd(main+0x17a7) [0x7f9056e64f18] Mar 27 21:39:56 alecto smbd[5091]: #42 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f9052d3db45] Mar 27 21:39:56 alecto smbd[5091]: #43 /usr/local/samba/sbin/smbd(+0x5e89) [0x7f9056e5de89] Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.716189, 0] ../source3/lib/dumpcore.c:318(dump_core) Mar 27 21:39:56 alecto smbd[5091]: dumping core in /usr/local/samba/var/cores/smbd Mar 27 21:39:56 alecto smbd[5091]: I have no clue, on where to start to debug this... I tried to add the libraries again, which are mentioned in the OS requirements. I also peeked around in the samba wiki's troubleshooting sections - but without any success. I could also post the smb.conf if necessary (and the krb5.conf and sssd.conf files). But I got all these from my working member server by just exchanging the machine name. So I suspect the issue is hidden somewhere else. Thank You in advance! Any help is really appretiated. - Peter
Rowland Penny
2015-Mar-27 23:15 UTC
[Samba] samba4.2.0 crashes on connection attempt with an internal samba error...
On 27/03/15 20:46, Peter Serbe wrote:> Dear Samba fellows, > > I try to install samba on my notebook in order to get it into > my samba based domain. It was a bit picky to get everything > assembled on the notebook - but that last issue is hard. :-( > > I installed it from the sources on Debian Jessie - exactly > in the same manner I used for my servers. I got sssd and > kerberos working... > >> root at alecto:/usr/src/samba4/samba-4.2.0# getent passwd administrator >> administrator:*:10001:20000:Administrator:/home/Administrator:/bin/sh >> root at alecto:/usr/src/samba4/samba-4.2.0# kinit administrator >> Password for administrator at HOME.SERBE.CH: >> root at alecto:/usr/src/samba4/samba-4.2.0# klist >> Ticket cache: FILE:/tmp/krb5cc_0 >> Default principal: administrator at HOME.SERBE.CH >> >> Valid starting Expires Service principal >> 27.03.2015 21:32:35 28.03.2015 07:32:35 krbtgt/HOME.SERBE.CH at HOME.SERBE.CH >> renew until 28.03.2015 21:32:29 > Samba seems to start OK. > >> root at alecto:/usr/src/samba4/samba-4.2.0# tail -n 10 /var/log/daemon.log >> Mar 27 21:34:39 alecto winbindd[4864]: [2015/03/27 21:34:39.873778, 0] ../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache) >> Mar 27 21:34:39 alecto winbindd[4864]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 >> Mar 27 21:34:39 alecto winbindd[4864]: [2015/03/27 21:34:39.877210, 0] ../lib/util/become_daemon.c:124(daemon_ready) >> Mar 27 21:34:39 alecto winbindd[4864]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections >> Mar 27 21:34:39 alecto nmbd[4867]: [2015/03/27 21:34:39.899625, 0] ../lib/util/become_daemon.c:124(daemon_ready) >> Mar 27 21:34:39 alecto nmbd[4867]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections >> Mar 27 21:34:39 alecto samba4[4859]: Starting Samba daemons: winbindd nmbd smbd. >> Mar 27 21:34:40 alecto smbd[4870]: [2015/03/27 21:34:40.413519, 0] ../lib/util/become_daemon.c:124(daemon_ready) >> Mar 27 21:34:40 alecto smbd[4870]: STATUS=daemon 'smbd' finished starting up and ready to serve connections > On the first attempt to connect to samba, it will crash however. > >> root at alecto:/usr/src/samba4/samba-4.2.0# smbclient -L localhost -U% >> protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED >> root at alecto:/usr/src/samba4/samba-4.2.0# tail -n 100 /var/log/daemon.log > ... > Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704070, 0] ../lib/util/fault.c:78(fault_report) > Mar 27 21:39:56 alecto smbd[5091]: ==============================================================> Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704165, 0] ../lib/util/fault.c:79(fault_report) > Mar 27 21:39:56 alecto smbd[5091]: INTERNAL ERROR: Signal 11 in pid 5091 (4.2.0) > Mar 27 21:39:56 alecto smbd[5091]: Please read the Trouble-Shooting section of the Samba HOWTO > Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704213, 0] ../lib/util/fault.c:81(fault_report) > Mar 27 21:39:56 alecto smbd[5091]: ==============================================================> Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.704248, 0] ../source3/lib/util.c:788(smb_panic_s3) > Mar 27 21:39:56 alecto smbd[5091]: PANIC (pid 5091): internal error > Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.705134, 0] ../source3/lib/util.c:899(log_stack_trace) > Mar 27 21:39:56 alecto smbd[5091]: BACKTRACE: 44 stack frames: > Mar 27 21:39:56 alecto smbd[5091]: #5 /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f9056a278d0] > Mar 27 21:39:56 alecto smbd[5091]: #6 /usr/local/samba/lib/private/libkrb5-samba4.so.26(krb5_storage_free+0x10) [0x7f904a0a4b48] > Mar 27 21:39:56 alecto smbd[5091]: #7 /usr/local/samba/lib/private/libkrb5-samba4.so.26(+0x476a3) [0x7f904a08a6a3] > Mar 27 21:39:56 alecto smbd[5091]: #8 /usr/local/samba/lib/private/libkrb5-samba4.so.26(krb5_kt_end_seq_get+0x68) [0x7f904a088c22] > Mar 27 21:39:56 alecto smbd[5091]: #9 /usr/local/samba/lib/private/libgse-samba4.so(+0xa5d6) [0x7f904ecbb5d6] > Mar 27 21:39:56 alecto smbd[5091]: #10 /usr/local/samba/lib/private/libgse-samba4.so(gse_krb5_get_server_keytab+0x18d) [0x7f904ecbbb49] > Mar 27 21:39:56 alecto smbd[5091]: #11 /usr/local/samba/lib/private/libgse-samba4.so(+0xb5ff) [0x7f904ecbc5ff] > Mar 27 21:39:56 alecto smbd[5091]: #12 /usr/local/samba/lib/private/libgse-samba4.so(+0xc631) [0x7f904ecbd631] > Mar 27 21:39:56 alecto smbd[5091]: #13 /usr/local/samba/lib/libgensec.so.0(gensec_start_mech+0x27e) [0x7f904f12f322] > Mar 27 21:39:56 alecto smbd[5091]: #14 /usr/local/samba/lib/libgensec.so.0(gensec_start_mech_by_ops+0x27) [0x7f904f12f3d3] > Mar 27 21:39:56 alecto smbd[5091]: #15 /usr/local/samba/lib/libgensec.so.0(+0xb976) [0x7f904f11c976] > Mar 27 21:39:56 alecto smbd[5091]: #16 /usr/local/samba/lib/libgensec.so.0(+0xc388) [0x7f904f11d388] > Mar 27 21:39:56 alecto smbd[5091]: #17 /usr/local/samba/lib/libgensec.so.0(+0xdac2) [0x7f904f11eac2] > Mar 27 21:39:56 alecto smbd[5091]: #18 /usr/local/samba/lib/libgensec.so.0(gensec_update_ev+0xbd) [0x7f904f12cc0c] > Mar 27 21:39:56 alecto smbd[5091]: #19 /usr/local/samba/lib/libgensec.so.0(gensec_update+0x46) [0x7f904f12cf1c] > Mar 27 21:39:56 alecto smbd[5091]: #20 /usr/local/samba/lib/private/libsmbd-base-samba4.so(negprot_spnego+0x111) [0x7f905630ce1b] > Mar 27 21:39:56 alecto smbd[5091]: #21 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0xeb830) [0x7f905630d830] > Mar 27 21:39:56 alecto smbd[5091]: #22 /usr/local/samba/lib/private/libsmbd-base-samba4.so(reply_negprot+0x979) [0x7f905630e316] > Mar 27 21:39:56 alecto smbd[5091]: #23 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16a699) [0x7f905638c699] > Mar 27 21:39:56 alecto smbd[5091]: #24 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16a863) [0x7f905638c863] > Mar 27 21:39:56 alecto smbd[5091]: #25 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16b976) [0x7f905638d976] > Mar 27 21:39:56 alecto smbd[5091]: #26 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16cc74) [0x7f905638ec74] > Mar 27 21:39:56 alecto smbd[5091]: #27 /usr/local/samba/lib/private/libsmbd-base-samba4.so(+0x16cd59) [0x7f905638ed59] > Mar 27 21:39:56 alecto smbd[5091]: #28 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x54f) [0x7f905444d935] > Mar 27 21:39:56 alecto smbd[5091]: #29 /usr/local/samba/lib/libsmbconf.so.0(+0x3fbc4) [0x7f905444dbc4] > Mar 27 21:39:56 alecto smbd[5091]: #30 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f9055a064f9] > Mar 27 21:39:56 alecto smbd[5091]: #31 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25) [0x7f9055a06743] > Mar 27 21:39:56 alecto smbd[5091]: #32 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) [0x7f9055a0680e] > Mar 27 21:39:56 alecto smbd[5091]: #33 /usr/local/samba/lib/private/libsmbd-base-samba4.so(smbd_process+0xb19) [0x7f90563932a1] > Mar 27 21:39:56 alecto smbd[5091]: #34 /usr/local/samba/sbin/smbd(+0xa83d) [0x7f9056e6283d] > Mar 27 21:39:56 alecto smbd[5091]: #35 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x54f) [0x7f905444d935] > Mar 27 21:39:56 alecto smbd[5091]: #36 /usr/local/samba/lib/libsmbconf.so.0(+0x3fbc4) [0x7f905444dbc4] > Mar 27 21:39:56 alecto smbd[5091]: #37 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf4) [0x7f9055a064f9] > Mar 27 21:39:56 alecto smbd[5091]: #38 /usr/local/samba/lib/private/libtevent.so.0(tevent_common_loop_wait+0x25) [0x7f9055a06743] > Mar 27 21:39:56 alecto smbd[5091]: #39 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_wait+0x2b) [0x7f9055a0680e] > Mar 27 21:39:56 alecto smbd[5091]: #40 /usr/local/samba/sbin/smbd(+0xb5ba) [0x7f9056e635ba] > Mar 27 21:39:56 alecto smbd[5091]: #41 /usr/local/samba/sbin/smbd(main+0x17a7) [0x7f9056e64f18] > Mar 27 21:39:56 alecto smbd[5091]: #42 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f9052d3db45] > Mar 27 21:39:56 alecto smbd[5091]: #43 /usr/local/samba/sbin/smbd(+0x5e89) [0x7f9056e5de89] > Mar 27 21:39:56 alecto smbd[5091]: [2015/03/27 21:39:56.716189, 0] ../source3/lib/dumpcore.c:318(dump_core) > Mar 27 21:39:56 alecto smbd[5091]: dumping core in /usr/local/samba/var/cores/smbd > Mar 27 21:39:56 alecto smbd[5091]: > > > I have no clue, on where to start to debug this... > I tried to add the libraries again, which are mentioned in the OS requirements. > I also peeked around in the samba wiki's troubleshooting sections - but without > any success. > > I could also post the smb.conf if necessary (and the krb5.conf and sssd.conf files). > But I got all these from my working member server by just exchanging the machine > name. So I suspect the issue is hidden somewhere else. > > Thank You in advance! Any help is really appretiated. > - Peter > > > > > >I thought that Jessie was frozen, my idea of frozen and Debians seems to be different :-) I installed jessie in a vm to test it, seeing as how sernet hasn't got round to releasing 4.2 packages yet and then Peter posted that he had got 4.2 running on jessie. I would love to know how he did this ? I installed the packages to compile samba, well I tried to, this list of packages work on wheezy: build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev python-dnspython gdb pkg-config libpopt-dev libldap2-dev dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl libkrb5-dev libssl-dev xsltproc krb5-config libpam-krb5 Hmm, problem, libgnutls-dev doesn't exist on jessie, quick search seems to say that it has been replaced by libgnutls28-dev So tried again, still doesnt work: The following packages have unmet dependencies: libgnutls28-dev : Depends: libgnutls-deb0-28 (= 3.3.8-6~bpo70+1) but 3.3.8-6 is to be installed Depends: libgnutlsxx28 (= 3.3.8-6~bpo70+1) but it is not going to be installed Depends: nettle-dev (>= 2.5) but it is not going to be installed Depends: libtasn1-6-dev (>= 3.9) but it is not going to be installed Depends: libp11-kit-dev (>= 0.20.7) but it is not going to be installed libldap2-dev : Depends: libldap-2.4-2 (= 2.4.31+really2.4.40-4~bpo70+1) but 2.4.40-4 is to be installed Added most of the above and tried again, it got worse: The following packages have unmet dependencies: libgnutls28-dev : Depends: libgnutls-deb0-28 (= 3.3.8-6~bpo70+1) but 3.3.8-6 is to be installed libgnutlsxx28 : Depends: libgnutls-deb0-28 (= 3.3.8-6~bpo70+1) but 3.3.8-6 is to be installed libldap2-dev : Depends: libldap-2.4-2 (= 2.4.31+really2.4.40-4~bpo70+1) but 2.4.40-4 is to be installed libp11-kit-dev : Depends: libp11-kit0 (= 0.20.7-1~bpo70+1) but 0.20.7-1 is to be installed libtasn1-6-dev : Depends: libtasn1-6 (= 4.2-2~bpo70+1) but 4.2-2 is to be installed Recommends: libtasn1-doc (= 4.2-2~bpo70+1) but it is not going to be installed nettle-dev : Depends: libnettle4 (= 2.7.1-1~bpo70+1) but 2.7.1-5 is to be installed Depends: libhogweed2 (= 2.7.1-1~bpo70+1) but 2.7.1-5 is to be installed ARRGGHHH Debian really need to get their finger out, come on, for example 'libgnutls28-dev' it depends on version 3.3.8-6~bpo70+1 but 3.3.8-6 is to be installed, so for the addition of '~bpo70+1' it gets rejected. I give up, I am going back wheezy and backports (4.2 builds on that) unless Peter wants to tell us how he built 4.2. This sort of reminds me of the RPM hell that used to happen when red-hat was called red-hat and not RHEL. Rowland
Peter Serbe
2015-Mar-28 00:39 UTC
[Samba] samba4.2.0 crashes on connection attempt with an internal samba error...
Rowland Penny schrieb am 28.03.2015 00:15:> I installed jessie in a vm to test it, seeing as how sernet hasn't got > round to releasing 4.2 packages yet and then Peter posted that he had > got 4.2 running on jessie. I would love to know how he did this ?Oh. I am a pretty newbie on this field. Maybe that helped... First I install the basic system including LXDE. On the problem loaden notebook I messed this up by an unsuccessful attempt to install the non-free Nvidia drivers - no way to get the history of this clear. Anyway, next I install ntp, xfs utilities. Next bind9 as slave DNS pointing to my AD DCs. On the notebook I used the Debian repository, on the servers I build from the sources as bind 9.9 hadn't been available during my first installations. apt-get --purge remove avahi-daemon apt-get install build-essential libacl1-dev libattr1-dev \ libblkid-dev libgnutls-dev libreadline-dev python-dev libpam0g-dev \ python-dnspython gdb pkg-config libpopt-dev libldap2-dev \ dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl \ libncurses5-dev libssd-dev libkrb5-dev libpam-krb5 cd /to/bind/sources ./configure --prefix=/usr/ \ --sysconfdir=/etc/bind \ --localstatedir=/var \ --with-libtool \ --with-openssl=/usr \ --with-dlopen=yes \ --enable-threads \ --with-gssapi=/usr/include/gssapi && \ make && \ make install By then I install a dummy Bind9.9, i.e. without the AD related zones. Next I install sssd and configure PAM. apt-get install sssd sssd-tools libnss-sss libpam-sss libsss-sudo \ libsasl2-modules-gssapi-mit ldap-utils python-sss libsasl2-modules-ldap \ cracklib-runtime libsss-nss-idmap0 I do fix the sssd and krb5.conf files here, even though it won't work until samba is compiled and running. apt-get install sssd sssd-tools libnss-sss libpam-sss libsss-sudo \ libsasl2-modules-gssapi-mit ldap-utils python-sss libsasl2-modules-ldap \ cracklib-runtime libsss-nss-idmap0 Then I start compiling samba. apt-get install build-essential libacl1-dev libattr1-dev \ libblkid-dev libreadline-dev python-dev libpam0g-dev \ python-dnspython gdb pkg-config libpopt-dev libldap2-dev \ dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl \ libncurses5-dev libgnutls28-dev *) OK, in the meantime would replace libgnutls-dev by libgnutls28-dev, apt-get remove xsltproc -> sonst "bus error" ./configure --prefix=/usr/local/samba \ --with-piddir=/usr/local/samba/var/run \ --with-syslog \ --with-quotas \ --with-acl-support \ --enable-cups \ --with-ads \ --with-shared-modules=idmap_ad \ && make 2>&1 | tee -i make.log \ && make install 2>&1 | tee -i make-install.log Next fix DNS, try Kerberos. Then join the machine, prepare the keytab on the DC, copy to the client and check SSSD. Typically then I'm done... Well, there is quite a bit of housekeeping... adjusting permissions, doing all the tests, doing a reboot etc. On the problematic laptop I did some tests in the meantime: I installed the Debian package - problem still exists, and booted to the standard Debian kernel (otherwise I use 3.19.2) - also no progress. It really looks like some missing module. It seems to be related to authentication. But that is not exactly a clue... :-( Best regards Peter PS: If I find some time, I will also set up a VM and try to install with libgnutls28-dev without libgnutls-dev being there in advance. But I can't promise. I have not much time over the weekend and in the course of the next week. :-(
Volker Lendecke
2015-Mar-28 18:18 UTC
[Samba] samba4.2.0 crashes on connection attempt with an internal samba error...
On Fri, Mar 27, 2015 at 09:46:46PM +0100, Peter Serbe wrote:> On the first attempt to connect to samba, it will crash however.If you can, please recompile with CFLAGS=-g. Then, stop smbd. Please install valgrind and run valgrind --tool=memcheck smbd -d10 -i > valgrind.log 2>&1 Then try the connect. After it failed, please Ctrl-C the valgrind and send us the valgrind.log together with your smb.conf. Thanks, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
Peter Serbe
2015-Apr-02 23:09 UTC
[Samba] [solved] Re: samba4.2.0 crashes on connection attempt with an internal samba error...
Dear Volker, dear list, while trying to prepare the debug information, I have been asked for by Volker, I fixed quite a couple of issues on the laptop. One of these things was the wifi setup - including a set of routes, which had been necessary while I've been logged into a network other than my home network. While the smb daemon still crashed during a connection test, it threw the tell tale message, that something with the join to the domain seemed to be wrong. I deleted the computer from the domain, did a new join - and the crashes had been gone. The lesson learn is this: while iterating through the steps of the setup, it is also adviceable to delete the problem burden computer from the domain and do a fresh join... Best regards Peter
Reasonably Related Threads
- samba4.2.0 crashes on connection attempt with an internal samba error...
- cores from CentOS 7.5.1804 and 4.7.1-6.el7
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all
- how to reduce binary size of SAMBA 4 for embeded device
- samba4.2.0 crashes on connection attempt with an internal samba error...