How to test samba LDAP parameters with openldap tools, eg ldapsearch?

Jan Andersen jan at
Wed Apr 12 12:08:53 UTC 2023

hi Rowland,

No, I wasn't aware of that; is it necesary in order to make LDAP work as 
I intended? I only run samba in order to provide disk access for the 
minority of our employees who prefer windows in an otherwise Linux 


On 12/04/2023 12:06, Rowland Penny via samba-technical wrote:
> On 12/04/2023 11:39, Jan Andersen wrote:
>> Hi Rowland,
>> Thank you for replying. I wiped the existing logs, changed the smbd 
>> service to include '-d 10' and restarted, so I would have logs without 
>> too much noise - please find them attached along with smb.conf
> You appear to be running Samba as a standalone server with an ldap 
> backend, are you aware that such a setup is two parameters away from 
> being a PDC ? If you comment out 'server role = standalone server' and 
> add 'domain logons = yes', it becomes a PDC and a PDC (from 4.8.0) 
> requires winbind to be running.
> Rowland

More information about the samba-technical mailing list