Am Thu, 12 Apr 2012 09:07:39 +0300 schrieb Cosmin Ciuraru cosmin.ciuraru@gmail.com:
Hello,
I am trying to use the ppolicy overlay with openldap, version 2.4.20, installed on a SLES 11 SP1 x64, as a package. I have made the following settings in the openldap.conf:
- included the ppolicy.schema
- overlay ppolicy
- ppolicy_default "cn=pwd,ou=Policies,o=...."
I saw that a"'moduleload ppolicy.la" is also required, but I cannot find the library in /usr/lib/openldap/modules (which is empty). I have compiled the source with --enable-ppolicy=mod/yes with --enable-modules=yes, to see if it would generate the library ppolicy.la, but just generated the slapd binary, so, as it gives no error for the config file, I suppose that the ppolicy part is embedded in the slapd.
suse compiles slapd with static overlays so you don't have to include modules.
/usr/lib/openldap> ./slapd -VVV @(#) $OpenLDAP: slapd 2.4.26 $ opensuse-buildservice@opensuse.org
Included static overlays: ppolicy syncprov Included static backends: config ldif monitor bdb hdb ldap relay
-Dieter