From: Pierangelo Masarati Date: Wed, 21 Apr 2004 22:42:34 +0000 (+0000) Subject: improve ITS#3107 X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~449 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9323fd77e8af67ee392875239e707512383720c;p=openldap improve ITS#3107 --- diff --git a/tests/data/ppolicy.ldif b/tests/data/ppolicy.ldif index 363e9cbe68..c07ac8dc8e 100644 --- a/tests/data/ppolicy.ldif +++ b/tests/data/ppolicy.ldif @@ -1,19 +1,21 @@ -dn: o=University of Michigan, c=US +dn: dc=example, dc=com objectClass: top objectClass: organization -o: University of Michigan +objectClass: dcObject +o: Example +dc: example -dn: ou=People, o=University of Michigan, c=US +dn: ou=People, dc=example, dc=com objectClass: top objectClass: organizationalUnit ou: People -dn: ou=Policies, o=University of Michigan, c=US +dn: ou=Policies, dc=example, dc=com objectClass: top objectClass: organizationalUnit ou: Policies -dn: cn=Standard Policy, ou=Policies, o=University of Michigan, c=US +dn: cn=Standard Policy, ou=Policies, dc=example, dc=com objectClass: top objectClass: device objectClass: pwdPolicy @@ -32,7 +34,7 @@ pwdMaxFailure: 3 pwdFailureCountInterval: 120 pwdSafeModify: TRUE -dn: uid=nd, ou=People, o=University of Michigan, c=US +dn: uid=nd, ou=People, dc=example, dc=com objectClass: top objectClass: person objectClass: inetOrgPerson @@ -42,7 +44,7 @@ sn: Dunbar givenName: Neil userPassword: testpassword -dn: uid=ndadmin, ou=People, o=University of Michigan, c=US +dn: uid=ndadmin, ou=People, dc=example, dc=com objectClass: top objectClass: person objectClass: inetOrgPerson @@ -52,7 +54,7 @@ sn: Dunbar givenName: Neil userPassword: testpw -dn: uid=test, ou=People, o=University of Michigan, c=US +dn: uid=test, ou=People, dc=example, dc=com objectClass: top objectClass: person objectClass: inetOrgPerson @@ -61,5 +63,5 @@ uid: test sn: Test givenName: Test userPassword: kfhgkjhfdgkfd -pwdPolicySubEntry: cn=No Policy, ou=Policies, o=University of Michigan, c=US +pwdPolicySubEntry: cn=No Policy, ou=Policies, dc=example, dc=com diff --git a/tests/data/slapd-ppolicy.conf b/tests/data/slapd-ppolicy.conf index 751bb68d5c..44315e5314 100644 --- a/tests/data/slapd-ppolicy.conf +++ b/tests/data/slapd-ppolicy.conf @@ -32,13 +32,13 @@ argsfile ./test-db/slapd.args ####################################################################### database @BACKEND@ -suffix "o=University of Michigan,c=US" +suffix "dc=example,dc=com" directory ./testrun/db.1.a -rootdn "cn=Manager,o=University of Michigan,c=US" +rootdn "cn=Manager,dc=example,dc=com" rootpw secret index objectClass eq overlay ppolicy -ppolicy_default "cn=Standard Policy,ou=Policies,o=University of Michigan,c=US" +ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com" ppolicy_use_lockout access to attr=userpassword