Hi,
I have created a custom partition that is responsible for serving PGP
keys, and i have the following
problem:
when issuing with ldapsearch the following command:
ldapsearch -x -H ldap://localhost:11500 -D "dn=bugs" -w bunny -b
"dc=pgpkeys" "(&(pgpuserid=test*)(pgpdisabled=0))"
in the search() method of my custom partition class I get a SimpleNode
filter with just (pgpdisabled=0) instead
of more complex filter i guess it should be a BranchNode object that
will represent the filter "(&(pgpuserid=test*)(pgpdisabled=0))"
sent by the client.
Here is the log:
-----------------------------------------------------
2391938 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1779] RECEIVED:
[EMAIL PROTECTED]
2391938 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1779] CLOSE
2391938 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1779] CLOSED
2475391 [IoThreadPool-1] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1783] OPENED
2475422 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1783] RECEIVED: BindRequest
Version : '3'
Name : 'dn=bugs'
Simple authentication : 'bunny/0x62 0x75 0x6E 0x6E 0x79 '
2475422 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1783] WRITE: BindResponse
Ldap Result
Result code : (ResultCodeEnum[SUCCESS=0]) success
Matched DN : 'null'
Error message : 'null'
2475422 [IoThreadPool-2] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1783] SENT: BindResponse
Ldap Result
Result code : (ResultCodeEnum[SUCCESS=0]) success
Matched DN : 'null'
Error message : 'null'
2475422 [IoThreadPool-1] INFO
org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler
- [/127.0.0.1:1783] RECEIVED: SearchRequest
baseDn : 'dc=pgpkeys'
filter : '(pgpdisabled=0) '
scope : whole subtree
typesOnly : false
no limit
Time Limit : no limit
Deref Aliases : never Deref Aliases
attributes :
-----------------------------------------------------
Regards,
Vladimir Gjokjevski