[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to find out whether overlay module is loaded to openldap



On Fri, 2005-11-25 at 11:28 +0530, sandeep wrote:
> Thanks  for your  reply
> 
> My serch  gives the following :
> [root@ncins1 www]# ldapsearch -x -H ldap://:6666 -b cn=Overlays,cn=Monitor
> # extended LDIF
> #
> # LDAPv3
> # base <cn=Overlays,cn=Monitor> with scope subtree
> # filter: (objectclass=*)
> # requesting: ALL
> #
> 
> # search result
> search: 2
> result: 32 No such object
> 
> # numResponses: 1
> [root@ncins1 www]# ldapsearch -x -H ldap://:6666 -b 
> cn=Databases,cn=Monitor '(monitorOverlay=ppolicy)' '*' '+'
> # extended LDIF
> #
> # LDAPv3
> # base <cn=Databases,cn=Monitor> with scope subtree
> # filter: (monitorOverlay=ppolicy)
> # requesting: * +
> #
> 
> # search result
> search: 2
> result: 32 No such object
> 
> # numResponses: 1
> 
>   So it clearly shows no  Overlay module is loaded into ldap.

well, it may also show that the identity you use doesn't have disclose
access below the cn=monitor tree, or you compiled OpenLDAP software
without the monitor overlay (is it yet possible?) or you didn't enable
it by adding the "database monitor" directive to slapd.conf.

>   But I have the following entry in  slapd.conf.
>   # slapo-ppolicy has extra schema requirements
>    include /usr/local/etc/openldap/schema/ppolicy.schema
>    overlay     ppolicy
>    ppolicy_default "cn=Default Policy,ou=Policies,dc=mydoamain,dc=com"

If you do, and slapd starts without complaining too much, then it's
loaded.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------