Re: LDAP Per domain
- From: "Canuck57" <dave-no-spam@xxxxxxxxxxxx>
- Date: Fri, 10 Nov 2006 01:46:29 GMT
"Kuon" <kuon@xxxxxxxxxx> wrote in message
news:bb469$45538205$d9903206$27880@xxxxxxxxxxxxxxxxxx
Hello,
I currently have a server cluster configured to use ldap for auth.
Everything is working well.
Except that we want to allow multiple domain auth on our cluster.
We have an ldap schema like this:
uid=userA,ou=People,ou=companyA,ou=People,dc=mycompany,dc=com
Solaris is configured with base as ou=People,dc=mycompany,dc=com and scope
sub.
As long as the uid is unique across all domain (companyA in the above
example), everything will be working fine. But we want to allow user in
different domain to have the same uid (not speaking of solaris uid
(numeric one) which can easily be unique).
The ideal solution would be to have a login like userA-companyA.com, but
how could I map this to uid=userA,ou=People,ou=companyA on my ldap server?
Regards
--
Kuon
CEO - Goyman.com SA
http://www.goyman.com/
"Computers should not stop working when the users' brain does."
There is a solution to your problem but it does involve giving everyone a
unique ID. If two userA exist, or two with the same uidNumber attribute
exist then you have a big security issue. You likely don't want to deal
with that issue.
Thus you have to give unique text and uidNumbers to everyone.
The following:
1) Change your ldapclient search scope to cover all users in the
directory.
2) Create a custom attribute, lets call it uidPosix.
3) Populate all uidPosix attributes with unique text IDs, like
"unixPosix=userA-companyA"
4) Make sure these same users have posixAccount and shadowAccount
information, withinique numbers in uidNumber
5) Change the clients attribute map to something like: "attribute:
passwd:uid=posixUser". To do this see "man ldapclient".
6) Let the users know they have to logon with the company name at the end
of their ID.
A note about 3 above, while it should work it is customary to keep them to 8
or less. Some programs could have problems with more than 8. So as always,
it does not work until tested.
In a nutshell this works as you don't have to use the LDAP uid as the UNIX
UID. Step 5 is the secret sauce.
Dave
.
- Follow-Ups:
- Re: LDAP Per domain
- From: Canuck57
- Re: LDAP Per domain
- References:
- LDAP Per domain
- From: Kuon
- LDAP Per domain
- Prev by Date: Re: T2000 ipfilter
- Next by Date: Re: LDAP CLient that supports PAM
- Previous by thread: LDAP Per domain
- Next by thread: Re: LDAP Per domain
- Index(es):
Relevant Pages
|
|