[Samba] Howto enable ldapi socket?

Rowland Penny rpenny at samba.org
Mon Nov 26 18:37:59 UTC 2018


On Sun, 25 Nov 2018 14:10:30 +0100
Oliver Rath via samba <samba at lists.samba.org> wrote:

> Hi list,
> 
> Im playing around with ldbsearch/ldapsearch and using successful the
> socket
> 
> /var/lib/samba/private/ldapi 
> 
> in my git-compiled samba.
> 
> Now I installed the version 4.9.2 for ubuntu bionic from the van-Belle
> repository and didnt find this socket anymore. Do I have simple to
> create this socket with mknod? How can I determine the path? Is there
> a smb.conf-Option to enable it?
> 
> Tfh!
> 
> Oliver
> 
> 

Strange, I just checked on Ubuntu 18.04 running Louis's 4.9.2 packages
and it is there:

adminuser at ubutestdc:~$ ls -la /var/lib/samba/private/ldapi
srwxrwxrwx 1 root root 0 Nov 25 17:13 /var/lib/samba/private/ldapi

Having said that, why not use kerberos, it is more secure.

Rowland




More information about the samba mailing list