[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
questions about sssvlv overlay :
- To: openldap-technical@openldap.org
- Subject: questions about sssvlv overlay :
- From: Nicolas RENAULT <nicolas_renault@yahoo.fr>
- Date: Mon, 20 Oct 2014 19:22:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1413825773; bh=RkOHeNrXzTnpOyw3HJt/CNPDRyCsVjZRpxcvXcs+edE=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=IrMryr9eQ44o4LHCw48RIYA3qtM4t5whQevRK0hTvl93orr/a8lczT+WbX4o9AKkd91apMArBFKsvmJfQC1BVbuT9Uw94Td8R9GPU7lq71XTJHzWyuuAp9h6fNc5YZ40m58OMAo6CGcziRUv0tbdPZdBi25UVzr6A+CZIQP1DTA+gXfOGY4NR1ZsQtOHnbJ9owRxNsfibsz9N1GO63TeKDuqykh6Mh/miaWlz3VnqQEHUoB4BAls6O2oYUZWJ44bg1rXITJfLormYU1c7nU+jKAHRVCEmxjZn2AaqVJt5z1JJwGmrmix7FZM34BdWsSlHQ3ZCtVrTmL1wQTh8jOnBg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024; t=1413825772; bh=RkOHeNrXzTnpOyw3HJt/CNPDRyCsVjZRpxcvXcs+edE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=IROlT9psVLaXrzvqOj69EQgFnRhi3uEIlYhHbCF03v2qnnjNZfQPsihFfiJuzIRyZynWGuBf0Jsr0k84YEbrJybcKCv+m0FZ9PISWk5O6Qm2HNhCwdKpsZQ/uTC0mHpVEHm9Tf5R7Un22GUkKqaSaa+sc9OZ2xh/Dr5Bj3/WEQM=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.fr; b=Fqq4XjGWp+hx7NoQ0AaQ6t3FFaMfAheFT+xCCiR7Mhsa+/1AQVFvm8MsyqlrIsEXFc6cH1aqIYoXPu6kWQlbvq2c+622JJx1iQ0+ZXySC9ILiO3u0W3cftFzSdHeOuhz4500R1XYu+jiFg3HX4Nw7dmUJNwLk7DYkHZ0dGPpK4zKrF7jZ0cJf7pxgo2o4M/Xktp8p3euBUYk98lNFy43NFYc3317e6BOqZmX8YrbZjCdjYSFwuRd7kabYiWleJPu0oZUq7IfD/jmPJyAKT3W7kPwAGEMY8rJj56eVCbIkcMiEvhAj7P1qU/nl/4OBF6wUtsR4pknQJnj8fLiOFvlQg==;
- In-reply-to: <CAALdBudX8ZRswAOhCS-kbRF7h434cKUiHnm1yyf39axoUoixbA@mail.gmail.com>
- References: <CAALdBudX8ZRswAOhCS-kbRF7h434cKUiHnm1yyf39axoUoixbA@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
Hello
question about overlay sssvlv
info
openldap 2.4.40 with meta to relay informations from one AD , one EDIr
and one openLDAP. (just use openLDAP for now)
I create a database to get locally the root "dc=example,dc=fr" and the
firstlevel OU "ou=TOUT,dc=example,dc=fr"
I bind the LDAP on "ou=LDAP,ou=TOUT,dc=example,dc=fr"
I activate this overlay (sssvlv) on slapd.conf (because of meta)
globally (ie before the statement for the meta database)
overlay sssvlv
just this line.
on example.schema file I define ORDERING for the attribute displayName
----------
attributetype ( 2.16.840.1.113730.3.1.241
NAME 'displayName'
DESC 'RFC2798: preferred name to be used when displaying entries'
EQUALITY caseIgnoreMatch
ORDERING caseIgnoreOrderingMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
----------------------
then i try to make a ldapsearch like this :
ldapsearch -E 'sss=displayName' -H ldap://localhost -x -D
"cn=Manager,dc=example,dc=fr" -b "ou=LDAP,ou=TOUT,dc=example,dc=fr" -w
xxxx -s sub "(&(objectClass=user)(displayName=ag*))" displayName
# extended LDIF
#
# LDAPv3
# base <ou=LDAP,ou=TOUT,dc=example,dc=fr> with scope subtree
# filter: (&(objectClass=user)(displayName=ag*))
# requesting: displayName
# with server side sorting control
#
# search result
search: 2
result: 0 Success
control: 1.2.840.113556.1.4.474 false MAMKAQA=
sortResult: (0) Success
# numResponses: 1
If I try the search without sorting :
ldapsearch -H ldap://localhost -x -D "cn=Manager,dc=example,dc=fr" -b
"ou=LDAP,ou=TOUT,dc=example,dc=fr" -w xxxx -s sub
"(&(objectClass=user)(displayName=ag*))" displayName
# extended LDIF
#
# LDAPv3
# base <ou=LDAP,ou=TOUT,dc=example,dc=fr> with scope subtree
# filter: (&(objectClass=user)(displayName=ag*))
# requesting: displayName
#
<results removed>
# search result
search: 2
result: 0 Success
# numResponses: 6
# numEntries: 5
It find 5 entry with displayName=Agnes , displayName=agiercza, ....
what did I forgot ?
do I have to activate the overlay on the meta database and on the local
database statement of slapd.conf ?
does my ldapsearch incorrect to use server side sorting ?
thanks for help.
--
Nicolas