[Samba] ldapwhoami

Andrew Bartlett abartlet at samba.org
Mon Sep 19 21:01:38 UTC 2022

On Mon, 2022-09-19 at 17:42 -0300, Fernando Favero via samba wrote:
> HiI have an application validation process that needs to run the
> "ldapwhoami"command, but it doesn't work with samba.Any Idea to solve
> this?
> ldapwhoami -x -D "cn=administrator,cn=users,dc=my,dc=net" -W -H
> ldap://dc.my.netldap_parse_result: Protocol error
> (2)       additional info: Extended
> Operation( notsupportedResult: Protocol error
> (2)Additional info: Extended Operation( not
> supported

This would need a patch to our LDAP server.  


We would also need to work out what value makes sense to return,
presumably u:<sAMAccountName>@<REALM>
Andrew Bartlett

Andrew Bartlett (he/him)       https://samba.org/~abartlet/Samba Team Member (since 2001) https://samba.orgSamba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open SourceSolutions

More information about the samba mailing list