Hi, I'm using autogroup overlay (OpenLDAP 2.4.23, autogroup v. 1.2.2.11 but the behaviour was the same with 1.2.2.6) and I'm facing a strange situation. Operations performed using openldap client tools work as expected. The same operations performed using a java client do not. I've restricted the problematic operations to modifications of existing entries. Using attached slapd.conf and ldap.ldif it's quite simple to reproduce it.
Using openldap ldapmodify client:
cn=user2,ou=people,dc=example,dc=com add: description description: test
modifies the entry AND triggers autogroup modify operation on group cn=description adding user2 as a member of the group (see slapd.log.ok.add)
The same operation performed with JExplorer modifies the entry but does NOT triggers autogroup modification (see slapd.log.java.add)
I've compared the two logs and overlay related modifications are completely skipped in the java client test. Anyone has an explanation?
Note: adding a new entry or deleting an existing one (if it matches any of the criteria in memberUrl) works even with Jexplorer.
thanks
forgot the log file in java case
Il 15/02/2011 16:10, Luca Scamoni ha scritto:
Hi, I'm using autogroup overlay (OpenLDAP 2.4.23, autogroup v. 1.2.2.11 but the behaviour was the same with 1.2.2.6) and I'm facing a strange situation. Operations performed using openldap client tools work as expected. The same operations performed using a java client do not. I've restricted the problematic operations to modifications of existing entries. Using attached slapd.conf and ldap.ldif it's quite simple to reproduce it.
Using openldap ldapmodify client:
cn=user2,ou=people,dc=example,dc=com add: description description: test
modifies the entry AND triggers autogroup modify operation on group cn=description adding user2 as a member of the group (see slapd.log.ok.add)
The same operation performed with JExplorer modifies the entry but does NOT triggers autogroup modification (see slapd.log.java.add)
I've compared the two logs and overlay related modifications are completely skipped in the java client test. Anyone has an explanation?
Note: adding a new entry or deleting an existing one (if it matches any of the criteria in memberUrl) works even with Jexplorer.
thanks
--
/Luca Scamoni / *Gruppo Partners Associates* Tel. Milano +39 02 67380435**- Udine +39 0432 689815 - Roma +39 06 54832300 Fax Milano +39 02 67386214 - Udine +39 0432 570120 - Roma +39 06 91659273 Cell. +39 348 0471710 Email: Luca.Scamoni@GruppoPA.it mailto:Luca.Scamoni@GruppoPA.it Sito: _www.GruppoPA.it_ http://www.GruppoPA.it
Prima di stampare, pensa all'ambiente ** Think about the environment before printing
openldap-technical@openldap.org