[Shib-Users] Anonymous LDAP Connector

16 views
Skip to first unread message

Ravi Verma

unread,
Oct 27, 2010, 6:13:50 PM10/27/10
to shibbole...@internet2.edu
Dear Friends,

I have a need to query an LDAP directory anonymously.  If I remove or leave blank for for principal and principalCredential, I get an error in the IDP log

User authentication for CTwise10 failed
java.lang.SecurityException: Configuration Error:
    Line 8: expected [controlFlag]

 <resolver:DataConnector id="myLDAP" xsi:type="dc:LDAPDirectory"
        ldapURL="ldap://10.5.0.129"
        baseDN="ou=people,o=telecommand"
        principal=""
        principalCredential=""
        >
        <dc:FilterTemplate>
            <![CDATA[
                (uid=${requestContext.principalName})
            ]]>
        </dc:FilterTemplate>
    </resolver:DataConnector>

Any idea?

--
Ravi Verma
Chief Executive Officer
Telecommand Software and Services
5401 Wesley Road
Rocklin, CA 95765
Phone:9167053261
Fax:9169142008
www.telecommand.com

Ravi Verma

unread,
Oct 27, 2010, 6:32:24 PM10/27/10
to shibbole...@internet2.edu
Please ignore this post. I had a typographical error in the login.config file that was making jaas throw this error.

Regards.
Reply all
Reply to author
Forward
0 new messages