|
Tengo el siguiente bug:
He realizado la integraciĆ³n del mantis al Ldap, pero despues de ingresar con 4 usuarios el valor que toma es el del "administrator", cuando deberia de ser por ejempo "trtest6"
envio log para visualizarlo mejor:
2021-01-20 14:59 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0022',
)
2021-01-20 14:59 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 14:59 CET DB user_api.php:704 user_get_id_by_name() array (
0 => 'SELECT * FROM mantis_user_table WHERE username=\'administrator\'',
1 => '0.0007',
)
2021-01-20 14:59 CET LDAP ldap_api.php:327 ldap_authenticate_by_username() Binding to LDAP server
2021-01-20 14:59 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldaps://xxxx-ldap-xx.xxxx.xx:443/'.
2021-01-20 14:59 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2021-01-20 14:59 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2021-01-20 14:59 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2021-01-20 14:59 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2021-01-20 14:59 CET LDAP ldap_api.php:335 ldap_authenticate_by_username() Searching for (&(sAMAccountName=administrator))
2021-01-20 14:59 CET LDAP ldap_api.php:367 ldap_authenticate_by_username() No matching entries found
2021-01-20 14:59 CET LDAP ldap_api.php:370 ldap_authenticate_by_username() Unbinding from LDAP server
2021-01-20 14:59 CET LDAP ldap_api.php:397 ldap_authenticate_by_username() Authentication failed
2021-01-20 14:59 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0005',
)
2021-01-20 14:59 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 14:59 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0024',
con el usuario que se esta intentando ingresar alli es con trtest6 no con administrator y en el sAMAccountName toma el del "administrator"
en algun lugar se estara quedando cacheado algun dato, del administrator? |
|
There in that log it shows that I am trying to start with trtest6 and it throws all that log when trying to enter with that user, it is like doing a double request one with the user that one writes and another with the administrator:
2021-01-20 15:10 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0006',
)
2021-01-20 15:10 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0022',
)
2021-01-20 15:10 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 15:10 CET DB user_api.php:704 user_get_id_by_name() array (
0 => 'SELECT FROM mantis_user_table WHERE username=\'trtest6\'',
1 => '0.0006',
)
2021-01-20 15:10 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0004',
)
2021-01-20 15:10 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 15:10 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0024',
)
2021-01-20 15:10 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0004',
)
2021-01-20 15:10 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0028',
)
2021-01-20 15:10 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 15:10 CET DB user_api.php:704 user_get_id_by_name() array (
0 => 'SELECT FROM mantis_user_table WHERE username=\'trtest6\'',
1 => '0.0006',
)
2021-01-20 15:10 CET DB user_api.php:704 user_get_id_by_name() array (
0 => 'SELECT FROM mantis_user_table WHERE username=\'trtest6\'',
1 => '0.0005',
)
2021-01-20 15:10 CET LDAP ldap_api.php:327 ldap_authenticate_by_username() Binding to LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldaps://xxxx-ldap-xx.xxxx.xx:443/'.
2021-01-20 15:10 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2021-01-20 15:10 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2021-01-20 15:10 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2021-01-20 15:10 CET LDAP ldap_api.php:335 ldap_authenticate_by_username() Searching for (&(sAMAccountName=trtest6))
2021-01-20 15:10 CET LDAP ldap_api.php:367 ldap_authenticate_by_username() No matching entries found
2021-01-20 15:10 CET LDAP ldap_api.php:370 ldap_authenticate_by_username() Unbinding from LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:397 ldap_authenticate_by_username() Authentication failed
2021-01-20 15:10 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0004',
)
2021-01-20 15:10 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0020',
)
2021-01-20 15:10 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0008',
)
2021-01-20 15:10 CET DB user_api.php:704 user_get_id_by_name() array (
0 => 'SELECT FROM mantis_user_table WHERE username=\'administrator\'',
1 => '0.0006',
)
2021-01-20 15:10 CET LDAP ldap_api.php:327 ldap_authenticate_by_username() Binding to LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldaps://xxxx-ldap-xx.xxxx.xx:443/'.
2021-01-20 15:10 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2021-01-20 15:10 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2021-01-20 15:10 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2021-01-20 15:10 CET LDAP ldap_api.php:335 ldap_authenticate_by_username() Searching for (&(sAMAccountName=administrator))
2021-01-20 15:10 CET LDAP ldap_api.php:367 ldap_authenticate_by_username() No matching entries found
2021-01-20 15:10 CET LDAP ldap_api.php:370 ldap_authenticate_by_username() Unbinding from LDAP server
2021-01-20 15:10 CET LDAP ldap_api.php:397 ldap_authenticate_by_username() Authentication failed
2021-01-20 15:10 CET DB database_api.php:161 db_connect() array (
0 => 'SET NAMES UTF8',
1 => '0.0004',
)
2021-01-20 15:10 CET DB plugin_api.php:935 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=\'1\' ORDER BY priority DESC',
1 => '0.0005',
)
2021-01-20 15:10 CET DB config_api.php:728 config_cache_all() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0020', |