From 96be0f385247a81b9845d27ab40bf432b45f78d6 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Wed, 13 Dec 2006 15:44:14 +0000
Subject: [PATCH] Data files that are needed for the functional tests for Issue 587.

---
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd8.ldif                 |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_short.ldif |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd4.ldif           |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_long.ldif  |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd5.ldif           |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd7.ldif                 |   29 +++++++
 opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_disable_max_reset_age.ldif      |   29 +++++++
 7 files changed, 203 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd4.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd4.ldif
new file mode 100644
index 0000000..14971ce
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd4.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: uid=mdog,ou=People,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com
+changetype: modify
+replace: userpassword
+userpassword: adminlongpizza
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd5.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd5.ldif
new file mode 100644
index 0000000..6cdc75f
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_change_user_pwd5.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: uid=mdog,ou=People,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com
+changetype: modify
+replace: userpassword
+userpassword: adminshortpizza
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_disable_max_reset_age.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_disable_max_reset_age.ldif
new file mode 100644
index 0000000..cdfd562
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_disable_max_reset_age.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: cn=Default Password Policy,cn=Password Policies,cn=config
+changetype: modify
+replace: ds-cfg-maximum-password-reset-age
+ds-cfg-maximum-password-reset-age: 0 seconds
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_long.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_long.ldif
new file mode 100644
index 0000000..329a0f1
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_long.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: cn=Default Password Policy,cn=Password Policies,cn=config
+changetype: modify
+replace: ds-cfg-maximum-password-reset-age
+ds-cfg-maximum-password-reset-age: 30 minutes
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_short.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_short.ldif
new file mode 100644
index 0000000..c1d1ba5
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/admin_enable_max_reset_age_short.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: cn=Default Password Policy,cn=Password Policies,cn=config
+changetype: modify
+replace: ds-cfg-maximum-password-reset-age
+ds-cfg-maximum-password-reset-age: 8 seconds
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd7.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd7.ldif
new file mode 100644
index 0000000..933cf69
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd7.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: uid=mdog,ou=People,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com
+changetype: modify
+replace: userpassword
+userpassword: newlongpizza
diff --git a/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd8.ldif b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd8.ldif
new file mode 100644
index 0000000..71da251
--- /dev/null
+++ b/opendj-sdk/opends/tests/functional-tests/shared/data/security/pwd_policy/user_change_pwd8.ldif
@@ -0,0 +1,29 @@
+# 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
+#
+#      Portions Copyright 2006 Sun Microsystems, Inc.
+#
+
+dn: uid=mdog,ou=People,ou=password tests,o=Pwd Policy Tests,dc=example,dc=com
+changetype: modify
+replace: userpassword
+userpassword: newshortpizza

--
Gitblit v1.10.0