Deprecate using osixia/openldap and setup test configuration using our own alpine/ldap container
This commit is contained in:
parent
7e25000e68
commit
e399b733e9
@ -1,6 +1,7 @@
|
|||||||
dn: olcDatabase=mdb,cn=config
|
dn: olcDatabase=mdb,cn=config
|
||||||
changetype: add
|
|
||||||
objectClass: olcDatabaseConfig
|
objectClass: olcDatabaseConfig
|
||||||
|
objectClass: olcMdbConfig
|
||||||
|
olcDbDirectory: /var/lib/openldap/data
|
||||||
olcDatabase: mdb
|
olcDatabase: mdb
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcMonitoring: TRUE
|
olcMonitoring: TRUE
|
@ -1,6 +1,7 @@
|
|||||||
dn: olcDatabase=mdb,cn=config
|
dn: olcDatabase=mdb,cn=config
|
||||||
changetype: add
|
|
||||||
objectClass: olcDatabaseConfig
|
objectClass: olcDatabaseConfig
|
||||||
|
objectClass: olcMdbConfig
|
||||||
|
olcDbDirectory: /var/lib/openldap/data
|
||||||
olcDatabase: mdb
|
olcDatabase: mdb
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcMonitoring: TRUE
|
olcMonitoring: TRUE
|
@ -1,6 +1,7 @@
|
|||||||
dn: olcDatabase=mdb,cn=config
|
dn: olcDatabase=mdb,cn=config
|
||||||
changetype: add
|
|
||||||
objectClass: olcDatabaseConfig
|
objectClass: olcDatabaseConfig
|
||||||
|
objectClass: olcMdbConfig
|
||||||
|
olcDbDirectory: /var/lib/openldap/data
|
||||||
olcDatabase: mdb
|
olcDatabase: mdb
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcMonitoring: TRUE
|
olcMonitoring: TRUE
|
@ -1,6 +1,7 @@
|
|||||||
dn: olcDatabase=mdb,cn=config
|
dn: olcDatabase=mdb,cn=config
|
||||||
changetype: add
|
|
||||||
objectClass: olcDatabaseConfig
|
objectClass: olcDatabaseConfig
|
||||||
|
objectClass: olcMdbConfig
|
||||||
|
olcDbDirectory: /var/lib/openldap/data
|
||||||
olcDatabase: mdb
|
olcDatabase: mdb
|
||||||
olcLastMod: TRUE
|
olcLastMod: TRUE
|
||||||
olcMonitoring: TRUE
|
olcMonitoring: TRUE
|
12
tests/server/openldap/bases/25-test.ldif
Normal file
12
tests/server/openldap/bases/25-test.ldif
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
dn: olcDatabase=mdb,cn=config
|
||||||
|
objectClass: olcDatabaseConfig
|
||||||
|
objectClass: olcMdbConfig
|
||||||
|
olcDbDirectory: /var/lib/openldap/data
|
||||||
|
olcDatabase: mdb
|
||||||
|
olcLastMod: TRUE
|
||||||
|
olcMonitoring: TRUE
|
||||||
|
olcSuffix: dc=Test
|
||||||
|
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
|
||||||
|
olcAccess: to * by dn="cn=admin,dc=Test" write by dn="cn=admin,dc=Test" write by * read
|
||||||
|
olcRootDN: cn=admin,dc=Test
|
||||||
|
olcRootPW: {SSHA}UCTtlcHOSqGCFuKtOCJAU8k8icNpVGiw
|
@ -1,11 +0,0 @@
|
|||||||
##
|
|
||||||
## Used for storing the next gid and next uid in the the directory
|
|
||||||
##
|
|
||||||
objectclass ( 1.3.6.1.4.1.7165.1.2.2.3 NAME 'uidPool' SUP top AUXILIARY
|
|
||||||
DESC 'Pool for allocating UNIX uids'
|
|
||||||
MUST ( uidNumber $ cn ) )
|
|
||||||
|
|
||||||
|
|
||||||
objectclass ( 1.3.6.1.4.1.7165.1.2.2.4 NAME 'gidPool' SUP top AUXILIARY
|
|
||||||
DESC 'Pool for allocating UNIX gids'
|
|
||||||
MUST ( gidNumber $ cn ) )
|
|
4
tests/server/openldap/data/01-au.ldif
Normal file
4
tests/server/openldap/data/01-au.ldif
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Base DN
|
||||||
|
dn: c=AU
|
||||||
|
c: AU
|
||||||
|
objectclass: country
|
@ -1,11 +1,4 @@
|
|||||||
# LDIF Export for dc=example,dc=com
|
# 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
|
#version: 1
|
||||||
|
|
||||||
@ -146,3 +139,64 @@ c: US
|
|||||||
description: United States of America
|
description: United States of America
|
||||||
objectclass: country
|
objectclass: country
|
||||||
objectclass: top
|
objectclass: top
|
||||||
|
|
||||||
|
# Entry 16: c=JP,dc=example,dc=com
|
||||||
|
dn: c=JP,dc=example,dc=com
|
||||||
|
c: JP
|
||||||
|
description: Japan
|
||||||
|
description;lang-jp: 日本
|
||||||
|
objectclass: country
|
||||||
|
objectclass: top
|
||||||
|
|
||||||
|
#
|
||||||
|
dn:: b3U95Za25qWt6YOoLGM9SlAsZGM9ZXhhbXBsZSxkYz1jb20=
|
||||||
|
# dn:: ou=<JapaneseOU>,c=JP
|
||||||
|
objectclass: top
|
||||||
|
objectclass: organizationalUnit
|
||||||
|
ou:: 5Za25qWt6YOo
|
||||||
|
# ou:: <JapaneseOU>
|
||||||
|
ou;lang-ja:: 5Za25qWt6YOo
|
||||||
|
# ou;lang-ja:: <JapaneseOU>
|
||||||
|
#ou;lang-ja;x-phonetic:: 44GI44GE44GO44KH44GG44G2
|
||||||
|
# ou;lang-ja:: <JapaneseOU_in_phonetic_representation>
|
||||||
|
ou;lang-en: Sales
|
||||||
|
description: Japanese office
|
||||||
|
|
||||||
|
#
|
||||||
|
dn:: dWlkPXJvZ2FzYXdhcmEsb3U95Za25qWt6YOoLGM9SlAsZGM9ZXhhbXBsZSxkYz1jb20=
|
||||||
|
# dn:: uid=<uid>,ou=<JapaneseOU>,c=JP
|
||||||
|
userpassword: {SHA}O3HSv1MusyL4kTjP+HKI5uxuNoM=
|
||||||
|
objectclass: top
|
||||||
|
objectclass: person
|
||||||
|
objectclass: organizationalPerson
|
||||||
|
objectclass: inetOrgPerson
|
||||||
|
uid: rogasawara
|
||||||
|
mail: rogasawara@airius.co.jp
|
||||||
|
givenname;lang-ja:: 44Ot44OJ44OL44O8
|
||||||
|
# givenname;lang-ja:: <JapaneseGivenname>
|
||||||
|
sn;lang-ja:: 5bCP56yg5Y6f
|
||||||
|
# sn;lang-ja:: <JapaneseSn>
|
||||||
|
cn;lang-ja:: 5bCP56yg5Y6fIOODreODieODi+ODvA==
|
||||||
|
# cn;lang-ja:: <JapaneseCn>
|
||||||
|
title;lang-ja:: 5Za25qWt6YOoIOmDqOmVtw==
|
||||||
|
# title;lang-ja:: <JapaneseTitle>
|
||||||
|
preferredlanguage: ja
|
||||||
|
givenname:: 44Ot44OJ44OL44O8
|
||||||
|
# givenname:: <JapaneseGivenname>
|
||||||
|
sn:: 5bCP56yg5Y6f
|
||||||
|
# sn:: <JapaneseSn>
|
||||||
|
cn:: 5bCP56yg5Y6fIOODreODieODi+ODvA==
|
||||||
|
# cn:: <JapaneseCn>
|
||||||
|
title:: 5Za25qWt6YOoIOmDqOmVtw==
|
||||||
|
# title:: <JapaneseTitle>
|
||||||
|
#givenname;lang-ja;x-phonetic:: 44KN44Gp44Gr44O8
|
||||||
|
# givenname;lang-ja;x-phonetic:: <JapaneseGivenname_in_phonetic_representation_kana>
|
||||||
|
#sn;lang-ja;x-phonetic:: 44GK44GM44GV44KP44KJ
|
||||||
|
# sn;lang-ja;x-phonetic:: <JapaneseSn_in_phonetic_representation_kana>
|
||||||
|
#cn;lang-ja;x-phonetic:: 44GK44GM44GV44KP44KJIOOCjeOBqeOBq+ODvA==
|
||||||
|
# cn;lang-ja;x-phonetic:: <JapaneseCn_in_phonetic_representation_kana>
|
||||||
|
#title;lang-ja;x-phonetic:: 44GI44GE44GO44KH44GG44G2IOOBtuOBoeOCh+OBhg==
|
||||||
|
# title;lang-ja;x-phonetic:: <JapaneseTitle_in_phonetic_representation_kana>
|
||||||
|
givenname;lang-en: Rodney
|
||||||
|
sn;lang-en: Ogasawara
|
||||||
|
cn;lang-en: Rodney Ogasawara
|
@ -1,11 +1,4 @@
|
|||||||
# LDIF Export for dc=example.com
|
# 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
|
#version: 1
|
||||||
|
|
@ -1,11 +1,4 @@
|
|||||||
# LDIF Export for o=Flintstones
|
# LDIF Export for o=Flintstones
|
||||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
|
||||||
# Search Scope: sub
|
|
||||||
# Search Filter: (objectClass=*)
|
|
||||||
# Total Entries: 12
|
|
||||||
#
|
|
||||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:03 pm
|
|
||||||
# Version: 1.2.0.5
|
|
||||||
|
|
||||||
#version: 1
|
#version: 1
|
||||||
|
|
@ -1,11 +1,4 @@
|
|||||||
# LDIF Export for o=Simpsons
|
# LDIF Export for o=Simpsons
|
||||||
# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn)
|
|
||||||
# Search Scope: sub
|
|
||||||
# Search Filter: (objectClass=*)
|
|
||||||
# Total Entries: 11
|
|
||||||
#
|
|
||||||
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:05 pm
|
|
||||||
# Version: 1.2.0.5
|
|
||||||
|
|
||||||
#version: 1
|
#version: 1
|
||||||
|
|
@ -1,135 +1,135 @@
|
|||||||
# LDIF Export for o=Test
|
# LDIF Export for dc=Test
|
||||||
|
|
||||||
#version: 1
|
#version: 1
|
||||||
|
|
||||||
dn: o=Test
|
#dn: dc=Test
|
||||||
o: Test
|
#o: Test
|
||||||
objectclass: organization
|
#objectclass: organization
|
||||||
|
|
||||||
dn: cn=user,o=Test
|
dn: cn=user,dc=Test
|
||||||
cn: user
|
cn: user
|
||||||
sn: Doe
|
sn: Doe
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
objectclass: top
|
objectclass: top
|
||||||
|
|
||||||
dn: ou=Bad DNs,o=Test
|
dn: ou=Bad DNs,dc=Test
|
||||||
objectclass: organizationalUnit
|
objectclass: organizationalUnit
|
||||||
ou: Bad DNs
|
ou: Bad DNs
|
||||||
|
|
||||||
#dn: c=double plus ++,ou=Bad DNs,o=Test
|
#dn: c=double plus ++,ou=Bad DNs,dc=Test
|
||||||
#c: double plus ++
|
#c: double plus ++
|
||||||
#objectclass: country
|
#objectclass: country
|
||||||
|
|
||||||
#dn: c=end dollar$,ou=Bad DNs,o=Test
|
#dn: c=end dollar$,ou=Bad DNs,dc=Test
|
||||||
#c: end dollar$
|
#c: end dollar$
|
||||||
#objectclass: country
|
#objectclass: country
|
||||||
|
|
||||||
dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,o=Test
|
dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: sign@at
|
sn: sign@at
|
||||||
uid: multi-mixed
|
uid: multi-mixed
|
||||||
|
|
||||||
dn: uid=angle\3Cleft,ou=Bad DNs,o=Test
|
dn: uid=angle\3Cleft,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: angle<left
|
uid: angle<left
|
||||||
|
|
||||||
dn: uid=angle\3Eright,ou=Bad DNs,o=Test
|
dn: uid=angle\3Eright,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: angle>right
|
uid: angle>right
|
||||||
|
|
||||||
dn: uid=brace(left,ou=Bad DNs,o=Test
|
dn: uid=brace(left,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: brace(left
|
uid: brace(left
|
||||||
|
|
||||||
dn: uid=brace)right,ou=Bad DNs,o=Test
|
dn: uid=brace)right,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: brace)right
|
uid: brace)right
|
||||||
|
|
||||||
dn: uid=colon:full,ou=Bad DNs,o=Test
|
dn: uid=colon:full,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: colon:full
|
uid: colon:full
|
||||||
|
|
||||||
dn: uid=colon\3Bsemi,ou=Bad DNs,o=Test
|
dn: uid=colon\3Bsemi,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: colon;semi
|
uid: colon;semi
|
||||||
|
|
||||||
#dn: uid=multi+uid=sign@at,ou=Bad DNs,o=Test
|
#dn: uid=multi+uid=sign@at,ou=Bad DNs,dc=Test
|
||||||
#cn: Test
|
#cn: Test
|
||||||
#objectclass: inetOrgPerson
|
#objectclass: inetOrgPerson
|
||||||
#sn: Test
|
#sn: Test
|
||||||
#uid: multi
|
#uid: multi
|
||||||
#uid: sign@at
|
#uid: sign@at
|
||||||
|
|
||||||
#dn: uid=multi+uid=value,ou=Bad DNs,o=Test
|
#dn: uid=multi+uid=value,ou=Bad DNs,dc=Test
|
||||||
#cn: Test
|
#cn: Test
|
||||||
#objectclass: inetOrgPerson
|
#objectclass: inetOrgPerson
|
||||||
#sn: Test
|
#sn: Test
|
||||||
#uid: multi
|
#uid: multi
|
||||||
#uid: value
|
#uid: value
|
||||||
|
|
||||||
dn: uid=quote\22double,ou=Bad DNs,o=Test
|
dn: uid=quote\22double,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: quote"double
|
uid: quote"double
|
||||||
|
|
||||||
dn: uid=quote'single,ou=Bad DNs,o=Test
|
dn: uid=quote'single,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: quote'single
|
uid: quote'single
|
||||||
|
|
||||||
dn: uid=sign%percent,ou=Bad DNs,o=Test
|
dn: uid=sign%percent,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign%percent
|
uid: sign%percent
|
||||||
|
|
||||||
dn: uid=sign\2Bplus,ou=Bad DNs,o=Test
|
dn: uid=sign\2Bplus,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign+plus
|
uid: sign+plus
|
||||||
|
|
||||||
dn: uid=sign\2Ccomma,ou=Bad DNs,o=Test
|
dn: uid=sign\2Ccomma,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign,comma
|
uid: sign,comma
|
||||||
|
|
||||||
dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,o=Test
|
dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign;semicolon@at
|
uid: sign;semicolon@at
|
||||||
|
|
||||||
dn: uid=sign\3Dequal,ou=Bad DNs,o=Test
|
dn: uid=sign\3Dequal,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign=equal
|
uid: sign=equal
|
||||||
|
|
||||||
dn: uid=sign?question,ou=Bad DNs,o=Test
|
dn: uid=sign?question,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
cn: Test
|
||||||
objectclass: inetOrgPerson
|
objectclass: inetOrgPerson
|
||||||
sn: Test
|
sn: Test
|
||||||
uid: sign?question
|
uid: sign?question
|
||||||
|
|
||||||
dn: uid=sign@at,ou=Bad DNs,o=Test
|
#dn: uid=sign@at,ou=Bad DNs,dc=Test
|
||||||
cn: Test
|
#cn: Test
|
||||||
objectclass: inetOrgPerson
|
#objectclass: inetOrgPerson
|
||||||
sn: Test
|
#sn: Test
|
||||||
uid: sign@at
|
#uid: sign@at
|
@ -1,18 +1,18 @@
|
|||||||
# This is a Test-File for characters / encoding
|
# This is a Test-File for characters / encoding
|
||||||
# 1. Change the
|
# 1. Change the
|
||||||
# ,o=Test
|
# ,dc=Test
|
||||||
# to avalue for your organisation
|
# to avalue for your organisation
|
||||||
# 2. Import it with phpldapadmin
|
# 2. Import it with phpldapadmin
|
||||||
#
|
#
|
||||||
# pla-i18n, example.com
|
# pla-i18n, example.com
|
||||||
#
|
#
|
||||||
dn: ou=pla-i18n,o=Test
|
dn: ou=pla-i18n,dc=Test
|
||||||
ou: pla-i18n
|
ou: pla-i18n
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
|
|
||||||
# pl, pla-i18n, example.com
|
# pl, pla-i18n, example.com
|
||||||
dn: ou=pl,ou=pla-i18n,o=Test
|
dn: ou=pl,ou=pla-i18n,dc=Test
|
||||||
description:: IGRvcMOza2k=
|
description:: IGRvcMOza2k=
|
||||||
description:: xITFu8WaxbnEhsWDxYHDk8SYIMSFxbzFm8W6xIfFhMWCw7PEmQ==
|
description:: xITFu8WaxbnEhsWDxYHDk8SYIMSFxbzFm8W6xIfFhMWCw7PEmQ==
|
||||||
description:: V3NrYXrDs3drYQ==
|
description:: V3NrYXrDs3drYQ==
|
||||||
@ -21,7 +21,7 @@ objectClass: organizationalUnit
|
|||||||
ou: pl
|
ou: pl
|
||||||
|
|
||||||
# ru, pla-i18n, example.com
|
# ru, pla-i18n, example.com
|
||||||
dn: ou=ru,ou=pla-i18n,o=Test
|
dn: ou=ru,ou=pla-i18n,dc=Test
|
||||||
description:: 0LfQstGD0YfQuNGCINC/0L7QtNC+0LHQvdC+
|
description:: 0LfQstGD0YfQuNGCINC/0L7QtNC+0LHQvdC+
|
||||||
description:: 0J/RgNC+0YHRgtCw0Y8g0YTQvtGA0LzQsCDQv9C+0LjRgdC6
|
description:: 0J/RgNC+0YHRgtCw0Y8g0YTQvtGA0LzQsCDQv9C+0LjRgdC6
|
||||||
objectClass: top
|
objectClass: top
|
||||||
@ -29,21 +29,21 @@ objectClass: organizationalUnit
|
|||||||
ou: ru
|
ou: ru
|
||||||
|
|
||||||
# jp, pla-i18n, example.com
|
# jp, pla-i18n, example.com
|
||||||
dn: ou=jp,ou=pla-i18n,o=Test
|
dn: ou=jp,ou=pla-i18n,dc=Test
|
||||||
ou: jp
|
ou: jp
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
description:: SVNPLTIwMjItSlDjga7lpJrlm73nsY3oqIDoqp7jgbjjga7mi6HlvLXmgKc=
|
description:: SVNPLTIwMjItSlDjga7lpJrlm73nsY3oqIDoqp7jgbjjga7mi6HlvLXmgKc=
|
||||||
|
|
||||||
# pt-br, pla-i18n, example.com
|
# pt-br, pla-i18n, example.com
|
||||||
dn: ou=pt-br,ou=pla-i18n,o=Test
|
dn: ou=pt-br,ou=pla-i18n,dc=Test
|
||||||
ou: pt-br
|
ou: pt-br
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
description:: VmVyIGFzIHJlcXVpc2nDp8O1ZXMgZW0gYWJlcnRv
|
description:: VmVyIGFzIHJlcXVpc2nDp8O1ZXMgZW0gYWJlcnRv
|
||||||
|
|
||||||
# de, pla-i18n, example.com
|
# de, pla-i18n, example.com
|
||||||
dn: ou=de,ou=pla-i18n,o=Test
|
dn: ou=de,ou=pla-i18n,dc=Test
|
||||||
ou: de
|
ou: de
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
@ -51,7 +51,7 @@ description:: U29uZGVyemVpY2hlbiDDtsOkw7zDnyDDlsOEw5w=
|
|||||||
description:: w5bDliDDnMOcIMOEw4Q=
|
description:: w5bDliDDnMOcIMOEw4Q=
|
||||||
|
|
||||||
# sv, pla-i18n, example.com
|
# sv, pla-i18n, example.com
|
||||||
dn: ou=sv,ou=pla-i18n,o=Test
|
dn: ou=sv,ou=pla-i18n,dc=Test
|
||||||
ou: sv
|
ou: sv
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
||||||
@ -59,7 +59,7 @@ description:: U8O2a29tZsOlbmc=
|
|||||||
description:: bMOldGVyIHNvbQ==
|
description:: bMOldGVyIHNvbQ==
|
||||||
|
|
||||||
# ca, pla-i18n, example.com
|
# ca, pla-i18n, example.com
|
||||||
dn: ou=ca,ou=pla-i18n,o=Test
|
dn: ou=ca,ou=pla-i18n,dc=Test
|
||||||
ou: ca
|
ou: ca
|
||||||
objectClass: top
|
objectClass: top
|
||||||
objectClass: organizationalUnit
|
objectClass: organizationalUnit
|
@ -3,9 +3,9 @@
|
|||||||
#version: 1
|
#version: 1
|
||||||
|
|
||||||
# This entry already exists as a result of configuring the LDAP server
|
# This entry already exists as a result of configuring the LDAP server
|
||||||
#dn: dc=Test
|
dn: dc=Test
|
||||||
#dc: Test
|
dc: Test
|
||||||
#objectclass: dNSDomain
|
objectclass: dNSDomain
|
||||||
|
|
||||||
dn: cn=AdminUser,dc=Test
|
dn: cn=AdminUser,dc=Test
|
||||||
cn: Admin User
|
cn: Admin User
|
@ -1,11 +0,0 @@
|
|||||||
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
|
|
@ -1,69 +1,61 @@
|
|||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.1
|
dn: cn=sudorole,cn=schema,cn=config
|
||||||
NAME 'sudoUser'
|
objectClass: olcSchemaConfig
|
||||||
|
cn: sudorole
|
||||||
|
olcAttributeTypes: {0}( 1.3.6.1.4.1.15953.9.1.1 NAME 'sudoUser'
|
||||||
DESC 'User(s) who may run sudo'
|
DESC 'User(s) who may run sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SUBSTR caseExactIA5SubstringsMatch
|
SUBSTR caseExactIA5SubstringsMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {1}( 1.3.6.1.4.1.15953.9.1.2
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.2
|
|
||||||
NAME 'sudoHost'
|
NAME 'sudoHost'
|
||||||
DESC 'Host(s) who may run sudo'
|
DESC 'Host(s) who may run sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SUBSTR caseExactIA5SubstringsMatch
|
SUBSTR caseExactIA5SubstringsMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {2}( 1.3.6.1.4.1.15953.9.1.3
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.3
|
|
||||||
NAME 'sudoCommand'
|
NAME 'sudoCommand'
|
||||||
DESC 'Command(s) to be executed by sudo'
|
DESC 'Command(s) to be executed by sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {3}( 1.3.6.1.4.1.15953.9.1.4
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.4
|
|
||||||
NAME 'sudoRunAs'
|
NAME 'sudoRunAs'
|
||||||
DESC 'User(s) impersonated by sudo'
|
DESC 'User(s) impersonated by sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {4}( 1.3.6.1.4.1.15953.9.1.5
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.5
|
|
||||||
NAME 'sudoOption'
|
NAME 'sudoOption'
|
||||||
DESC 'Options(s) followed by sudo'
|
DESC 'Options(s) followed by sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {5}( 1.3.6.1.4.1.15953.9.1.6
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.6
|
|
||||||
NAME 'sudoRunAsUser'
|
NAME 'sudoRunAsUser'
|
||||||
DESC 'User(s) impersonated by sudo'
|
DESC 'User(s) impersonated by sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {6}( 1.3.6.1.4.1.15953.9.1.7
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.7
|
|
||||||
NAME 'sudoRunAsGroup'
|
NAME 'sudoRunAsGroup'
|
||||||
DESC 'Group(s) impersonated by sudo'
|
DESC 'Group(s) impersonated by sudo'
|
||||||
EQUALITY caseExactIA5Match
|
EQUALITY caseExactIA5Match
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
|
||||||
|
olcAttributeTypes: {7}( 1.3.6.1.4.1.15953.9.1.8
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.8
|
|
||||||
NAME 'sudoNotBefore'
|
NAME 'sudoNotBefore'
|
||||||
DESC 'Start of time interval for which the entry is valid'
|
DESC 'Start of time interval for which the entry is valid'
|
||||||
EQUALITY generalizedTimeMatch
|
EQUALITY generalizedTimeMatch
|
||||||
ORDERING generalizedTimeOrderingMatch
|
ORDERING generalizedTimeOrderingMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
|
||||||
|
olcAttributeTypes: {8}( 1.3.6.1.4.1.15953.9.1.9
|
||||||
attributetype ( 1.3.6.1.4.1.15953.9.1.9
|
|
||||||
NAME 'sudoNotAfter'
|
NAME 'sudoNotAfter'
|
||||||
DESC 'End of time interval for which the entry is valid'
|
DESC 'End of time interval for which the entry is valid'
|
||||||
EQUALITY generalizedTimeMatch
|
EQUALITY generalizedTimeMatch
|
||||||
ORDERING generalizedTimeOrderingMatch
|
ORDERING generalizedTimeOrderingMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 )
|
||||||
|
olcAttributeTypes: {9} ( 1.3.6.1.4.1.15953.9.1.10
|
||||||
attributeTypes ( 1.3.6.1.4.1.15953.9.1.10
|
|
||||||
NAME 'sudoOrder'
|
NAME 'sudoOrder'
|
||||||
DESC 'an integer to order the sudoRole entries'
|
DESC 'an integer to order the sudoRole entries'
|
||||||
EQUALITY integerMatch
|
EQUALITY integerMatch
|
||||||
ORDERING integerOrderingMatch
|
ORDERING integerOrderingMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
|
||||||
|
olcObjectClasses: {0} ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL
|
||||||
objectclass ( 1.3.6.1.4.1.15953.9.2.1 NAME 'sudoRole' SUP top STRUCTURAL
|
|
||||||
DESC 'Sudoer Entries'
|
DESC 'Sudoer Entries'
|
||||||
MUST ( cn )
|
MUST ( cn )
|
||||||
MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoRunAsUser $ sudoRunAsGroup $ sudoOption $ sudoNotBefore $ sudoNotAfter $ sudoOrder $ description ) )
|
MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoRunAsUser $ sudoRunAsGroup $ sudoOption $ sudoNotBefore $ sudoNotAfter $ sudoOrder $ description ) )
|
12
tests/server/openldap/schema/add/30-uidpool.ldif
Normal file
12
tests/server/openldap/schema/add/30-uidpool.ldif
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
##
|
||||||
|
## Used for storing the next gid and next uid in the the directory
|
||||||
|
##
|
||||||
|
dn: cn=uidpool,cn=schema,cn=config
|
||||||
|
objectClass: olcSchemaConfig
|
||||||
|
cn: uidpool
|
||||||
|
olcObjectClasses: {0}( 1.3.6.1.4.1.7165.1.2.2.3 NAME 'uidPool' SUP top AUXILIARY
|
||||||
|
DESC 'Pool for allocating UNIX uids'
|
||||||
|
MUST ( uidNumber $ cn ) )
|
||||||
|
olcObjectClasses: {1}( 1.3.6.1.4.1.7165.1.2.2.4 NAME 'gidPool' SUP top AUXILIARY
|
||||||
|
DESC 'Pool for allocating UNIX gids'
|
||||||
|
MUST ( gidNumber $ cn ) )
|
Loading…
Reference in New Issue
Block a user