Hi,
I have gotten Drupal running on a local test environment. I have it running on Win2k3 SP1, with Apache2, MySQL5, and PHP5. Everything looks fine with the initial install.
The first post-installation task I wanted to tackle was to change the default authentication to go against our Active Directory domain. I have tried two methods to get this in place. In both cases I was using LDAP to query against our Active Directory.=
1. Webserver Auth
In this case we use mod_authnzldap on Apache to connect to our AD and auth the user. This method places me in a catch-22. I set up Drupal, and create my first admin user. For sake of example let's say I named him Fred. I then activate Webserver Auth, and log out and close the browser. I then log into my webserver with my webserver recognized user Fred. The Webserver Auth module then says, ok Fred is recognized by the web server, so let's create an account for him and log him in. This then fails, because Fred was already created as my first admin user, and exists in the user database already. So I can no longer get into the server as the administrative user and basically I am locked out of the installation and can no further. If I log in as another webserver recognized user, say, Bob, I get my fresh new account, but have no rights. As long as the Webserver Auth module is active though, I cannot log in as the administrative user because it keeps trying to create a duplicate entry for the user. Does anyone know how to circumvent this catch-22? So far the best way I have come up with is manually add an entry for the user in the authmap table for user 1, which seems to always be administrative user.