Lines Matching refs:c_auth
71 client->c_auth.bv_len = binddn.bv_len + STRLENOF("dn:");
72 client->c_auth.bv_val = ch_malloc( client->c_auth.bv_len + 1 );
74 ptr = lutil_strcopy( client->c_auth.bv_val, "dn:" );
80 if ( !ber_bvstrcasecmp( &client->c_auth, &lloadd_identity ) ) {
156 * We have to reset c_auth (which holds the current or pending identity) and
179 * - to a simple bind, clear c_auth on a failure otherwise keep it while we
292 if ( !BER_BVISNULL( &client->c_auth ) ) {
293 ch_free( client->c_auth.bv_val );
294 BER_BVZERO( &client->c_auth );
301 client->c_auth.bv_len = STRLENOF("dn:") + binddn.bv_len;
302 client->c_auth.bv_val = ch_malloc( client->c_auth.bv_len + 1 );
304 ptr = lutil_strcopy( client->c_auth.bv_val, "dn:" );
723 if ( !BER_BVISNULL( &client->c_auth ) ) {
725 ber_memfree( client->c_auth.bv_val );
726 BER_BVZERO( &client->c_auth );
728 &client->c_auth, &lloadd_identity ) ) {
816 assert( BER_BVISNULL( &client->c_auth ) );
817 if ( !BER_BVISNULL( &client->c_auth ) ) {
818 ber_memfree( client->c_auth.bv_val );
819 BER_BVZERO( &client->c_auth );
823 tag = ber_scanf( ber, "o", &client->c_auth );
839 client->c_connid, client->c_auth.bv_val );
845 if ( !BER_BVISNULL( &client->c_auth ) &&
846 !ber_bvstrcasecmp( &client->c_auth, &lloadd_identity ) ) {
952 ber_memfree( client->c_auth.bv_val );
953 BER_BVZERO( &client->c_auth );
955 &client->c_auth, &lloadd_identity ) ) {