-
Notifications
You must be signed in to change notification settings - Fork 7
ldbsearch
Rüdiger Beck edited this page Jul 18, 2021
·
4 revisions
since samba is AD Compliant and not completely LDAP compliant you should use ldbsearch (and not ldapsearch) to connect to the samba database engine LDB.
The debian/ubuntu package is ldb-tools. It ist automatically installed with sophomorix
If you are working on the server it is a good start to use the wrapper sophomorix-ldbsearch to connect to the samba AD:
sophomorix-ldbsearch "(givenName=Mai*)" sn givenName
This users the LDAP-Filter (givenName=Mai*) and displays the attributes sn and givenName
The output displays which ldbsearch options are used. You can see that the password to connect to samba is read from a file on the server.
From a remote host you should be able to connect