I just (literally JUST) got NTLM authentication going on Apache and Drupal for the intranet website I'm working on. Now it won't STOP authenticating against the Active Directory it's pointed at, therefore I can't get at the administrator account I set up in the beginning stages of drupal.

Any ideas?

-- Tom.

Comments

silid’s picture

remove the directory of the module that does the ntlm and drupal should act like before

jdenniss’s picture

Find your AD user name in the authmap table. Make a note of the uid (for later use). Change the uid value in this row to 1. This will allow you to log in as admin (but prohibit you from logging in as yourself). To log into drupal under your AD user - change the uid back to whatever it was before (record # in user table, if your note has gone missing).