From: Hallvard Furuseth Date: Fri, 18 Mar 2011 15:36:32 +0000 (+0000) Subject: Comment back-ldap/SampleLDAP.pm data structure X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=471fb7ab3b2c3723213169693b2df5bfd1a32303;p=openldap Comment back-ldap/SampleLDAP.pm data structure --- diff --git a/servers/slapd/back-perl/SampleLDAP.pm b/servers/slapd/back-perl/SampleLDAP.pm index 0fc4f865c3..9a8cf8ced6 100644 --- a/servers/slapd/back-perl/SampleLDAP.pm +++ b/servers/slapd/back-perl/SampleLDAP.pm @@ -13,7 +13,7 @@ ## A copy of this license is available in the file LICENSE in the ## top-level directory of the distribution or, alternatively, at ## . -# + # Usage: Add something like this to slapd.conf: # # database perl @@ -22,6 +22,9 @@ # perlModule SampleLDAP # # See the slapd-perl(5) manual page for details. +# +# This demo module keeps an in-memory hash {"DN" => "LDIF entry", ...} +# built in sub add{} & co. The data is lost when slapd shuts down. package SampleLDAP; use strict;