So I was looking for a way to authenticate against LDAP with cake but I've found that it doesn't support it by default. I found one that checks the auth against ldap then creates a local mysql account. This also didn't use a actual ldap data sourc e either, it just handeled it's own ldap connection. After I read through the standard cakphp auth component I saw that it wouldn't be that hard to write an LDAP based auth component. First you need to download this file ldap_auth.php to your 'app/controllers/components/' directory. Then just like the original auth...
Read More
LDAP has been around for over a decade, and yet it is still considered a newer technology. Many modern vendors have added LDAP authentication. This document is a brief generic howto for configuring linux to use LDAP. This will be a fairly detailed recipe as most of my docs are. Linux Name Services Name Server Switch is the engine that really enables Linux to harness LDAP. In linux you have two different ldap.conf files that the modules and services use to configure their ldap communications '/etc/ldap.conf' and '/etc/openldap/ldap.com'. The first gives the dn's for passwd, group and sudoers. You can also specify...
Read More