[Samba] samba4.2.0 crashes on connection attempt with an internal samba error...

Rowland Penny rowlandpenny at googlemail.com
Sat Mar 28 13:14:57 MDT 2015

On 28/03/15 15:56, Rowland Penny wrote:
> On 28/03/15 11:32, Peter Serbe wrote:
>> Rowland Penny schrieb am 28.03.2015 10:30:
>>> I do not understand how you managed to install libgnutls-dev in the
>>> first place, when I try to install it, I get:
>> Well, it has been about a year ago, when I installed my servers.
>> And by then libgnutls-dev had been available without any problem.
>> Maybe there are some remnants on the system - I frankly don't know.
>> I will definitely try this on a VM, that is already installed.
>> (maybe a better idea would be to copy it... it was my first
>> attempt with KVM, but it seems to work OK). I will keep notes
>> and report, on how I got it running (or failed to do so).
>> Best regards
>> Peter
>> PS: But first of all I am going to do a little tour with my bike
>> (racing bike, not motorcycle... :-) ) - we've got very beautiful
>> weather today at the rim of the Alps...
> OK, I have had it politely pointed out to me that I am officially an 
> idiot, I was using a script that I wrote, to install everything and I 
> made a stupid error in the script and it added wheezy backports to 
> jessie DOH!
> I have now fixed the script and installed 4.2 by compiling it and am 
> now fighting with systemd, sigh, and this is supposed to be progress.
> Rowland

OK, I fixed the problem with systemd, I removed systemd :-)

I can now confirm that you can build samba 4.2 on Debian Jessie and it 
will work

I installed it as a member server and properly setup it returns this:

root at jesdeb:~# getent passwd rowland
rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

I installed these packages to compile Samba:

build-essential libacl1-dev libattr1-dev libblkid-dev libgnutls28-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

Now if some wise person that understands systemd and knows how to get it 
to start the 'nmbd', 'winbindd' & 'smbd' daemons, could post an howto, I 
am quite prepared to try it, but until then, a certain LP can stick 
systemd where the sun doesn't shine.


More information about the samba mailing list