1
votes

I am new to wso2. I have a requirement for creating customized tree (like dn: dc=ravitech,dc=com instead of using dn: dc=wso2,dc=org) for authenticating the user with ldap under wso2 Identity Server. Currently I saw the following tree structure in LDAP (wso2 Identity server's) through Apache Directory Studio.

dn: ou=example,dc=wso2,dc=org
objectClass: top
objectClass: organizationalUnit
ou: example

people entries

dn: uid=rpurimitla,ou=example,dc=wso2,dc=org
objectClass: top
objectClass: inetOrgPerson
objectClass: person
objectClass: organizationalPerson
cn: rpurimitla
sn: rpurimitla
uid: rpurimitla
userpassword:: ZktjUUdmVmFPbXlncHRMcE5jWUVXSDV3iRIHih==

==============

but my requirement is

dn: ou=testproject,dc=ravitech,dc=com
ou: testproject
objectClass: top
objectClass: organizationalUnit

people entries

dn: uid=rpurimitla,ou=testproject,dc=ravitech,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
sn: rpurimitla
cn: rpurimitla
uid: rpurimitla
userpassword: ZktjUUdmVmFPbXlncHRMcE5jWUVXSDV3iRIHih==

please anybody can give the right solution creating our own dn like "dn: dc=revitech,dc=com" instead of using dn: dc=wso2,dc=org.

1

1 Answers