From a05ca248fcd3fae570a6df2edf216f717e95a8f4 Mon Sep 17 00:00:00 2001
From: Gary Williams <gary.williams@forgerock.com>
Date: Mon, 12 Mar 2012 17:12:17 +0000
Subject: [PATCH] Files for password policy functional tests

---
 opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_entry_preencoded_pwd.ldif |   43 ++++++++++++++
 opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_new_root_user.ldif        |   42 ++++++++++++++
 opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_sales_person.ldif         |   63 +++++++++++++++++++++
 3 files changed, 148 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_entry_preencoded_pwd.ldif b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_entry_preencoded_pwd.ldif
new file mode 100644
index 0000000..40533dd
--- /dev/null
+++ b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_entry_preencoded_pwd.ldif
@@ -0,0 +1,43 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE
+# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
+# add the following below this CDDL HEADER, with the fields enclosed
+# by brackets "[]" replaced with your own identifying information:
+#      Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#      Copyright 2006-2008 Sun Microsystems, Inc.
+#
+
+dn: uid=pguy,ou=People,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com
+objectClass: person
+objectClass: inetOrgPerson
+objectClass: top
+objectClass: organizationalPerson
+ou: Accounting
+ou: People
+sn: Guy
+facsimiletelephonenumber: +1 408 555 9751
+roomnumber: 4612
+userpassword: {SSHA}oos/npB0lBtdF1hZxBlavB9m5c7Gczn+LOf41Q==
+l: Sunnyvale
+cn: Precoded Guy
+telephonenumber: +1 408 555 4798
+givenname: Precoded
+uid: pguy
+mail: pguy@example.com
+
diff --git a/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_new_root_user.ldif b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_new_root_user.ldif
new file mode 100644
index 0000000..bde6f2e
--- /dev/null
+++ b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_new_root_user.ldif
@@ -0,0 +1,42 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE
+# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
+# add the following below this CDDL HEADER, with the fields enclosed
+# by brackets "[]" replaced with your own identifying information:
+#      Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#      Copyright 2008 Sun Microsystems, Inc.
+#
+
+dn: cn=Zroot Manager,cn=Root DNs,cn=config
+objectClass: person
+objectClass: organizationalPerson
+objectClass: inetOrgPerson
+objectClass: ds-cfg-root-dn-user
+objectClass: top
+ds-cfg-alternate-bind-dn: cn=Zroot
+givenName: Zroot
+uid: zmanager
+cn: Zroot Manager
+sn: Manager
+userpassword: froglegs
+ds-pwp-password-policy-dn: cn=Root Password Policy,cn=Password Policies,cn=config
+ds-rlim-lookthrough-limit: 0
+ds-rlim-time-limit: 0
+ds-rlim-size-limit: 0
+
diff --git a/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_sales_person.ldif b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_sales_person.ldif
new file mode 100644
index 0000000..8741653
--- /dev/null
+++ b/opendj-sdk/opends/tests/staf-tests/functional-tests/shared/data/password_policy/add_sales_person.ldif
@@ -0,0 +1,63 @@
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License, Version 1.0 only
+# (the "License").  You may not use this file except in compliance
+# with the License.
+#
+# You can obtain a copy of the license at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE
+# or https://OpenDS.dev.java.net/OpenDS.LICENSE.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at
+# trunk/opends/resource/legal-notices/OpenDS.LICENSE.  If applicable,
+# add the following below this CDDL HEADER, with the fields enclosed
+# by brackets "[]" replaced with your own identifying information:
+#      Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#      Copyright 2006-2008 Sun Microsystems, Inc.
+#
+
+dn: uid=sguy,ou=People,ou=password tests,  o=Pwd Policy Tests, dc=example,dc=com
+objectClass: person
+objectClass: inetOrgPerson
+objectClass: top
+objectClass: organizationalPerson
+ou: Accounting
+ou: People
+sn: Guy
+facsimiletelephonenumber: +1 408 555 9751
+roomnumber: 4612
+userpassword: superguy
+l: Sunnyvale
+cn: Sales Guy
+telephonenumber: +1 408 555 4798
+givenname: Sales
+uid: sguy
+mail: sguy@example.com
+ds-pwp-password-policy-dn: cn=Sales Password Policy,cn=Password Policies,cn=config
+
+dn: uid=sgal,ou=People,ou=password tests,  o=Pwd Policy Tests, dc=example,dc=com
+objectClass: person
+objectClass: inetOrgPerson
+objectClass: top
+objectClass: organizationalPerson
+ou: Accounting
+ou: People
+sn: Guy
+facsimiletelephonenumber: +1 408 555 9751
+roomnumber: 4612
+userpassword: supergal
+l: Sunnyvale
+cn: Sales Guy
+telephonenumber: +1 408 555 4798
+givenname: Sales
+uid: sgal
+mail: sgal@example.com
+ds-pwp-password-policy-dn: cn=Sales Password Policy,cn=Password Policies,cn=config
+

--
Gitblit v1.10.0