Application Error #1400 Ldap Authentication Failed
5 hours Powered by phpBB Forum Software © phpBB Group
Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > mantis ldap active directory bad search filter error Want to Advertise Here? Solved mantis ldap active directory bad search filter error Posted on 2009-04-29 Databases MS Development-Other MS Applications 1 Verified Solution 14 http://www.mantisbt.org/forums/viewtopic.php?f=3&t=3456 Comments 4,116 Views Last Modified: 2013-12-24 hi all, i am new for php and mantis,i configured my ldap setting to access active dir. i am getting authentication failed error .. can any body suggest me where i am wrong ldap setting :: i am getting following error SYSTEM WARNING: ldap_search() [function.ldap-search]: Search: Bad search filter SYSTEM WARNING: ldap_get_entries(): supplied argument is not a valid ldap https://www.experts-exchange.com/questions/24364572/mantis-ldap-active-directory-bad-search-filter-error.html result resource SYSTEM WARNING: ldap_free_result(): supplied argument is not a valid ldap result resource $g_login_method = LDAP; $g_ldap_server = '10.202.0.41'; $g_ldap_port = '389'; $g_ldap_root_dn = 'DC=tcstatacap,DC=com[10.202.0.41],DC=tcstatacap,DC=com'; $g_ldap_organization = 'Tata Consultancy Services'; $g_ldap_uid_field = 'sAMAccountName'; $g_ldap_bind_dn = OU=Tata Capital,OU=Users,DC=tcstatacap,DC=com,CN=Users,CN=Builtin,DC=tcstatacap,DC=com'; $g_ldap_bind_passwd = ''; $g_use_ldap_email = OFF; ldap api:: function ldap_connect_bind( $p_binddn = '', $p_password = '' ) { $t_ldap_server = config_get( 'ldap_server' ); $t_ldap_port = config_get( 'ldap_port' ); if (!extension_loaded('ldap')) { trigger_error(ERROR_LDAP_EXTENSION_NOT_LOADED,ERROR); } $t_ds = @ldap_connect ( $t_ldap_server, $t_ldap_port ); if ( $t_ds > 0 ) { $t_protocol_version = config_get( 'ldap_protocol_version' ); if ( $t_protocol_version > 0 ) { ldap_set_option( $t_ds, LDAP_OPT_PROTOCOL_VERSION, $t_protocol_version ); } # If no Bind DN and Password is set, attempt to login as the configured # Bind DN. if ( is_blank( $p_binddn ) && is_blank( $p_password ) ) { $p_binddn = config_get( 'ldap_bind_dn', '' );
5 hours Powered by phpBB Forum Software © phpBB Group