O
ohaya
Hi,
I'm trying to understand how LDAP referrals work, and to see if they
might be used to solve a problem that I'm trying to address.
We have a Win2K Server that is a DC.
We also have a separate machine running Sun Directory Server (DS), and
the Directory Server is populated with a number of users that don't
exist in the AD.
What we want to do is create entries in the AD (under Users)
corresponding to some of the users in the DS, under "Users", but have
these AD entries be referrals to the the corresponding entry in DS.
The reason that we want to do this is that we have some client software
that is doing LDAP lookups, but it was originally setup to do the
lookups from just one LDAP repository, and we now have a need to have
that software be able to search the AD, and then the DS.
What I'm thinking, if it's possible is to create these kind of dummy
referrals in the AD, and let the LDAP referral mechanism do the work.
For example, if we started with:
AD:
user1
user2
user3
DS:
user4
user5
We would create these new referral entries for "user4" and "user5" in
AD, pointing to the appropriate place on the DS:
AD:
user1
user2
user3
user4 (REF: ldap://foo.foo.com/uid=user4,ou=People,dc=foo,dc=com)
user5 (REF: ldap://foo.foo.com/uid=user5,ou=People,dc=foo,dc=com)
DS:
user4
user5
From the above, am I understanding the concept of LDAP referrals
correctly? Or, are LDAP referrals only used at a LDAP server or tree
level?
And, if referrals can be used on a per-user basis, how can we do this,
and, to test it, is there any way to just add the ObjectClass=referral
and REF attribute to a Users object in AD??
Thanks in advance!!
Jim
I'm trying to understand how LDAP referrals work, and to see if they
might be used to solve a problem that I'm trying to address.
We have a Win2K Server that is a DC.
We also have a separate machine running Sun Directory Server (DS), and
the Directory Server is populated with a number of users that don't
exist in the AD.
What we want to do is create entries in the AD (under Users)
corresponding to some of the users in the DS, under "Users", but have
these AD entries be referrals to the the corresponding entry in DS.
The reason that we want to do this is that we have some client software
that is doing LDAP lookups, but it was originally setup to do the
lookups from just one LDAP repository, and we now have a need to have
that software be able to search the AD, and then the DS.
What I'm thinking, if it's possible is to create these kind of dummy
referrals in the AD, and let the LDAP referral mechanism do the work.
For example, if we started with:
AD:
user1
user2
user3
DS:
user4
user5
We would create these new referral entries for "user4" and "user5" in
AD, pointing to the appropriate place on the DS:
AD:
user1
user2
user3
user4 (REF: ldap://foo.foo.com/uid=user4,ou=People,dc=foo,dc=com)
user5 (REF: ldap://foo.foo.com/uid=user5,ou=People,dc=foo,dc=com)
DS:
user4
user5
From the above, am I understanding the concept of LDAP referrals
correctly? Or, are LDAP referrals only used at a LDAP server or tree
level?
And, if referrals can be used on a per-user basis, how can we do this,
and, to test it, is there any way to just add the ObjectClass=referral
and REF attribute to a Users object in AD??
Thanks in advance!!
Jim