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

Re: Rép. : Re: Overlay Chain


My two directories seems to be chainning like
           |-NDS (ldaps://ip:port/.....)
Now I try to search some entries on my secondary directory (chainning
I have test this search and use a search base that is a subtree on my
master directory 
/usr/local/openLdap2.3.17/bin/ldapsearch -b
o=referral,dc=monAnnuaire,dc=fr -s sub -x -LL -w secret -D
cn=Manager,dc=monAnnuaire,dc=fr cn=*leducq*

it's return some entries.
Now I have test this search and use a search base that is a subtree on
my master directory and secondary directory 
/usr/local/openLdap2.3.17/bin/ldapsearch -b
o=NDS,o=referral,dc=monAnnuaire,dc=fr -s sub -x -LL -w secret -D
cn=Manager,dc=ghec,dc=fr cn=*leducq*

it's return
version: 1
Referral (10)
Matched DN: o=NDS,o=referral,dc=ghec,dc=fr
Referral: ldaps://

so I don't understand why a have this error. I know that openLdap
customer is not able to follow referral link. Normally why overlay chain
it's the openLdap server that manage the referral link and not the
customer ?
if I use a customer what able to follow referral link is ask my the
login and password .....
what i search to do is to make a search not in the whole of the
directory but in a specifique subtree on the chainning directory
thx to help me .
>>> "Eudes LEDUCQ" <LEDUCQ@hec.fr> 01/12 4:44  >>>

I try to chain two openLdap directories ands I have some problem

I try to do:

        Master directory
       |-Secondary Directory
           |-referral link 
My config:

overlay         chain
chain-uri       ldaps://Ip:636/??sub
chain-idassert-bind     bindmethod=simple

My referral link:
dn: o=ldap,o=NDS,dc=monAnnuaire2,dc=fr
objectClass: referral
objectClass: extensibleObject
o: ldap
ref: ldaps://IP:636/dc=monAnnuaire2,dc=fr

So, openLdap start without errors

then I go on ldapBrowser and see something like this:

        Master directory
       |-Secondary Directory

now, I want to deploy for exemple the subtree
ldap://Ip:636/o=service3,dc=monAnnuaire3,dc=fr, I' m not able

i have the following error:

My log:

<<< dnPrettyNormal:
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
==> limits_get: conn=8 op=1
=> bdb_search
=> bdb_dn2id("dc=fr,o=nds,dc=monAnnuaire,dc=fr")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found

I don't understand.


>>> "Pierangelo Masarati" <ando@sys-net.it> 01/12 1:06  >>>
1) Go back to my previous message;
2) follow the steps indicated in it;
3) provide the requested information;
4.a) don't expect people can blindly guess what's going wrong in your
system when you don't provide anything that can help them
4.b) (and please do not trust those that do blindly guess and yet


> now I have:
> a referral link like this:
> dn: o=NDS,dc=eDirectory,dc=fr
> objectClass: referral
> objectClass: extensibleObject
> o: NDS
> ref: ldaps://Ip:636/ou=users,o=eDirectory
> and on slapd.conf this
> .....
> overlay         chain
> chain-uri       ldaps://Ip:636/
> chain-idassert-bind     bindmethod=simple
>                         credentials=password
>                         mode=self
> ......
> then I can see on ldap Browser a subtree like : ou=users
> When I want to see the ou subtree I must re entrer a login and
> password, so I don't understand what it's wong
> Nota:
> I can bind all the directories

Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it