[prev in list] [next in list] [prev in thread] [next in thread] 

List:       shibboleth-users
Subject:    userFilter arguments in login.config from login.jsp
From:       Juan Mucarquer <juan.mucarquer () alumnos ! usm ! cl>
Date:       2013-04-28 21:58:51
Message-ID: CA+9Tamm+3MZ2UTsdmu1CcfqV4C0kMSbN-rawBq5DoSv1__Eqgw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hello,<br><br></div>I&#39;m using vt-ldap in order to login \
users. The problem is there are duplicate UIDs in the LDAP, but in different OUs. \
<br><br>For example exists:<br>uid=john.doe,ou=people,dc=university,dc=edu<br> \
</div>uid=john.doe,ou=students,dc=university,dc=edu<br \
clear="all"><div><div><div><div><div><div><div><br></div><div>In login.config, the \
userFilter is set by default:<br><br></div><div>userFilter=(uid={0})<br></div><div> \
<br></div><div>Where {0} is the uid supplied in the AuthUserPassLoginPage \
(login.jsp). <br><br>As I&#39;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})?<br> <br></div><div>Currently, I cannot login users where \
this happens, due to the search returns multiple DNs, and tries to login with the \
first it finds.<br></div><div><br></div><div>Thanks a \
                lot!<br></div><div><br></div><div>
-- <br>Juan Andrés Mucarquer.<br></div><div>UTFSM<br></div></div></div></div></div></div></div></div>




--
To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic