[Samba] Interacting with LDAP db without password as root
RhineDevil
tanyadegurechaff at disroot.org
Wed Jul 15 13:56:54 UTC 2020
Wed, 15 Jul 2020 13:56:48 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 15/07/2020 13:36, RhineDevil via samba wrote:
> > How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
> > (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
>
> Don't use ldap-utils, use ldb-tools and the machine password:
>
> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
>
> Rowland
"ldap client internal error NT_STATUS_UNSUCCESFUL"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digitale OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20200715/08915dc1/attachment.sig>
More information about the samba
mailing list