Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


LDAP authentication using a personalized user template

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
Mikf



Joined: 13 Aug 2004
Posts: 36
Location: Paris, France

PostPosted: Wed Mar 12, 2008 11:32 am    Post subject: LDAP authentication using a personalized user template Reply with quote

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.



ldap-options.jpg
 Description:
options added to Authentication settings tab
 Filesize:  38.03 KB
 Viewed:  1725 Time(s)

ldap-options.jpg



ldap_template_attr.patch
 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)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group