[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapo-pcache seems broken in openldap-2.4.31
- To: openldap-technical@openldap.org
- Subject: slapo-pcache seems broken in openldap-2.4.31
- From: Tio Teath <tioteath@gmail.com>
- Date: Sat, 24 Nov 2012 15:04:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=I/HNRCoC7G0QukbPS/CpQtrrJucSPqsExFBrfAr2npo=; b=oYkeIYd+FRgh8VPMOVVXw1IkRC0T0pVsH8HZBV9OZKqqW5v2vWa+X1DjR+vVVC8j7E vA4/GehCX/18yJqAmL8wvsP7EaF/GvM2qerNlftQNq0fdwHBjMrjHS8yHq/EJDlI5uB6 +XrZtNMPwDyv5GIGoV2ACg9Obij2J3DT7kllrYoTn0xlbwcssdr9DuLNTjNN0OG/pT5f vAEp02pHDvU6uDaqsrQJsJen5U5Dcwaoofh5HxRy80YjOBNnIH/BFyfj5Wz5ttG2AK5u L9Ip8vtCX2sMvQ9Yn0vR3I9D3lcBMwuREHM2npizS3pYnxY0OMakUliuVPNuzeqdhqIr 5Lqw==
I'm trying to set up slapo-pcache using cn=config, and this is my settings:
dn: olcDatabase={1}ldap,cn=config
objectClass: olcConfig
objectClass: olcDatabaseConfig
objectClass: olcLDAPConfig
objectClass: top
olcDatabase: {1}ldap
olcRootDN: cn=admin,cn=config
olcAccess: {0}to * by * read
olcDbACLBind: bindmethod=simple binddn="ou=group,dc=remote"
credentials="password" tls_cacert="/etc/ssl/certs/ca-certificates.crt"
starttls=yes
olcDbURI: ldap://remote.host
olcSuffix: dc=remote
dn: olcOverlay={0}pcache,olcDatabase={1}ldap,cn=config
objectClass: olcPcacheConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: {0}pcache
olcPcache: hdb 10000 1 50 100
olcPcacheAttrset: 0 member
olcPcacheTemplate: "(objectClass=)" 0 3600
dn: olcDatabase={0}hdb,olcOverlay={0}pcache,olcDatabase={1}ldap,cn=config
objectClass: olcPcacheDatabase
objectClass: olcHdbConfig
objectClass: olcDatabaseConfig
objectClass: olcConfig
objectClass: top
olcDatabase: {0}hdb
olcDbDirectory: /var/lib/ldap/cache
olcDbIndex: objectClass eq
olcDbIndex: pcacheQueryid eq
But each time I'm trying to run
ldapsearch -b"cn=test2,ou=group,dc=remote" '(objectClass=*)' member
I'm getting QUERY NOT ANSWERABLE/QUERY NOT CACHEABLE errors in the log.
Besides, it is impossible to modify attributes
olcPcacheTemplate/olcPcacheAttrset:
modify/add: olcPcacheTemplate: no equality matching rule
Can anyone confirm that the one have managed to make slapo pcache
working on 2.4.31?