[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Referrals and Netscape 4.6
I need some extra help with referrals.
I've setup a primary backend containing my root suffix and referrals to
others backends.
#### slap.conf file
database ldbm
suffix "dc=aots, dc=sanita, dc=fvg, dc=it"
directory /usr/local/ldap/directories/aots
...
database ldbm
suffix "dc=sanita, dc=fvg, dc=it"
directory /usr/local/ldap/directories/ars
...
All backends are intalled on the same Linux box (SuSE 5.3).
Here is the LDIF by which I've populated the primary backend:
dn: dc=Sanita, dc=fvg, dc=it
objectclass: organization
o: Sanita
dn:
ref="ldap://directory.aots.sanita.fvg.it/dc=AOTS,dc=Sanita,dc=fvg,dc=it",
dc=Sanita, dc=fvg, dc=it
objectclass: referral
ref: ldap://directory.aots.sanita.fvg.it/dc=AOTS,dc=Sanita,dc=fvg,dc=it
...
When I do an ldapsearch on the root suffix I get the right results:
#ldapsearch -L -b dc=sanita,dc=fvg,dc=it objectclass=\*
dn: dc=Sanita, dc=fvg, dc=it
objectclass: organization
o: Sanita
dn: dc=AOTS, dc=Sanita, dc=fvg, dc=it
objectclass: organization
o: AOTS
dn: cn=postmaster, dc=AOTS, dc=Sanita, dc=fvg, dc=it
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: postmaster
sn: postmaster
mail: postmaster@aots.sanita.fvg.it
dn: cn=michele demartin, dc=AOTS, dc=Sanita, dc=fvg, dc=it
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
cn: michele demartin
sn: demartin
mail: michele.demartin@aots.sanita.fvg.it
...
Using Netscape 4.6 Address Book with "dc=Sanita, dc=fvg, dc=it" as search
root I get an error; while using it with "dc=AOTS, dc=Sanita, dc=fvg, dc=it"
everything is ok.
Here is /var/log/messages for Netscape query
Aug 5 10:20:37 ram slapd[18719]: conn=9 fd=5 connection from XXX (AAAA)
accepted.
Aug 5 10:20:37 ram slapd[18719]: conn=9 op=0 BIND dn="" method=128
Aug 5 10:20:37 ram slapd[18719]: conn=9 op=0 RESULT err=0 tag=97 nentries=0
Aug 5 10:20:37 ram slapd[18719]: conn=9 op=1 SRCH
base="DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=*MICHELE*)"
Aug 5 10:20:37 ram slapd[18719]: conn=9 op=1 RESULT err=9 tag=101
nentries=0
Aug 5 10:20:39 ram slapd[18719]: conn=9 op=2 UNBIND
Aug 5 10:20:39 ram slapd[18719]: conn=9 op=2 fd=5 closed errno=0
and this is the log of the successful ldapsearch query
Aug 5 10:19:40 ram slapd[18719]: conn=6 fd=5 connection from localhost
(127.0.0.1) accepted.
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=0 BIND dn="" method=128
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=0 RESULT err=0 tag=97 nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=1 SRCH
base="DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=1 RESULT err=9 tag=101
nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 fd=9 connection from YYY (AAAA)
accepted.
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=0 BIND dn="" method=128
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=0 RESULT err=0 tag=97 nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=1 SRCH
base="DC=ARS,DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=1 RESULT err=32 tag=101
nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=2 SRCH
base="DC=AOTS,DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=2 RESULT err=0 tag=101
nentries=3
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=3 SRCH
base="DC=AOUD,DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=3 RESULT err=32 tag=101
nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=4 SRCH
base="DC=ASS3,DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=4 RESULT err=32 tag=101
nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=5 SRCH
base="DC=ASS5,DC=SANITA,DC=FVG,DC=IT" scope=2 filter="(cn=MICHELE*)"
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=5 RESULT err=32 tag=101
nentries=0
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=6 UNBIND
Aug 5 10:19:40 ram slapd[18719]: conn=7 op=6 fd=9 closed errno=0
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=2 UNBIND
Aug 5 10:19:40 ram slapd[18719]: conn=6 op=2 fd=5 closed errno=0
I can't find anything usefull on the Administration Guide to understand the
differences returned by syslog.
Can anyone help?
(BTW I am using OpenLDAP 1.2.6)
Thanks a lot.
Michele De Martin
--
Waiting for OpenLDAP 2.0 :)