Il 01/03/2013 13:39, Achim Gottinger ha scritto:

                 <key>filter</key>
                 <string>
(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')</string>

I've created a group on OpenLDAP and addess some users, but on the slapd
log i've undefined filter. see the log :

ldapserver:/var/log # cat messages | grep conn=2843622
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 ACCEPT from
IP=192.168.20.115:43613 (IP=0.0.0.0:389)
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 BIND dn=""
method=128t
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=0 RESULT tag=97
err=0 text=
Feb 26 10:23:31 atlante slapd[10022]: *conn=2843622 op=1 SRCH
base="dc=primeur,dc=com" scope=2 deref=0 filter="(&(cn=*)(?=undefined))"*
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SRCH attr=*
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 op=2 UNBIND
Feb 26 10:23:31 atlante slapd[10022]: conn=2843622 fd=65 closed

Have you tried to remove the linebreak.

<string>(memberOf='cn=AddressBook,ou=Groups,dc=primeur,dc=com')</string>

Or use something like

<string>(objectClass=person)</string>

for testing if it's an problem with parsing the filter value or applying it?

achim~


I've tried a lots of combinations, but no lucky.

I think the problem is the parsing part.


--



Carbone Dario | Primeur Sales & Marketing
IT Service Department
Mobile:3488960584 | Email | linkedin | skype

Reply via email to