OSS-LDAPops

 view release on metacpan or  search on metacpan

examples/slapd.conf  view on Meta::CPAN



#Accesslog database definitions
database hdb
suffix cn=accesslog
directory /var/lib/openldap-accesslog
rootdn cn=accesslog
index default eq
index entryCSN,objectClass,reqEnd,reqResult,reqStart

overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE

# Let the replica DN have limitless searches
limits dn.exact="uid=replicant,ou=repl,dc=auth,dc=example,dc=net" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited


#######################################################################
# BDB database definitions
#######################################################################

examples/slapd.conf  view on Meta::CPAN

# Mode 700 recommended.
directory	/var/lib/openldap-data
# Indices to maintain
index	objectClass	eq
index	uid		eq
index	memberUid	eq
index	uniqueMember	eq
index 	entryCSN	eq
index	entryUUID 	eq

overlay syncprov
syncprov-checkpoint 1000 60

# accesslog overlay definitions for primary db
overlay accesslog
logdb cn=accesslog
logops writes
logsuccess TRUE
# scan the accesslog DB every day, and purge entries older than 7 days
logpurge 07+00:00 01+00:00

# Let the replica DN have limitless searches
limits dn.exact="uid=replicant,ou=repl,dc=auth,dc=example,dc=net" time.soft=unlimited time.hard=unlimited size.soft=unlimited size.hard=unlimited

lib/OSS/LDAPops.pm  view on Meta::CPAN

=item *

changepassword.pl - an example simple CGI script using OSS::LDAPops

=item *

notifypasswordexpiry.pl - a script to send an email to users when their password expires.

=item *

ppolicy.ldif - an example password policy to use with the ppolicy overlay. 

=item *

Several other example files, to asisst in setting up *NIX servers to use the directory are also included. 

=back

=head1 USING THE DIRECTORY WITH *NIX SERVERS

The reader should consider looking at nss_ldap and pam_ldap, here:



( run in 0.228 second using v1.01-cache-2.11-cpan-26ccb49234f )