APPLICATION ERROR #1400

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kieling
Posts: 2
Joined: 19 Jun 2017, 18:23

APPLICATION ERROR #1400

Post by kieling »

Hey!

First, I want to apologize for my bad English. I'm still learning.

I'm having a problem setting up authentication via LDAP. In the log I have this return:

"2017-06-19 15:40 BRT DB plugin_api.php:887 plugin_register_installed() array (
0 => 'SELECT basename, priority, protected FROM mantis_plugin_table WHERE enabled=TRUE ORDER BY priority DESC',
1 => '0.0006',
)
2017-06-19 15:40 BRT DB config_api.php:136 config_get() array (
0 => 'SELECT config_id, user_id, project_id, type, value, access_reqd FROM mantis_config_table',
1 => '0.0004',
)
2017-06-19 15:40 BRT DB user_api.php:773 user_get_id_by_name() array (
0 => 'SELECT * FROM mantis_user_table WHERE username=\'administrator\'',
1 => '0.0012',
)
2017-06-19 15:40 BRT LDAP ldap_api.php:326 ldap_authenticate_by_username() Binding to LDAP server
2017-06-19 15:40 BRT LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'ldap://10.10.50.1:389'.
2017-06-19 15:40 BRT LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2017-06-19 15:40 BRT LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 2
2017-06-19 15:40 BRT LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2017-06-19 15:40 BRT LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2017-06-19 15:40 BRT LDAP ldap_api.php:334 ldap_authenticate_by_username() Searching for (&(uid=administrator))
2017-06-19 15:40 BRT LDAP ldap_api.php:46 ldap_log_error() ERROR #32: No such object
2017-06-19 15:40 BRT LDAP ldap_api.php:339 ldap_authenticate_by_username() ldap search failed"

When accessing "myserver/mantis/" I'm redirected to "myserver/mantis/login_page.php" where I get error #1400. However, I do not have the opportunity to choose the user that should be authenticated. Mantis automatically tries to authenticate the user "Administrator".

Any idea?

Thanks!
Post Reply