Index: account_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/account_page.php,v retrieving revision 1.41 diff -u -r1.41 account_page.php --- account_page.php 27 Feb 2003 07:04:57 -0000 1.41 +++ account_page.php 4 Jan 2004 03:59:26 -0000 @@ -48,7 +48,7 @@ # extracts the user information for the currently logged in user # and prefixes it with u_ - $row = user_get_row( auth_get_current_user_id() ); + $row = user_get_row( auth_get_current_user_id() ); extract( $row, EXTR_PREFIX_ALL, 'u' ); $t_ldap = ( LDAP == config_get( 'login_method' ) ); @@ -56,6 +56,13 @@ # In case we're using LDAP to get the email address... this will pull out # that version instead of the one in the DB $u_email = user_get_email( $u_id, $u_username ); + if( $t_ldap ) { + # new function to return desired LDAP fields + $ldap_user_info = ldap_get_user_info( $u_username ); + //over-write null values that should have been returned by + // db query. + extract ($row, EXTR_PREFIX_ALL, 'u' ); + } html_page_top1(); html_page_top2(); @@ -76,11 +83,15 @@ + - - + "> @@ -90,17 +101,36 @@ - + "> - The password settings are controlled by your LDAP entry,
- hence cannot be edited here. + + + + + + "> + + + + + + + + + + "> + + + + + - + "> @@ -110,7 +140,7 @@ - + "> @@ -120,7 +150,7 @@ - + "> @@ -129,36 +159,128 @@ + + "> + + + + + + + + + + "> + + + + + + + + + - + "> - + - + "> - + + + "> + + + + + + + + + "> + + + + + + + + + + + + "> + + + + + + + + + + "> + + + + + + + + + + + "> + + + + + + + + "> + + + + + + + + "> + + + + + + + - + "> @@ -168,7 +290,7 @@ - + "> @@ -178,7 +300,7 @@ - + " valign="top"> Index: account_update.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/account_update.php,v retrieving revision 1.32 diff -u -r1.32 account_update.php --- account_update.php 18 Feb 2003 02:18:00 -0000 1.32 +++ account_update.php 4 Jan 2004 03:59:26 -0000 @@ -16,24 +16,43 @@ ?>