[commits] [Wiki] changed: LDAPHooksHorde5

Wiki Guest wikiguest at horde.org
Sun Feb 17 09:58:11 UTC 2013


guest [59.167.157.243]  Sun, 17 Feb 2013 09:58:11 +0000

Modified page: http://wiki.horde.org/LDAPHooksHorde5
New Revision:  7
Change log:  Update title

@@ -1,5 +1,5 @@
-+Hooks in Horde5
++Default Preferences - Full Name and Email Address LDAP Hooks in Horde5

  These are the hooks I set up in my Horde 5 setup to provide default  
Full Name and email addresses, retrieved from LDAP. It's based on the  
one in hooks.php.dist, but I had some issues with that so it's a bit  
tweaked. Runs on my CentOS 6 system. Rather than specifying LDAP  
server details in the hook, it uses the system's ability to ldapsearch  
- which makes troubleshooting easier too, just strip out the command  
and make it work on the command line. It does mean that you have to  
have LDAP functional from your system for ldapsearch calls.

  It uses awk to get the email address from the returned grep'ed  
value, and cut to remove "cn: " from the Full Name. You may need to  
tweak those bits so it does what you need on your system.



More information about the commits mailing list