Mikf
Joined: 13 Aug 2004 Posts: 36 Location: Paris, France
|
Posted: Wed Mar 12, 2008 11:32 am Post subject: LDAP authentication using a personalized user template |
|
|
Hi !
As in cacti, all users authenticated with ldap used the default "user template" (defined in global settings "authentication") to define the rights of the user.
We have written a patch to use a LDAP attribut that is containing the name of the user template to use.
Now, a user aaa can use the template template_admin
and a user bbb can use the template template_view_only. (as defined in the ldap attribut)
This patch add 2 options in the Authentication settings tab: (see picture)
a ldap attribut name : to set the name of the ldap attribut that will contain the name of the user template.
an option (on/off) : to overwrite the user created from the user template at each login, or not. (if we change the value of the attribut in the ldap for a user, the rights of this user are overwrited with the new template)
Jerome.
| Description: |
| options added to Authentication settings tab |
|
| Filesize: |
38.03 KB |
| Viewed: |
1725 Time(s) |

|
| Description: |
Version 1.0 for cacti 0.8.7 -> 0.8.7b 12/Mar/2008 |
|
 Download |
| Filename: |
ldap_template_attr.patch |
| Filesize: |
3.35 KB |
| Downloaded: |
121 Time(s) |
|
|