From c9323fd77e8af67ee392875239e707512383720c Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 21 Apr 2004 22:42:34 +0000 Subject: [PATCH] improve ITS#3107 --- tests/data/ppolicy.ldif | 20 +++++++++++--------- tests/data/slapd-ppolicy.conf | 6 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) 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 -- 2.39.5