Lines Matching defs:mech
68 * syntax: u[.mech[/realm]]:<val>
70 * where mech is a SIMPLE, AUTHZ, or a SASL mechanism name
133 struct berval *realm, struct berval *mech )
141 assert( mech != NULL );
151 * u[.mech[/realm]]:user
164 mech->bv_val = id->bv_val + 2;
165 mech->bv_len = user->bv_val - mech->bv_val - 1;
167 realm->bv_val = ber_bvchr( mech, '/' );
172 mech->bv_len = realm->bv_val - mech->bv_val - 1;
177 BER_BVZERO( mech );
185 if ( !BER_BVISNULL( mech ) ) {
186 if ( mech->bv_val != id->bv_val + 2 )
189 AC_MEMCPY( mech->bv_val - 2, mech->bv_val, mech->bv_len + 1 );
190 mech->bv_val -= 2;
224 * 4) u[.mech[/realm]]:<ID>
304 * 4) u[.mech[/realm]]:<ID>
315 mech = BER_BVNULL;
325 rc = slap_parse_user( &id, &user, &realm, &mech );
487 * 4) u[.mech[/realm]]:<ID>
616 * 4) u[.mech[/realm]]:<ID>
627 mech = BER_BVNULL;
637 rc = slap_parse_user( &id, &user, &realm, &mech );
1059 mech = BER_BVNULL;
1069 rc = slap_parse_user( &id, &user, &realm, &mech );
1074 if ( !BER_BVISNULL( &mech ) ) {
1075 c.c_sasl_bind_mech = mech;