[Samba] does ldapsearch work in Samba4
Rowland Penny
rowlandpenny241155 at gmail.com
Thu Sep 3 09:56:01 UTC 2015
On 03/09/15 10:29, Mark Foley wrote:
> Does ldapsearch work with Samba4 since it has it's own LDAP server? I've seen a
> number of ldap related posts here and I'm trying to head down that road for
> Dovecot authentication, but I'm getting stopped right away. For example, the
> following doesn't work:
>
> $ ldapsearch -xLLL -H ldap://localhost:389 \
> -D "cn=Administrator,dc=HPRS,dc=local" -W -b "dc=HPRS,dc=local"
> Enter LDAP Password:
> ldap_bind: Invalid credentials (49)
> additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
>
> but ...
>
> $ ldbsearch -H ldap[s]://localhost -U Administrator
>
> returns 307 records of apparently everything.
>
> There was a related post back in April, 2011, but it trailed off.
>
> --Mark
>
Yes it does, but Administrator doesn't live where you are asking, it
lives in 'cn=Administrator,CN=Users,dc=HPRS,dc=local'
Rowland
More information about the samba
mailing list