[Samba] Debian Wheezy member server from backports to self compile

lingpanda101 at gmail.com lingpanda101 at gmail.com
Tue Apr 19 18:25:53 UTC 2016


On 4/15/2016 2:30 PM, Rowland penny wrote:
> On 15/04/16 18:54, lingpanda101 at gmail.com wrote:
>> Hello,
>>
>>     I'm unable to update my Samba from 4.1.17 to 4.4.2. I'm looking 
>> to build from tar instead. From what I gather the following should be 
>> the steps taken.
>>
>> ./configure --without-ad-dc -- sbindir= /usr/sbin 
>> --sysconfdir=/etc/samba/ --/usr/share/man/
>> make
>> make install
>>
>> Am I missing something else? Thanks.
>>
>
> Quite probably :-)
>
> This is the config from debian/rules:
>
> --prefix=/usr --enable-fhs --sysconfdir=/etc --localstatedir=/var 
> --with-privatedir=/var/lib/samba/private 
> --with-smbpasswd-file=/etc/samba/smbpasswd 
> --with-piddir=/var/run/samba 
> --with-pammodulesdir=/lib/$(DEB_HOST_MULTIARCH)/security --with-pam 
> --with-syslog --with-utmp --with-pam_smbpass --with-winbind 
> --with-shared-modules=idmap_rid,idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_tdb2,vfs_dfs_samba4,auth_samba4 
> --with-automount --with-ldap --with-ads --with-dnsupdate 
> --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) 
> --with-modulesdir=/usr/lib/$(DEB_HOST_MULTIARCH)/samba 
> --datadir=/usr/share --with-lockdir=/var/run/samba 
> --with-statedir=/var/lib/samba --with-cachedir=/var/cache/samba 
> --disable-avahi --disable-rpath --disable-rpath-install 
> --bundled-libraries=NONE,pytevent,iniparser,roken,wind,hx509,asn1,heimbase,hcrypto,krb5,gssapi,heimntlm,hdb,kdc,com_err,compile_et,asn1_compile 
>
> --builtin-libraries=replace,ccan,samba-cluster-support 
> --minimum-library-version="$(shell ./debian/autodeps.py 
> --minimum-library-version)" --with-cluster-support
>
> OK, it is from 4.3.5 and I am fairly sure 'pam_smbpass' doesn't exist 
> anymore, it will also build everything, including the AD DC, but I 
> hope you can see that your configure line just isn't enough.
>
> If you can wait a while, I think the plan is to get 4.4.2 trickled 
> down from experimental (it has got 4.4.1 at the moment, but that is 
> another one that says 'do not use' )
>
> Rowland
>
>
Rowland,

  I unfortunately don't have a Sernet subscription so I see no update 
path for me outside building myself. Am I mistaken?

I was under the impression when I installed from backports, it used all 
the default ./configure options in Samba. All I would need to change is 
folder locations. Obviously I'm wrong. Maybe it's best in my situation 
to build another member server and transfer the shares? I can see where 
one inadvertent omission in my configure command would muck things up.



-- 
-James




More information about the samba mailing list