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

Re: Re: Setting VLV Rules



Hello again,

So, i’ve compiled version 2.4.39 from sources, with the —enable-sssvlv flag. 
It worked ok, When i launch slapd -VVV it lists the sssvlv as a static overlay. 
But, 
The problem I encountered is that the VLV control is not listed in the rootDSE, when I execute :

ldapsearch -h localhost -b '' -s base +

I get :

dn:
structuralObjectClass: OpenLDAProotDSE
configContext: cn=config
namingContexts: dc=peoplefoneTest,dc=com
supportedControl: 1.3.6.1.4.1.4203.1.9.1.1
supportedControl: 1.3.6.1.4.1.4203.666.5.17
supportedControl: 1.3.6.1.4.1.21008.108.63.1
supportedControl: 2.16.840.1.113730.3.4.18
supportedControl: 2.16.840.1.113730.3.4.2
supportedControl: 1.3.6.1.4.1.4203.666.11.7.2
supportedControl: 1.3.6.1.4.1.4203.666.5.12
supportedControl: 1.3.6.1.4.1.4203.666.5.2
supportedControl: 1.3.6.1.4.1.4203.1.10.1
supportedControl: 1.2.840.113556.1.4.1340
supportedControl: 1.2.840.113556.1.4.805
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.3.6.1.1.22
supportedControl: 1.2.840.113556.1.4.1339
supportedControl: 1.2.840.113556.1.4.319
supportedControl: 1.2.826.0.1.3344810.2.3
supportedControl: 1.3.6.1.1.13.2
supportedControl: 1.3.6.1.1.13.1
supportedControl: 1.3.6.1.1.12
supportedExtension: 1.3.6.1.4.1.4203.1.11.1
supportedExtension: 1.3.6.1.4.1.4203.1.11.3
supportedExtension: 1.3.6.1.1.8
supportedExtension: 1.3.6.1.4.1.4203.666.11.7.3
supportedExtension: 1.3.6.1.4.1.4203.666.11.7.1
supportedFeatures: 1.3.6.1.1.14
supportedFeatures: 1.3.6.1.4.1.4203.1.5.1
supportedFeatures: 1.3.6.1.4.1.4203.1.5.2
supportedFeatures: 1.3.6.1.4.1.4203.1.5.3
supportedFeatures: 1.3.6.1.4.1.4203.1.5.4
supportedFeatures: 1.3.6.1.4.1.4203.1.5.5
supportedFeatures: 1.3.6.1.4.1.4203.666.8.1
supportedLDAPVersion: 3
entryDN:
subschemaSubentry: cn=Subschema

But the client requests the VLV control, OID : 2.16.840.1.113730.3.4.9 (LDAP_CONTROL_VLVREQUEST)
It’s not listed in the rootDSE and I get the "critical extension is not recognized” error message.

Doing a search with ldapsearch works 

ldapsearch -h 127.0.0.1 -p 389 -D cn=id35232_u90791224246,ou=users,dc=peoplefoneTest,dc=com -x -W -E "sss=sn/givenName vlv=0/10/0/0"

Is there something I am doing wrong ?

Have a nice day,
Thanks

Erik Tagirov