userFilter arguments in login.config from login.jsp

Juan Mucarquer juan.mucarquer at alumnos.usm.cl
Sun Apr 28 17:58:51 EDT 2013


Hello,

I'm using vt-ldap in order to login users. The problem is there are
duplicate UIDs in the LDAP, but in different OUs.

For example exists:
uid=john.doe,ou=people,dc=university,dc=edu
uid=john.doe,ou=students,dc=university,dc=edu

In login.config, the userFilter is set by default:

userFilter=(uid={0})

Where {0} is the uid supplied in the AuthUserPassLoginPage (login.jsp).

As I'm reading in the vt-ldap documentation, its possible to pass another
argument to the login module (userFilterArgs). Thats my question, how I can
pass the OU argument ({1}) from the login.jsp, in order to login users like
userFilter=(uid={0},ou={1})?

Currently, I cannot login users where this happens, due to the search
returns multiple DNs, and tries to login with the first it finds.

Thanks a lot!

-- 
Juan Andrés Mucarquer.
UTFSM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130428/eb29d5ca/attachment.html 


More information about the users mailing list