Posts Tagged active directory
Authenticating to an Active Directory Domain
Posted by PhazeonPhoenix in Symfony on May 30th, 2009
I’ve a project that needs to authenticate itself against a Windows Active Directory. I’ve done this before and it’s not exactly the simplest thing to do. I’ve used adLDAP before and it’s worked relatively well in my stand alone projects before I discovered MVC frameworks. Now that I’m using symfony I’ve become quite fond at how easy sfGuardPlugin made authentication. The problem is there isn’t a symfony plugin that allows for AD/LDAP authentication.
My next task is going to be integrating the adLDAP code into a plugin to expand sfGuardPlugin. The point isn’t to create a seemless authentication scheme, simply to be able to sign in with a domain username and password. I’m going to need not only authentication but also group membership for permission maintenance. This is either going to be something simple or something complex. I have done it before and I’m fairly certain I’ll be able to do it again.
