Different LDAP base DN for different realms

Giovanni Lovato giovanni.lovato at aldu.net
Fri Jun 13 15:43:24 CEST 2008


I have an LDAP directory organized as follows:

dc=example,dc=org
|-ou=first
| \-ou=people
|   \-uid=john
|
|-ou=second
| \-ou=people
|  \-uid=john
|
\-ou=third
  \-ou=people
   \-uid=john

I would like to tell FR to do look in the appropriate OU based on the
relam the user authenticates, for example:

john at first will try to bind on uid=john,ou=people,ou=first,dc=example,dc=org
john at second on uid=john,ou=people,ou=second,dc=example,dc=org
ans so on...

How can I achieve this with virtual servers or unlang?

Thank you very much!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3436 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080613/42335014/attachment.bin>


More information about the Freeradius-Users mailing list