On Fri, 03 Oct 2014 10:25:10 -0400
Daniel Fisher <dfis...@vt.edu> wrote:

> I submitted a pull request to fix this issue:
> https://github.com/Jasig/cas/issues/713

It works fine with OpenLDAP, but I think I've found another strange behaviour
when querying an Oracle directory (OID).

Somehow, the final response returns only four LDAP attributes (dn, uid,
orclisenabled and cn), even if the former (log shows two
org.ldaptive.SearchOperation as shown below[1]) gets all of them.

When querying OpenLDAP, the two org.ldaptive.SearchOperation get the 
same attributes set.

Any hint is welcome, even if just telling me if debugging LDAPtive classes
will not be too difficult. I don't mind spending some time doing it, as I'm
aware not everybody has the need or the will to deal with Oracle stuff.

[1] Operations performed by the org.ldaptive.* and org.jasig.cas.persondir.*:
 
[org.ldaptive.auth.FormatDnResolver] - Formatting DN for
[org.ldaptive.auth.Authenticator] - authenticate dn
[org.ldaptive.auth.BindAuthenticationHandler] - authenticate criteria
[org.ldaptive.auth.BindAuthenticationHandler] - authenticate response
[org.ldaptive.auth.SearchEntryResolver] - resolve criteria
[org.ldaptive.SearchOperation] - execute request
[org.ldaptive.SearchOperation] - execute response  <=== Shows every attribute
[org.ldaptive.auth.SearchEntryResolver] - resolved result
[org.ldaptive.auth.Authenticator] - Authentication succeeded for
[org.ldaptive.auth.Authenticator] - authenticate response
[org.jasig.cas.persondir.LdapPersonAttributeDao] - Created seed map
[org.jasig.cas.persondir.LdapPersonAttributeDao] - Adding attribute 'username'
[org.jasig.cas.persondir.LdapPersonAttributeDao] - Constructed LDAP search
[org.jasig.cas.persondir.LdapPersonAttributeDao] - Generated query builder
[org.ldaptive.SearchOperation] - execute request
[org.ldaptive.SearchOperation] - execute response  <=== Shows only four attrs
[org.jasig.cas.persondir.LdapPersonAttributeDao] - Converted ldap DN


-- 
Alberto Cabello Sánchez
<albe...@unex.es>

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to