ldapmodify in templates
Brought to you by:
tk1065
Hi,
I'm trying to create a template who sends the ldapadd and ldapmodify commands. The use case is for the mac authentication bypass functionality. The administrator right clicks on a ldap group and add's the mac template. I can find how to implement to ldapmodify requests to the template. Basically the same as when we use the add user template, firts it send the ldapadd command and afterwards the ldap modify command to link the user to the group. Can you guide me to the documentation/example?
Regards,
Xanti
Anonymous
Hello Xanti,
very sorry for a delay but I somehow missed your request (I was on a vacation at that time). Yes, there is a possibility using javascript engine in templates, please let me know if you still need this solution.
Best ergards,
Tihomir
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Hi,
Yes please.
Regards,
Xanti
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Hi Tihomir,
Thanks for the reply.
A example of a template to do so would be much appriciated.
Regards,
Xanti
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Hi,
Any change to look in to my question?
Hi Xanti,
did you chack the documentation page: http://ldapadmin.org/docs/scripts.html ? You can use Session.Search to get the list of entries that you want to modify. The loop through the list and access attributes with attributesByName['attributeName'] to access attribute and its values.
Best regards,
Tihomir