Findings for installing Samba4 (alpha 18on Debian Squeeze

Nico de Haer nico.dehaer at gmail.com
Sun Dec 18 09:42:07 MST 2011


Hi,

I installed samba4 as described in
http://wiki.samba.org/index.php/Samba4/HOWTO, and would like to share my
findings.
There a few extra steps I had to take to make it work and I had some
results from the test that where unexpected.

1) Bind 9.8 could not find the needed libs
The problem: /usr/local/samba/lib and /usr/local/samba/lib/samba are not
part of the library search path
My solution: Add a file to /etc/ld.so.conf.d to let ldconfig know where
they are. I did this:

echo /usr/local/samba/lib > /etc/ld.so.conf.d/samba4.conf
echo /usr/local/samba/lib/samba >> /etc/ld.so.conf.d/samba4.conf
ldconfig

2) Output of smbclient -L localhost -U%
In addition to the expected output I also get:
REWRITE: list servers not implemented

3) samba_internal dns server broken?
I noticed that samba has a built-in dns server that can be used by
specifying --dns-backend=samba_internal during the provision stage. I had a
go at it but could not get it to work. The provision itself worked ok but
samba complains about a timeout when trying to update DNS. netstat -l shows
that there is no DNS server running. That obviously explains the timeout
but not why the dns server is not started. As I could not figure out how to
get it going I went for bind 9.8 (I used the version from debian sid)
instead...

All things considered, it went quite well and the howto is a great help!

Regards,

Nico


More information about the samba-technical mailing list