Import WSO2 Identity Server default schemas into OpenLDAP -


i'm trying set wso2 identity server openldap primary user store. add idp embedded apacheds schemas': wso2person, identityperson , scimperson openldap not able import neither schema nor wso2person, identityperson , scimperson ldif files.

can provide example regarding how achive goal?

i trying import files new openldap on ubuntu server 16 lts using apacheds studio or other ldap clients every time try import files error thrown.

i.e.: launching

sudo ldapadd -q -y external -h ldapi:/// -f ou\=schema.ldif 

the server responds:

server in unwilling perform (53) no global superior knowledge

or, trying import wso2person.ldif

ldapadd -d ldap:/// -d "cn=admin,dc=example,dc=org" -x -w -f wso2person.ldif 

the following error thrown:

invalid syntax (21) additional info: attributetypes: value #0 invalid per syntax

it not necessary use wso2person schema. can use of schemas supported external ldap (for ex: inetorgperson). thing have claim mapping attributes existing attributes in openldap schema. can find claims in configure->claim management tab under "http://wso2.org/claims". can edit claim mapping[1] each attribute existing attributes ldap server. ex: first name mapped attribute "givenname" in primary user store. openldap support "givenname" attribute type. not have change attributes. few attributes "last name" mapped "sn" in primary user store , not in default openldap if correct object class not added user group. example have used "displayname" mapped attribute secondary user store. can see how edit claims in attached image claims.png (where newtest scondary user store name) in order add claim mapping. have map attributes existing attributes in openldap schema.

[1] - https://docs.wso2.com/display/is500/editing+claim+dialects


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -