Is there any way to create customized tree in ldap under wso2 Identity server

StackOverflow https://stackoverflow.com/questions/17786827

  •  03-06-2022
  •  | 
  •  

Question

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.

Was it helpful?

Solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top