Hi all,

I've been looking through the forums and documentation and I can't seem to find an answer to this. If anyone can point me to a thread that addresses my question, or has any insight, please let me know.

I set up my drupal installation with an initial username - administrator - and my email - jbliss@mydomain.com

I'm doing user authentication from LDAP with the ldapauth module, which is working great. Where I'm running into the problem is that I want the jbliss user in LDAP to have it's own account in Drupal, separate from the administrator account. When I log in to Drupal as jbliss, it sets-up the account, but can't associate an email with the account, as the email is already being used for administrator. I created a new email account that I will use to receive my site admin emails - intranetadmin@mydomain.com - however, when I try to change the administrator email in the User edit page from "jbliss@..." to "intranetadmin@...", it doesn't let me.

I click the save button, and even receive the message "The changes have been saved." but the email remains the same - "jbliss@...".

Is it possible that this is intentional logic - i.e. you can't change the email used for the initial install?

Any help is greatly appreciated.

Thanks,
-jbliss

Comments

vm’s picture

you can't have 2 users with the same email address.

set up an email address specifically for the 1st created/admin account, which can be the same as the overall account in administer -> site information

Set up a seconday user email for the other user you want to use for LDAP.

jbliss’s picture

Thanks for the quick response VeryMisunderstood.

What you proposed is I believe what I've done.

I created a new email address that I want to use for the admin account, intranetadmin@mydomain.com.

I updated the email under Administer -> Site configuration -> Site Information

I tried updating the email in the admin account's user edit page, but it will not change. I put "intranetadmin@mydomain.com" in the form, but it will not save, and keeps reverting to "jbliss@mydomain.com".

vm’s picture

inspect the user table in the database.
check email addresses to make sure it isn't in there twice somehow. Change manually if necessary.

jbliss’s picture

Ran a manual SQL UPDATE, and it's perfect.

I was trying to do it strictly through the Drupal UI, but sometimes it's easier to just get your hands dirty.

Thanks for the help, VeryMisunderstood.