LDAP Auth not working
Ryan Suarez
ryan.suarez at sheridanc.on.ca
Fri Oct 5 11:38:02 EDT 2012
Eek, that was the problem. It didn't have quotes around the password
which contained a "^". Interesting to note though that this worked in
IdP2.3.3/tomcat6.0.29/java1.6.0_22-b04 though, which was the cause of my
confusion.
Thanks for helping me sort this out!
On 12-10-04 2:35 PM, Daniel Fisher wrote:
> Does bindCredential=some_password have quotes around the password? If
> not, does your password contain the '=' character?
>
> --Daniel Fisher
>
> On Thu, Oct 4, 2012 at 11:07 AM, Ryan Suarez
> <ryan.suarez at sheridanc.on.ca> wrote:
>> I copied login.config from a working IdP 2.3.3 instance. I can't see
>> the problem:
>>
>> ---login.config---
>> ShibUserPassAuth {
>> edu.vt.middleware.ldap.jaas.LdapLoginModule required
>> ldapUrl="ldap://ldap.ourdomain.ca:389"
>> baseDn="o=base.ourdomain.ca"
>> bindDn="uid=some_admin,o=base.ourdomain.ca"
>> bindCredential=some_password
>> subtreeSearch="true"
>> userFilter="uid={0}";
>> };
>> ----------------
>>
>> Any ideas?
>>
>> On 12-10-04 10:32 AM, Peter Schober wrote:
>>> * Ryan Suarez <ryan.suarez at sheridanc.on.ca> [2012-10-04 16:21]:
>>>> java.lang.SecurityException: Configuration Error:
>>>> Line 5: expected [option value], found [null]
>>>> at
>>>> com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:93)
>>> Have a look at your JAAS config file. Whether line 5 is a good hint or
>>> not I don't know (possible the line before)
>>> -peter
>>> --
>>> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>>>
>>>
>>
>> --
>> Ryan Suarez
>> System Administrator - IT
>> Sheridan College
>> 1430 Trafalgar Road
>> Oakville, ON
>> L6H 2L1
>> 905.845.9430 x2146
>>
>> --
>> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
>
>
--
Ryan Suarez
System Administrator - IT
Sheridan College
1430 Trafalgar Road
Oakville, ON
L6H 2L1
905.845.9430 x2146
More information about the users
mailing list