summaryrefslogtreecommitdiffstats
path: root/ldap/schema/60acctpolicy.ldif
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-09-17 08:18:29 -0600
committerRich Megginson <rmeggins@redhat.com>2010-10-01 17:02:53 -0600
commit32e2b04dd1d98d96d90fdfaa3841524b3003dcdb (patch)
tree5cf8dfd0a10441354b4ba9d3c7b514270839ef66 /ldap/schema/60acctpolicy.ldif
parent4f410d762b008da8e2e43e29100c2c04ff332fbb (diff)
downloadds-32e2b04dd1d98d96d90fdfaa3841524b3003dcdb.tar.gz
ds-32e2b04dd1d98d96d90fdfaa3841524b3003dcdb.tar.xz
ds-32e2b04dd1d98d96d90fdfaa3841524b3003dcdb.zip
add the account policy plugin and related server code, schema, and config
Add the account policy plugin and related server code, schema, and config A new switch to configure has been added --enable-acctpolicy - this is enabled by default - so the plugin and the schema will be built and installed by default the plugin will be in dse.ldif, but will be disabled by default The original contribution had some minor problems with the schema and config entries - these have been cleaned up The original contribution had a few memory leaks - these have been cleaned up
Diffstat (limited to 'ldap/schema/60acctpolicy.ldif')
-rw-r--r--ldap/schema/60acctpolicy.ldif47
1 files changed, 47 insertions, 0 deletions
diff --git a/ldap/schema/60acctpolicy.ldif b/ldap/schema/60acctpolicy.ldif
new file mode 100644
index 00000000..40c092ec
--- /dev/null
+++ b/ldap/schema/60acctpolicy.ldif
@@ -0,0 +1,47 @@
+# Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# version 2 as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Contributors:
+# Hewlett-Packard Development Company, L.P.
+#
+# Schema for the account policy plugin
+#
+dn: cn=schema
+##
+## lastLoginTime holds login state in user entries (GeneralizedTime syntax)
+attributeTypes: ( 2.16.840.1.113719.1.1.4.1.35 NAME 'lastLoginTime'
+ DESC 'Last login time'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.24 SINGLE-VALUE USAGE directoryOperation
+ X-ORIGIN 'Account Policy Plugin' )
+##
+## acctPolicySubentry is an an account policy pointer (DN syntax)
+attributeTypes: ( 1.3.6.1.4.1.11.1.3.2.1.2 NAME 'acctPolicySubentry'
+ DESC 'Account policy pointer'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 SINGLE-VALUE USAGE directoryOperation
+ X-ORIGIN 'Account Policy Plugin' )
+##
+## accountInactivityLimit specifies inactivity limit in accountPolicy objects
+## (DirectoryString syntax)
+attributeTypes: ( 1.3.6.1.4.1.11.1.3.2.1.3 NAME 'accountInactivityLimit'
+ DESC 'Account inactivity limit'
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE
+ X-ORIGIN 'Account Policy Plugin' )
+##
+## accountPolicy is the objectclass of account policy subentries
+objectClasses: ( 1.3.6.1.4.1.11.1.3.2.2.1 NAME 'accountPolicy'
+ DESC 'Account policy entry'
+ SUP top AUXILIARY MAY ( accountInactivityLimit )
+ X-ORIGIN 'Account Policy Plugin' )
+