X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fback-perl%2FSampleLDAP.pm;h=341f2b02e709f183ef42204773f11518dfdea547;hb=9cdb7b18a929d546a7681d3ac0f830821069c5a5;hp=0fc4f865c3e8ba78c27ba2c4680470094e3d0845;hpb=0b1cfd3301715a9be2bd07b4e064bbd444d802b0;p=openldap
diff --git a/servers/slapd/back-perl/SampleLDAP.pm b/servers/slapd/back-perl/SampleLDAP.pm
index 0fc4f865c3..341f2b02e7 100644
--- a/servers/slapd/back-perl/SampleLDAP.pm
+++ b/servers/slapd/back-perl/SampleLDAP.pm
@@ -2,7 +2,7 @@
# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
-## Copyright 1998-2011 The OpenLDAP Foundation.
+## Copyright 1998-2013 The OpenLDAP Foundation.
## Portions Copyright 1999 John C. Quillan.
## All rights reserved.
##
@@ -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;