search for: ldap_auth_simpl

Displaying 3 results from an estimated 3 matches for "ldap_auth_simpl".

Did you mean: ldap_auth_simple
2007 Oct 15
2
auth-ldap not resetting connection state after failed bind
...t previously: --- dovecot-1.0.3/src/auth/db-ldap.c 2007-10-15 18:26:55.983349000 +0000 +++ dovecot-1.0.3/src/auth/db-ldap.c.new 2007-10-15 18:28:03.124136000 +0000 @@ -446,7 +446,10 @@ msgid = ldap_bind(conn->ld, conn->set.dn, conn->set.dnpass, LDAP_AUTH_SIMPLE); if (msgid == -1) { - db_ldap_connect_finish(conn, ldap_get_errno(conn)); + if (db_ldap_connect_finish(conn, ldap_get_errno(conn)) < 0) { + /* lost connection, close it */ + ldap_conn_close(conn, TRUE); + } i_free(ldap_request);...
2010 May 10
1
authentification failure: double quotes in password
we use Passdb LDAP with authentication binds against an Active Directory Server. The problem with one of our users seems to be the usage of double quotes in his password, as the windows-login works: /var/log/dovecot-info.log auth(default): Info: ldap(testuser 77.22.xx.xxx): invalid credentials (given password: xxxxx"xxxxxxx) Which chars in passwords does the dovecot auth process not
2003 Jan 09
1
Re: samba (2.2.7a) + openldap (2.0.x)
...) { + free( *whop ); + *whop = NULL; + while ( *to_clear != '\0' ) *to_clear++ = '\0'; + free( *credp ); + *credp = NULL; + } + else { + *whop = strdup( lp_ldap_admin_dn() ); + *credp = strdup( ldap_secret ); + *methodp = LDAP_AUTH_SIMPLE; + } + return LDAP_SUCCESS; +} +#endif + +/******************************************************************* connect to the ldap server under system privilege. ******************************************************************/ static BOOL ldap_connect_system(LDAP * ldap_struct) { i...