View Issue Details

IDProjectCategoryView StatusLast Update
0004974mantisbtldappublic2010-04-23 23:22
Reporterepu Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.1 
Summary0004974: account_page.php claims real working email is invalid when using LDAP and validate_email
Description

When attempting to change Real Name as an administrator of the same account from account_page.php, the change is denied with an error 'Application error 0001200, invalid email' on a redirect to account_update.php. The subsequent redirect back to account_page.php shows that the change of name has not taken place.

When users are using LDAP, the validate_email check needs to work or be skipped.

Additional Information

<code>$g_allow_blank_email = OFF;
$g_use_ldap_email = ON;
$g_login_method = LDAP;
$g_validate_email = ON;</code>

workaround is to turn off validate_email? No. If validate_email is disabled, the email address is set to empty/null (removed).

TagsNo tags attached.

Relationships

duplicate of 0005175 closedvboctor LDAP e-mail and My Account 

Activities

epu

epu

2004-12-13 14:16

reporter   ~0008606

Don't turn off validate_email, since this replaces the working (correct) email address with a blank value, removing the working email.

epu

epu

2004-12-13 14:24

reporter   ~0008607

manage_user_edit_page.php works ok; this page needs to do the same.

krnlpanik

krnlpanik

2006-03-30 13:53

reporter   ~0012450

I did the following to fix this issue:

account_page.php, line 167:

Changed:

<?php echo $u_email ?>

to:

<?php echo '['.$u_email."] from LDAP" ?>
<input type="hidden" name="email" value="<?php echo $u_email ?>">

ericb

ericb

2006-03-31 15:43

reporter   ~0012453

There is a note on this problem in 0005595