From 32e2b04dd1d98d96d90fdfaa3841524b3003dcdb Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Fri, 17 Sep 2010 08:18:29 -0600 Subject: 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 --- ldap/ldif/template-dse.ldif.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ldap/ldif/template-dse.ldif.in') diff --git a/ldap/ldif/template-dse.ldif.in b/ldap/ldif/template-dse.ldif.in index ca2ede8a..f2b92a52 100644 --- a/ldap/ldif/template-dse.ldif.in +++ b/ldap/ldif/template-dse.ldif.in @@ -955,3 +955,21 @@ objectclass: top objectclass: extensibleObject cn: tasks +dn: cn=Account Policy Plugin,cn=plugins,cn=config +objectClass: top +objectClass: nsSlapdPlugin +objectClass: extensibleObject +cn: Account Policy Plugin +nsslapd-pluginPath: libacctpolicy-plugin +nsslapd-pluginInitfunc: acct_policy_init +nsslapd-pluginType: object +nsslapd-pluginEnabled: off +nsslapd-plugin-depends-on-type: database +nsslapd-pluginId: acct-policy + +dn: cn=config,cn=Account Policy Plugin,cn=plugins,cn=config +objectClass: top +objectClass: extensibleObject +cn: config +alwaysrecordlogin: no + -- cgit