[keycloak-user] LDAP configuration

Marek Posolda mposolda at redhat.com
Thu May 21 02:15:18 EDT 2015


On 20.5.2015 22:00, Ayrton Araújo wrote:
> I'm trying do add a new user federation provider for integrate 
> keycloak with a ldap server.
>
> The parameters:
> Console display name -> Active Directory
> Priority -> 0
> Edit Mode -> READ_ONLY
> Sync Registrations -> OFF
> Vendor -> Active Directory
> Username LDAP attribute -> sAMAccountName
> User Object Classes -> person, organizationPerson, user
> Connection URL -> ldap://dom.example.com:389 <http://dom.example.com:389/>
> Base DN -> DC=dom,DC=example,DC=com
> User DN Suffix -> CN=Users
> Bind DN -> CN=Keycloak.LDAP;CN=Users;DC=dom,DC=example,DC=com
> Bind Credential -> ********
> Connection pooling -> ON
> Pagination -> ON
> Enable Account After Password Update -> OFF
> Batch Size -> 100
> Periodic Full Sync -> OFF
> Periodic changed users sync -> ON
> Changed users sync period -> 86400
>
> I tried change User DN Suffix to only Users, but it not works. The log 
> always saying:
> LDAP: error code 1 - 000020D6: SvcErr: DSID-031007DB, problem 5012 
> (DIR_ERROR)
> And it says this when it tries to parse the User DN Suffix.
Currently "User DN Suffix" is supposed to contain whole DN. So in your 
case it should be probably something like: CN=Users,DC=dom,DC=example,DC=com

I agree that name of the parameter "User DN Suffix" is misleading. It 
will be improved in next version ( 1.3.0.Beta1 ) and also it will be 
possible to configure more User DNs to search for users.

Marek
>
> Theres something wrong with my conf?
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20150521/956d57d9/attachment-0001.html 


More information about the keycloak-user mailing list