[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(1.3.6.1.4.1.4203.1.11.3) notsupportedResult: Protocol error
> (2)Additional info: Extended Operation(1.3.6.1.4.1.4203.1.11.3) not
> supported

This would need a patch to our LDAP server.  

https://www.rfc-editor.org/rfc/rfc4532

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