Move our sample schema/data into a tests/server, we'll use osixia/openldap for the demo/testing
This commit is contained in:
22
tests/server/openldap/data/05-test.ldif
Normal file
22
tests/server/openldap/data/05-test.ldif
Normal file
@@ -0,0 +1,22 @@
|
||||
# LDIF Export for o=Test
|
||||
|
||||
#version: 1
|
||||
|
||||
# This entry already exists as a result of configuring the LDAP server
|
||||
#dn: dc=Test
|
||||
#dc: Test
|
||||
#objectclass: dNSDomain
|
||||
|
||||
dn: cn=AdminUser,dc=Test
|
||||
cn: Admin User
|
||||
givenname: Admin
|
||||
mail: admin@test
|
||||
objectclass: posixAccount
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
sn: User
|
||||
uid: admin
|
||||
uidNumber: 0
|
||||
gidNumber: 0
|
||||
homeDirectory: /home/admin
|
||||
userpassword: password
|
139
tests/server/openldap/data/10-example.com.ldif
Normal file
139
tests/server/openldap/data/10-example.com.ldif
Normal file
@@ -0,0 +1,139 @@
|
||||
# LDIF Export for dc=example,dc=com
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
# Total Entries: 15
|
||||
#
|
||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:25 pm
|
||||
# Version: 1.2.0.5
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 1: dc=example,dc=com
|
||||
dn: dc=example,dc=com
|
||||
dc: example
|
||||
objectclass: dNSDomain
|
||||
|
||||
# Entry 2: c=AU,dc=example,dc=com
|
||||
dn: c=AU,dc=example,dc=com
|
||||
c: AU
|
||||
description: Australia
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 3: c=CN,dc=example,dc=com
|
||||
dn: c=CN,dc=example,dc=com
|
||||
c: CN
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 4: cn=你好,c=CN,dc=example,dc=com
|
||||
dn:: Y2495L2g5aW9LGM9Q04sZGM9ZXhhbXBsZSxkYz1jb20=
|
||||
cn:: 5L2g5aW9
|
||||
gidnumber: 200
|
||||
objectclass: posixGroup
|
||||
objectclass: top
|
||||
|
||||
# Entry 5: c=DE,dc=example,dc=com
|
||||
dn: c=DE,dc=example,dc=com
|
||||
c: DE
|
||||
description: Germany
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 6: c=ES,dc=example,dc=com
|
||||
dn: c=ES,dc=example,dc=com
|
||||
c: ES
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 7: c=FR,dc=example,dc=com
|
||||
dn: c=FR,dc=example,dc=com
|
||||
c: FR
|
||||
description: France
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 8: c=GB,dc=example,dc=com
|
||||
dn: c=GB,dc=example,dc=com
|
||||
c: GB
|
||||
description: Great Britain
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 9: c=IT,dc=example,dc=com
|
||||
dn: c=IT,dc=example,dc=com
|
||||
c: IT
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 10: c=NO,dc=example,dc=com
|
||||
dn: c=NO,dc=example,dc=com
|
||||
c: NO
|
||||
description: Norway
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 11: c=RU,dc=example,dc=com
|
||||
dn: c=RU,dc=example,dc=com
|
||||
c: RU
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 12: cn=Человеки,c=RU,dc=example,dc=com
|
||||
dn:: Y2490KfQtdC70L7QstC10LrQuCxjPVJVLGRjPWV4YW1wbGUsZGM9Y29t
|
||||
cn:: 0KfQtdC70L7QstC10LrQuA==
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
sn:: 0KfQtdC70L7QstC10LrQuA==
|
||||
|
||||
# Entry 13: cn=Дед Логопед,cn=Человеки,c=RU,dc=example,...
|
||||
dn:: Y2490JTQtdC0INCb0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xj6g1w+tarcxRRXLxS3mmxuE3ohCA9SNwwwP1oA
|
||||
8Ksv2WvHGAl143s40xjba6cznn/eYVFrX7LRuYUjbxa817nkTWB2MPqrEj9a9jXxZqt4DEkqoVb
|
||||
93DKN3b+8MEHjjI9Kq6j421mwSNL64ESSqytuYOj+gYdvqKAPAvF/wOv9EtR5z2tyEG3fDuX9GU
|
||||
YryPXfB15axs62ryxhtu+Ebxn6rmvpXW9cilF00+piYDO17cOVK9Mc9vqO1eQ+LNVSOd3g3NAvJ
|
||||
MmUJ+vP9aAP/9k=
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
sn:: 0JvQvtCz0L7Qv9C10LQ=
|
||||
|
||||
# Entry 14: c=SE,dc=example,dc=com
|
||||
dn: c=SE,dc=example,dc=com
|
||||
c: SE
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 15: c=US,dc=example,dc=com
|
||||
dn: c=US,dc=example,dc=com
|
||||
c: US
|
||||
description: United States of America
|
||||
objectclass: country
|
||||
objectclass: top
|
22
tests/server/openldap/data/11-example-com.ldif
Normal file
22
tests/server/openldap/data/11-example-com.ldif
Normal file
@@ -0,0 +1,22 @@
|
||||
# LDIF Export for dc=example.com
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
# Total Entries: 23
|
||||
#
|
||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:13 pm
|
||||
# Version: 1.2.0.5
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 1: dc=example.com
|
||||
dn: dc=example.com
|
||||
dc: example.com
|
||||
objectclass: dNSDomain
|
||||
|
||||
# Entry 2: cn=group,dc=example.com
|
||||
dn: cn=group,dc=example.com
|
||||
cn: group
|
||||
gidnumber: 100
|
||||
objectclass: posixGroup
|
||||
objectclass: top
|
@@ -1,4 +1,4 @@
|
||||
# LDIF Export for o=Flintstones,dc=Test
|
||||
# LDIF Export for o=Flintstones
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
@@ -9,27 +9,27 @@
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 1: o=Flintstones,dc=Test
|
||||
dn: o=Flintstones,dc=Test
|
||||
# Entry 1: o=Flintstones
|
||||
dn: o=Flintstones
|
||||
o: Flintstones
|
||||
objectclass: organization
|
||||
objectclass: top
|
||||
|
||||
# Entry 2: cn=Flintstones-PG,o=Flintstones,dc=Test
|
||||
dn: cn=Flintstones-PG,o=Flintstones,dc=Test
|
||||
# Entry 2: cn=Flintstones-PG,o=Flintstones
|
||||
dn: cn=Flintstones-PG,o=Flintstones
|
||||
cn: flintstones-pg
|
||||
gidnumber: 1001
|
||||
objectclass: posixGroup
|
||||
objectclass: top
|
||||
|
||||
# Entry 3: ou=People,o=Flintstones,dc=Test
|
||||
dn: ou=People,o=Flintstones,dc=Test
|
||||
# Entry 3: ou=People,o=Flintstones
|
||||
dn: ou=People,o=Flintstones
|
||||
objectclass: organizationalUnit
|
||||
objectclass: top
|
||||
ou: People
|
||||
|
||||
# Entry 4: cn=Bamm Bamm Rubble,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Bamm Bamm Rubble,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 4: cn=Bamm Bamm Rubble,ou=People,o=Flintstones
|
||||
dn: cn=Bamm Bamm Rubble,ou=People,o=Flintstones
|
||||
cn: Bamm Bamm Rubble
|
||||
gidnumber: 1001
|
||||
givenname: Bamm Bamm
|
||||
@@ -152,8 +152,8 @@ uid: bammbamm
|
||||
uidnumber: 1105
|
||||
userpassword: bammbamm
|
||||
|
||||
# Entry 5: cn=Barney Rubble,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Barney Rubble,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 5: cn=Barney Rubble,ou=People,o=Flintstones
|
||||
dn: cn=Barney Rubble,ou=People,o=Flintstones
|
||||
cn: Barney Rubble
|
||||
gidnumber: 1001
|
||||
givenname: Barney
|
||||
@@ -268,8 +268,8 @@ sn: Rubble
|
||||
uid: barney
|
||||
uidnumber: 1102
|
||||
|
||||
# Entry 6: cn=Betty Rubble,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Betty Rubble,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 6: cn=Betty Rubble,ou=People,o=Flintstones
|
||||
dn: cn=Betty Rubble,ou=People,o=Flintstones
|
||||
cn: Betty Rubble
|
||||
gidnumber: 1001
|
||||
givenname: Betty
|
||||
@@ -386,8 +386,8 @@ sn: Rubble
|
||||
uid: betty
|
||||
uidnumber: 1103
|
||||
|
||||
# Entry 7: cn=Fred Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Fred Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 7: cn=Fred Flintstone,ou=People,o=Flintstones
|
||||
dn: cn=Fred Flintstone,ou=People,o=Flintstones
|
||||
cn: Fred Flintstone
|
||||
gidnumber: 1001
|
||||
givenname: Fred
|
||||
@@ -573,8 +573,8 @@ uid: fred
|
||||
uidnumber: 1100
|
||||
userpassword: yabbadabbado
|
||||
|
||||
# Entry 8: cn=Pebbles Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Pebbles Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 8: cn=Pebbles Flintstone,ou=People,o=Flintstones
|
||||
dn: cn=Pebbles Flintstone,ou=People,o=Flintstones
|
||||
cn: Pebbles Flintstone
|
||||
gidnumber: 1001
|
||||
givenname: Pebbles
|
||||
@@ -673,8 +673,8 @@ st: 345 Stonecave Road
|
||||
uid: pebbles
|
||||
uidnumber: 1104
|
||||
|
||||
# Entry 9: cn=Wilma Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
dn: cn=Wilma Flintstone,ou=People,o=Flintstones,dc=Test
|
||||
# Entry 9: cn=Wilma Flintstone,ou=People,o=Flintstones
|
||||
dn: cn=Wilma Flintstone,ou=People,o=Flintstones
|
||||
cn: Wilma Flintstone
|
||||
gidnumber: 1001
|
||||
givenname: Wilma
|
||||
@@ -758,14 +758,14 @@ uid: wilma
|
||||
uidnumber: 1101
|
||||
userpassword: pebble
|
||||
|
||||
# Entry 10: ou=Pets,o=Flintstones,dc=Test
|
||||
dn: ou=Pets,o=Flintstones,dc=Test
|
||||
# Entry 10: ou=Pets,o=Flintstones
|
||||
dn: ou=Pets,o=Flintstones
|
||||
objectclass: organizationalUnit
|
||||
objectclass: top
|
||||
ou: Pets
|
||||
|
||||
# Entry 11: cn=Baby Puss Flintstone,ou=Pets,o=Flintstones,dc=Test
|
||||
dn: cn=Baby Puss Flintstone,ou=Pets,o=Flintstones,dc=Test
|
||||
# Entry 11: cn=Baby Puss Flintstone,ou=Pets,o=Flintstones
|
||||
dn: cn=Baby Puss Flintstone,ou=Pets,o=Flintstones
|
||||
cn: Baby Puss Flintstone
|
||||
gidnumber: 1001
|
||||
givenname: Baby Puss
|
||||
@@ -898,8 +898,8 @@ sn: Flintstone
|
||||
uid: babypuss
|
||||
uidnumber: 1010
|
||||
|
||||
# Entry 12: cn=Hoppy Rubble,ou=Pets,o=Flintstones,dc=Test
|
||||
dn: cn=Hoppy Rubble,ou=Pets,o=Flintstones,dc=Test
|
||||
# Entry 12: cn=Hoppy Rubble,ou=Pets,o=Flintstones
|
||||
dn: cn=Hoppy Rubble,ou=Pets,o=Flintstones
|
||||
cn: Hoppy Rubble
|
||||
gidnumber: 1001
|
||||
givenname: Hoppy
|
@@ -1,4 +1,4 @@
|
||||
# LDIF Export for o=Simpsons,dc=Test
|
||||
# LDIF Export for o=Simpsons
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
@@ -9,14 +9,25 @@
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 1: o=Simpsons,dc=Test
|
||||
dn: o=Simpsons,dc=Test
|
||||
# Entry 1: o=Simpsons
|
||||
dn: o=Simpsons
|
||||
o: Simpsons
|
||||
objectclass: organization
|
||||
objectclass: top
|
||||
|
||||
# Entry 3: cn=Simpsons-PG,o=Simpsons,dc=Test
|
||||
dn: cn=Simpsons-PG,o=Simpsons,dc=Test
|
||||
# Entry 2: cn=Simpsons-GOUN,o=Simpsons
|
||||
dn: cn=Simpsons-GOUN,o=Simpsons
|
||||
cn: simpsons-goun
|
||||
objectclass: groupOfUniqueNames
|
||||
objectclass: top
|
||||
uniquemember: cn=Bart Simpson,ou=People,o=Simpsons
|
||||
uniquemember: cn=Homer Simpson,ou=People,o=Simpsons
|
||||
uniquemember: cn=Lisa Simpson,ou=People,o=Simpsons
|
||||
uniquemember: cn=Maggie Simpson,ou=People,o=Simpsons
|
||||
uniquemember: cn=Marge Simpson,ou=People,o=Simpsons
|
||||
|
||||
# Entry 3: cn=Simpsons-PG,o=Simpsons
|
||||
dn: cn=Simpsons-PG,o=Simpsons
|
||||
cn: simpsons-pg
|
||||
gidnumber: 1000
|
||||
memberuid: maggie
|
||||
@@ -27,14 +38,14 @@ memberuid: bart
|
||||
objectclass: posixGroup
|
||||
objectclass: top
|
||||
|
||||
# Entry 4: ou=People,o=Simpsons,dc=Test
|
||||
dn: ou=People,o=Simpsons,dc=Test
|
||||
# Entry 4: ou=People,o=Simpsons
|
||||
dn: ou=People,o=Simpsons
|
||||
objectclass: organizationalUnit
|
||||
objectclass: top
|
||||
ou: People
|
||||
|
||||
# Entry 5: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test
|
||||
dn: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test
|
||||
# Entry 5: cn=Bart Simpson,ou=People,o=Simpsons
|
||||
dn: cn=Bart Simpson,ou=People,o=Simpsons
|
||||
cn: Bart Simpson
|
||||
gidnumber: 1000
|
||||
givenname: Bart
|
||||
@@ -107,8 +118,8 @@ uid: bart
|
||||
uidnumber: 1000
|
||||
userpassword: eatmyshorts
|
||||
|
||||
# Entry 6: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test
|
||||
dn: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test
|
||||
# Entry 6: cn=Homer Simpson,ou=People,o=Simpsons
|
||||
dn: cn=Homer Simpson,ou=People,o=Simpsons
|
||||
cn: Homer Simpson
|
||||
gidnumber: 1000
|
||||
givenname: Homer
|
||||
@@ -194,8 +205,8 @@ uid: homer
|
||||
uidnumber: 1001
|
||||
userpassword: mmm.beer
|
||||
|
||||
# Entry 7: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test
|
||||
dn: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test
|
||||
# Entry 7: cn=Lisa Simpson,ou=People,o=Simpsons
|
||||
dn: cn=Lisa Simpson,ou=People,o=Simpsons
|
||||
cn: Lisa Simpson
|
||||
gidnumber: 1000
|
||||
givenname: Lisa
|
||||
@@ -275,8 +286,8 @@ uid: lisa
|
||||
uidnumber: 1002
|
||||
userpassword: brains
|
||||
|
||||
# Entry 8: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test
|
||||
dn: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test
|
||||
# Entry 8: cn=Maggie Simpson,ou=People,o=Simpsons
|
||||
dn: cn=Maggie Simpson,ou=People,o=Simpsons
|
||||
cn: Maggie Simpson
|
||||
gidnumber: 1000
|
||||
givenname: Maggie
|
||||
@@ -342,8 +353,8 @@ uid: maggie
|
||||
uidnumber: 1003
|
||||
userpassword: dummy
|
||||
|
||||
# Entry 9: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test
|
||||
dn: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test
|
||||
# Entry 9: cn=Marge Simpson,ou=People,o=Simpsons
|
||||
dn: cn=Marge Simpson,ou=People,o=Simpsons
|
||||
cn: Marge Simpson
|
||||
gidnumber: 1000
|
||||
givenname: Marge
|
||||
@@ -428,25 +439,14 @@ uid: marge
|
||||
uidnumber: 1004
|
||||
userpassword: homie
|
||||
|
||||
# Entry 2: cn=Simpsons-GOUN,o=Simpsons,dc=Test
|
||||
dn: cn=Simpsons-GOUN,o=Simpsons,dc=Test
|
||||
cn: simpsons-goun
|
||||
objectclass: groupOfUniqueNames
|
||||
objectclass: top
|
||||
uniquemember: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test
|
||||
uniquemember: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test
|
||||
uniquemember: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test
|
||||
uniquemember: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test
|
||||
uniquemember: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test
|
||||
|
||||
# Entry 10: ou=Pets,o=Simpsons,dc=Test
|
||||
dn: ou=Pets,o=Simpsons,dc=Test
|
||||
# Entry 10: ou=Pets,o=Simpsons
|
||||
dn: ou=Pets,o=Simpsons
|
||||
objectclass: organizationalUnit
|
||||
objectclass: top
|
||||
ou: Pets
|
||||
|
||||
# Entry 11: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test
|
||||
dn: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test
|
||||
# Entry 11: cn=Santas Little Helper,ou=Pets,o=Simpsons
|
||||
dn: cn=Santas Little Helper,ou=Pets,o=Simpsons
|
||||
cn: Santas Little Helper
|
||||
givenname: Santas Little Helper
|
||||
jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V
|
135
tests/server/openldap/data/30-test.ldif
Normal file
135
tests/server/openldap/data/30-test.ldif
Normal file
@@ -0,0 +1,135 @@
|
||||
# LDIF Export for o=Test
|
||||
|
||||
#version: 1
|
||||
|
||||
dn: o=Test
|
||||
o: Test
|
||||
objectclass: organization
|
||||
|
||||
dn: cn=user,o=Test
|
||||
cn: user
|
||||
sn: Doe
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
|
||||
dn: ou=Bad DNs,o=Test
|
||||
objectclass: organizationalUnit
|
||||
ou: Bad DNs
|
||||
|
||||
#dn: c=double plus ++,ou=Bad DNs,o=Test
|
||||
#c: double plus ++
|
||||
#objectclass: country
|
||||
|
||||
#dn: c=end dollar$,ou=Bad DNs,o=Test
|
||||
#c: end dollar$
|
||||
#objectclass: country
|
||||
|
||||
dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: sign@at
|
||||
uid: multi-mixed
|
||||
|
||||
dn: uid=angle\3Cleft,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: angle<left
|
||||
|
||||
dn: uid=angle\3Eright,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: angle>right
|
||||
|
||||
dn: uid=brace(left,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: brace(left
|
||||
|
||||
dn: uid=brace)right,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: brace)right
|
||||
|
||||
dn: uid=colon:full,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: colon:full
|
||||
|
||||
dn: uid=colon\3Bsemi,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: colon;semi
|
||||
|
||||
#dn: uid=multi+uid=sign@at,ou=Bad DNs,o=Test
|
||||
#cn: Test
|
||||
#objectclass: inetOrgPerson
|
||||
#sn: Test
|
||||
#uid: multi
|
||||
#uid: sign@at
|
||||
|
||||
#dn: uid=multi+uid=value,ou=Bad DNs,o=Test
|
||||
#cn: Test
|
||||
#objectclass: inetOrgPerson
|
||||
#sn: Test
|
||||
#uid: multi
|
||||
#uid: value
|
||||
|
||||
dn: uid=quote\22double,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: quote"double
|
||||
|
||||
dn: uid=quote'single,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: quote'single
|
||||
|
||||
dn: uid=sign%percent,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign%percent
|
||||
|
||||
dn: uid=sign\2Bplus,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign+plus
|
||||
|
||||
dn: uid=sign\2Ccomma,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign,comma
|
||||
|
||||
dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign;semicolon@at
|
||||
|
||||
dn: uid=sign\3Dequal,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign=equal
|
||||
|
||||
dn: uid=sign?question,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign?question
|
||||
|
||||
dn: uid=sign@at,ou=Bad DNs,o=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign@at
|
66
tests/server/openldap/data/31-i18n.ldif
Normal file
66
tests/server/openldap/data/31-i18n.ldif
Normal file
@@ -0,0 +1,66 @@
|
||||
# This is a Test-File for characters / encoding
|
||||
# 1. Change the
|
||||
# ,o=Test
|
||||
# to avalue for your organisation
|
||||
# 2. Import it with phpldapadmin
|
||||
#
|
||||
# pla-i18n, example.com
|
||||
#
|
||||
dn: ou=pla-i18n,o=Test
|
||||
ou: pla-i18n
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
|
||||
# pl, pla-i18n, example.com
|
||||
dn: ou=pl,ou=pla-i18n,o=Test
|
||||
description:: IGRvcMOza2k=
|
||||
description:: xITFu8WaxbnEhsWDxYHDk8SYIMSFxbzFm8W6xIfFhMWCw7PEmQ==
|
||||
description:: V3NrYXrDs3drYQ==
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
ou: pl
|
||||
|
||||
# ru, pla-i18n, example.com
|
||||
dn: ou=ru,ou=pla-i18n,o=Test
|
||||
description:: 0LfQstGD0YfQuNGCINC/0L7QtNC+0LHQvdC+
|
||||
description:: 0J/RgNC+0YHRgtCw0Y8g0YTQvtGA0LzQsCDQv9C+0LjRgdC6
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
ou: ru
|
||||
|
||||
# jp, pla-i18n, example.com
|
||||
dn: ou=jp,ou=pla-i18n,o=Test
|
||||
ou: jp
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
description:: SVNPLTIwMjItSlDjga7lpJrlm73nsY3oqIDoqp7jgbjjga7mi6HlvLXmgKc=
|
||||
|
||||
# pt-br, pla-i18n, example.com
|
||||
dn: ou=pt-br,ou=pla-i18n,o=Test
|
||||
ou: pt-br
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
description:: VmVyIGFzIHJlcXVpc2nDp8O1ZXMgZW0gYWJlcnRv
|
||||
|
||||
# de, pla-i18n, example.com
|
||||
dn: ou=de,ou=pla-i18n,o=Test
|
||||
ou: de
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
description:: U29uZGVyemVpY2hlbiDDtsOkw7zDnyDDlsOEw5w=
|
||||
description:: w5bDliDDnMOcIMOEw4Q=
|
||||
|
||||
# sv, pla-i18n, example.com
|
||||
dn: ou=sv,ou=pla-i18n,o=Test
|
||||
ou: sv
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
description:: U8O2a29tZsOlbmc=
|
||||
description:: bMOldGVyIHNvbQ==
|
||||
|
||||
# ca, pla-i18n, example.com
|
||||
dn: ou=ca,ou=pla-i18n,o=Test
|
||||
ou: ca
|
||||
objectClass: top
|
||||
objectClass: organizationalUnit
|
||||
description:: RXMgdGluZHLDoSBxdWUgY29uZmlybWFyIGFxdWVzdGEgZGVjaXNpw7M=
|
@@ -1,297 +0,0 @@
|
||||
dn: dc=com,dc=Test
|
||||
dc: com
|
||||
objectclass: dNSDomain
|
||||
|
||||
# LDIF Export for dc=example,dc=com,dc=Test
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
# Total Entries: 15
|
||||
#
|
||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:25 pm
|
||||
# Version: 1.2.0.5
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 1: dc=example,dc=com,dc=Test
|
||||
dn: dc=example,dc=com,dc=Test
|
||||
dc: example
|
||||
objectclass: dNSDomain
|
||||
|
||||
# Entry 2: c=AU,dc=example,dc=com,dc=Test
|
||||
dn: c=AU,dc=example,dc=com,dc=Test
|
||||
c: AU
|
||||
description: Australia
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 3: c=CN,dc=example,dc=com,dc=Test
|
||||
dn: c=CN,dc=example,dc=com,dc=Test
|
||||
c: CN
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 4: cn=你好,c=CN,dc=example,dc=com,dc=Test
|
||||
dn:: Y2495L2g5aW9LGM9Q04sZGM9ZXhhbXBsZSxkYz1jb20sZGM9VGVzdA==
|
||||
cn:: 5L2g5aW9
|
||||
gidnumber: 200
|
||||
objectclass: posixGroup
|
||||
objectclass: top
|
||||
|
||||
# Entry 5: c=DE,dc=example,dc=com,dc=Test
|
||||
dn: c=DE,dc=example,dc=com,dc=Test
|
||||
c: DE
|
||||
description: Germany
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 6: c=ES,dc=example,dc=com,dc=Test
|
||||
dn: c=ES,dc=example,dc=com,dc=Test
|
||||
c: ES
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 7: c=FR,dc=example,dc=com,dc=Test
|
||||
dn: c=FR,dc=example,dc=com,dc=Test
|
||||
c: FR
|
||||
description: France
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 8: c=GB,dc=example,dc=com,dc=Test
|
||||
dn: c=GB,dc=example,dc=com,dc=Test
|
||||
c: GB
|
||||
description: Great Britain
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 9: c=IT,dc=example,dc=com,dc=Test
|
||||
dn: c=IT,dc=example,dc=com,dc=Test
|
||||
c: IT
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 10: c=NO,dc=example,dc=com,dc=Test
|
||||
dn: c=NO,dc=example,dc=com,dc=Test
|
||||
c: NO
|
||||
description: Norway
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 11: c=RU,dc=example,dc=com,dc=Test
|
||||
dn: c=RU,dc=example,dc=com,dc=Test
|
||||
c: RU
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 12: cn=Человеки,c=RU,dc=example,dc=com,dc=Test
|
||||
dn:: Y2490KfQtdC70L7QstC10LrQuCxjPVJVLGRjPWV4YW1wbGUsZGM9Y29tLGRjPVRlc3Q=
|
||||
cn:: 0KfQtdC70L7QstC10LrQuA==
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
sn:: 0KfQtdC70L7QstC10LrQuA==
|
||||
|
||||
# Entry 13: cn=Дед Логопед,cn=Человеки,c=RU,dc=example,...
|
||||
dn::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M19ea9aW8R3y3ElndKSWhdBtkB6HBxj6g1w+tarcxRRXLxS3mmxuE3ohCA9SNwwwP1oA
|
||||
8Ksv2WvHGAl143s40xjba6cznn/eYVFrX7LRuYUjbxa817nkTWB2MPqrEj9a9jXxZqt4DEkqoVb
|
||||
93DKN3b+8MEHjjI9Kq6j421mwSNL64ESSqytuYOj+gYdvqKAPAvF/wOv9EtR5z2tyEG3fDuX9GU
|
||||
YryPXfB15axs62ryxhtu+Ebxn6rmvpXW9cilF00+piYDO17cOVK9Mc9vqO1eQ+LNVSOd3g3NAvJ
|
||||
MmUJ+vP9aAP/9k=
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: top
|
||||
sn:: 0JvQvtCz0L7Qv9C10LQ=
|
||||
|
||||
# Entry 14: c=SE,dc=example,dc=com,dc=Test
|
||||
dn: c=SE,dc=example,dc=com,dc=Test
|
||||
c: SE
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# Entry 15: c=US,dc=example,dc=com,dc=Test
|
||||
dn: c=US,dc=example,dc=com,dc=Test
|
||||
c: US
|
||||
description: United States of America
|
||||
objectclass: country
|
||||
objectclass: top
|
||||
|
||||
# LDIF Export for dc=example,dc=com,dc=Test
|
||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
||||
# Search Scope: sub
|
||||
# Search Filter: (objectClass=*)
|
||||
# Total Entries: 23
|
||||
#
|
||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:13 pm
|
||||
# Version: 1.2.0.5
|
||||
|
||||
#version: 1
|
||||
|
||||
# Entry 3: ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
objectclass: organizationalUnit
|
||||
ou: Bad DNs
|
||||
|
||||
# Entry 4: c=double plus \2B\2B,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#dn: c=double plus ++,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#c: double plus ++
|
||||
#objectclass: country
|
||||
|
||||
# Entry 5: c=end dollar$,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#dn: c=end dollar$,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#c: end dollar$
|
||||
#objectclass: country
|
||||
|
||||
# Entry 6: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: sign@at
|
||||
uid: multi-mixed
|
||||
|
||||
# Entry 7: uid=angle\3Cleft,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=angle\3Cleft,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: angle<left
|
||||
|
||||
# Entry 8: uid=angle\3Eright,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=angle\3Eright,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: angle>right
|
||||
|
||||
# Entry 9: uid=brace(left,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=brace(left,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: brace(left
|
||||
|
||||
# Entry 10: uid=brace)right,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=brace)right,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: brace)right
|
||||
|
||||
# Entry 11: uid=colon:full,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=colon:full,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: colon:full
|
||||
|
||||
# Entry 12: uid=colon\3Bsemi,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=colon\3Bsemi,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: colon;semi
|
||||
|
||||
# Entry 13: uid=multi+uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#dn: uid=multi+uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#cn: Test
|
||||
#objectclass: inetOrgPerson
|
||||
#sn: Test
|
||||
#uid: multi
|
||||
#uid: sign@at
|
||||
|
||||
# Entry 14: uid=multi+uid=value,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#dn: uid=multi+uid=value,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
#cn: Test
|
||||
#objectclass: inetOrgPerson
|
||||
#sn: Test
|
||||
#uid: multi
|
||||
#uid: value
|
||||
|
||||
# Entry 15: uid=quote\22double,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=quote\22double,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: quote"double
|
||||
|
||||
# Entry 16: uid=quote'single,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=quote'single,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: quote'single
|
||||
|
||||
# Entry 17: uid=sign%percent,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign%percent,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign%percent
|
||||
|
||||
# Entry 18: uid=sign\2Bplus,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign\2Bplus,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign+plus
|
||||
|
||||
# Entry 19: uid=sign\2Ccomma,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign\2Ccomma,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign,comma
|
||||
|
||||
# Entry 20: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign;semicolon@at
|
||||
|
||||
# Entry 21: uid=sign\3Dequal,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign\3Dequal,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign=equal
|
||||
|
||||
# Entry 22: uid=sign?question,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign?question,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign?question
|
||||
|
||||
# Entry 23: uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
dn: uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test
|
||||
cn: Test
|
||||
objectclass: inetOrgPerson
|
||||
sn: Test
|
||||
uid: sign@at
|
@@ -1,8 +0,0 @@
|
||||
dn: olcDatabase={1}mdb,cn=config
|
||||
changetype: modify
|
||||
delete: olcAccess
|
||||
-
|
||||
add: olcAccess
|
||||
olcAccess: to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,dc=Test" write by anonymous auth by * read
|
||||
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break
|
||||
olcAccess: to * by self write by dn="cn=admin,dc=Test" write by * read
|
9
tests/server/openldap/schema/02-security
Normal file
9
tests/server/openldap/schema/02-security
Normal file
@@ -0,0 +1,9 @@
|
||||
# At the moment we want to override osixia/ldap to enable anonymous reads
|
||||
dn: olcDatabase={1}{{ LDAP_BACKEND }},cn=config
|
||||
changetype: modify
|
||||
delete: olcAccess
|
||||
-
|
||||
add: olcAccess
|
||||
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break
|
||||
olcAccess: to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,{{ LDAP_BASE_DN }}" write by anonymous auth by * none
|
||||
olcAccess: to * by self read by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * read
|
11
tests/server/openldap/schema/10-example.com.ldif
Normal file
11
tests/server/openldap/schema/10-example.com.ldif
Normal file
@@ -0,0 +1,11 @@
|
||||
dn: olcDatabase=mdb,cn=config
|
||||
changetype: add
|
||||
objectClass: olcDatabaseConfig
|
||||
olcDatabase: mdb
|
||||
olcLastMod: TRUE
|
||||
olcMonitoring: TRUE
|
||||
olcSuffix: dc=example,dc=com
|
||||
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||
olcAccess: to * by dn="cn=admin,dc=example,dc=com" write by dn="cn=admin,dc=Test" write by * read
|
||||
olcRootDN: cn=admin,dc=example,dc=com
|
||||
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq
|
11
tests/server/openldap/schema/11-example_com.ldif
Normal file
11
tests/server/openldap/schema/11-example_com.ldif
Normal file
@@ -0,0 +1,11 @@
|
||||
dn: olcDatabase=mdb,cn=config
|
||||
changetype: add
|
||||
objectClass: olcDatabaseConfig
|
||||
olcDatabase: mdb
|
||||
olcLastMod: TRUE
|
||||
olcMonitoring: TRUE
|
||||
olcSuffix: dc=example.com
|
||||
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||
olcAccess: to * by dn="cn=admin,dc=example.com" write by dn="cn=admin,dc=Test" write by * read
|
||||
olcRootDN: cn=admin,dc=example.com
|
||||
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq
|
11
tests/server/openldap/schema/20-flintstones.ldif
Normal file
11
tests/server/openldap/schema/20-flintstones.ldif
Normal file
@@ -0,0 +1,11 @@
|
||||
dn: olcDatabase=mdb,cn=config
|
||||
changetype: add
|
||||
objectClass: olcDatabaseConfig
|
||||
olcDatabase: mdb
|
||||
olcLastMod: TRUE
|
||||
olcMonitoring: TRUE
|
||||
olcSuffix: o=Flintstones
|
||||
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||
olcAccess: to * by dn="cn=admin,o=Flintstones" write by dn="cn=admin,dc=Test" write by * read
|
||||
olcRootDN: cn=admin,o=Flintstones
|
||||
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq
|
11
tests/server/openldap/schema/21-simpsons.ldif
Normal file
11
tests/server/openldap/schema/21-simpsons.ldif
Normal file
@@ -0,0 +1,11 @@
|
||||
dn: olcDatabase=mdb,cn=config
|
||||
changetype: add
|
||||
objectClass: olcDatabaseConfig
|
||||
olcDatabase: mdb
|
||||
olcLastMod: TRUE
|
||||
olcMonitoring: TRUE
|
||||
olcSuffix: o=Simpsons
|
||||
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||
olcAccess: to * by dn="cn=admin,o=Simpsons" write by dn="cn=admin,dc=Test" write by * read
|
||||
olcRootDN: cn=admin,o=Simpsons
|
||||
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq
|
11
tests/server/openldap/schema/30-test.ldif
Normal file
11
tests/server/openldap/schema/30-test.ldif
Normal file
@@ -0,0 +1,11 @@
|
||||
dn: olcDatabase=mdb,cn=config
|
||||
changetype: add
|
||||
objectClass: olcDatabaseConfig
|
||||
olcDatabase: mdb
|
||||
olcLastMod: TRUE
|
||||
olcMonitoring: TRUE
|
||||
olcSuffix: o=Test
|
||||
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||
olcAccess: to * by dn="cn=admin,o=Test" write by dn="cn=admin,dc=Test" write by * read
|
||||
olcRootDN: cn=admin,o=Test
|
||||
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq
|
Reference in New Issue
Block a user