[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP: Referrals
I think what you're looking for is more along the lines of a back-meta
implementation rather than LDAP referrals. Read the Admin Guide/man
pages/list archives on that topic and see if you can put it together to
achieve what you want.
On Mon, 30 Jul 2007, r d wrote:
can someone suggest something on following
----- Original Message ----
From: r d <rad390@yahoo.com>
To: openldap-software@openldap.org
Sent: Friday, July 27, 2007 3:49:05 PM
Subject: OpenLDAP: Referrals -help
Hello,
I'm newbe to openldap. Want to get some helpful hand on setting up referral.
I've two slapd instances running. The directory tree on machine 1 is dc=example,dc=com,ou=TestUser
and directory tree on machine B has dc=example,dc=com,ou=TestUser and dc=example,dc=com,ou=LdapUser
Now from machine A I'm trying to refer records in machine B using following command.and I get following output. my slapd.config on machine-A has following line
referral ldap://machin-B:389/
C:\Program Files\OpenLDAP>ldapsearch.exe -x -H ldap://machin-A -D "cn=Mana
ger,dc=example,dc=com" -b "dc=example,dc=com,ou=LdapUser" "cn="LdapUser1 foo" -W
Enter LDAP Password: # extended LDIF
#
# LDAPv3
# base <dc=example,dc=com,ou=LdapUser> with scope
sub
# filter: sn=LU1foo
# requesting: ALL
#
# search result
search: 2
result: 10 Referral
ref: ldap://machine-B:389/dc=example,dc=com,ou=LdapUser??sub
# numResponses: 1
==========================
What I was expecting in output was search should return the record exists in machine B. But it didn't.
Am I expecting right thing ? Is there anyhitng I need to configured, add entry in proper format or somehitng ?
Please suggest
==========================
Notice that sample entry exists on machine-B.
ldapsearch -x -b 'dc=example,dc=com' '(&(objectclass=*)(cn=LdapUser1 foo))'
# LdapUser1 foo, LdapUser, example.com
dn: cn=LdapUser1 foo,ou=LdapUser,dc=example,dc=com
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: uidObject
cn: LdapUser1 foo
uid: LU1foo
sn: LU1foo
displayName: LdapUser1
foo
userPassword:: VGVzdExkYXA=
mail: LU1foo@mun.com
========================================================
Thanks in advance for looking into this,
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz