can someone suggest something on following

----- Original Message ----
From: r d <>
Sent: Friday, July 27, 2007 3:49:05 PM
Subject: OpenLDAP: Referrals -help


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,
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=


Thanks in advance for looking into this,

Need a vacation? Get great deals to amazing places on Yahoo! Travel.

Pinpoint customers who are looking for what you sell.