Add support for multi baseDn
Update LDAP properties and auto-configuration to support multiple base DN values. See gh-11764pull/11910/head
parent
44ad630de3
commit
270dc2cd72
@ -0,0 +1,114 @@
|
|||||||
|
dn: dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: domain
|
||||||
|
objectclass: extensibleObject
|
||||||
|
dc: spring
|
||||||
|
|
||||||
|
dn: ou=groups,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou: groups
|
||||||
|
|
||||||
|
dn: cn=ROLE_USER,ou=groups,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: groupOfUniqueNames
|
||||||
|
cn: ROLE_USER
|
||||||
|
uniqueMember: cn=Some Person,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
uniqueMember: cn=Some Person2,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
uniqueMember: cn=Some Person,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
uniqueMember: cn=Some Person3,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
|
||||||
|
dn: cn=ROLE_ADMIN,ou=groups,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: groupOfUniqueNames
|
||||||
|
cn: ROLE_ADMIN
|
||||||
|
uniqueMember: cn=Some Person2,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
|
||||||
|
dn: c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: country
|
||||||
|
c: Sweden
|
||||||
|
description: The country of Sweden
|
||||||
|
|
||||||
|
dn: ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou: company1
|
||||||
|
description: First company in Sweden
|
||||||
|
|
||||||
|
dn: cn=Some Person,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: some.person
|
||||||
|
userPassword: password
|
||||||
|
cn: Some Person
|
||||||
|
sn: Person
|
||||||
|
description: Sweden, Company1, Some Person
|
||||||
|
telephoneNumber: +46 555-123456
|
||||||
|
|
||||||
|
dn: cn=Some Person2,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: some.person2
|
||||||
|
userPassword: password
|
||||||
|
cn: Some Person2
|
||||||
|
sn: Person2
|
||||||
|
description: Sweden, Company1, Some Person2
|
||||||
|
telephoneNumber: +46 555-654321
|
||||||
|
|
||||||
|
dn: cn=Some Person3,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: some.person3
|
||||||
|
userPassword: password
|
||||||
|
cn: Some Person3
|
||||||
|
sn: Person3
|
||||||
|
description: Sweden, Company1, Some Person3
|
||||||
|
telephoneNumber: +46 555-123654
|
||||||
|
|
||||||
|
dn: cn=Some Person4,ou=company1,c=Sweden,dc=spring,dc=org
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: some.person4
|
||||||
|
userPassword: password
|
||||||
|
cn: Some Person
|
||||||
|
sn: Person
|
||||||
|
description: Sweden, Company1, Some Person
|
||||||
|
telephoneNumber: +46 555-456321
|
||||||
|
|
||||||
|
dn: dc=pivotal,dc=io
|
||||||
|
objectclass: top
|
||||||
|
objectclass: domain
|
||||||
|
objectclass: extensibleObject
|
||||||
|
dc: pivotal
|
||||||
|
|
||||||
|
dn: ou=groups,dc=pivotal,dc=io
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou: groups
|
||||||
|
|
||||||
|
dn: c=Sweden,dc=pivotal,dc=io
|
||||||
|
objectclass: top
|
||||||
|
objectclass: country
|
||||||
|
c: Sweden
|
||||||
|
description:The country of Sweden
|
||||||
|
|
||||||
|
dn: cn=Some Random Person,c=Sweden,dc=pivotal,dc=io
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: some.random.person
|
||||||
|
userPassword: password
|
||||||
|
cn: Some Random Person
|
||||||
|
sn: Person
|
||||||
|
description: Sweden, Pivotal, Some Random Person
|
||||||
|
telephoneNumber: +46 555-123456
|
Loading…
Reference in New Issue