[Date Prev][Date Next]
Re: getting DN from client with GSSAPI bind?
On Jan 24, 2007, at 7:50 AM, Kenneth Rogers wrote:
I guess I wasn't clear enough, I'm working on the client and need to
get the DN from the server after performing a GSSAPI bind.
ldap_whoami_s(...) looks like it should work, although right now I'm
getting an LDAP_DECODING_ERROR (-4) from it, and I don't know why.
This error means the library was unable to decode the response PDU.
Any ideas what causes that error.
Most likely a malformed response PDU.
The client is using openldap 2.3.24
on a linux system, and the server is Windows 2000 Active Directory.
You should verify the server in question supports the LDAP Whoami?
operation (RFC 4532). If the server doesn't support this, you might
see if the
server supports authorization identity controls (RFC 3829).
might see if the server supports some other means for obtaining the
desired information. A forum about AD would be an appropriate place
to ask such questions.
On 1/24/07, Dieter Klünter <firstname.lastname@example.org> wrote:
Am Dienstag, 23. Januar 2007 22:33 schrieb Kenneth Rogers:
> After a successful GSSAPI binding, is there an easy way to get
> for that user from the server?
sasl returns an authentication string something like
this string can be mapped to an entry, see the authz-regexp
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO