}
/* Username strings */
- len1 = strlen( ",cn=authzid" );
+ len1 = strlen( ",cn=auth" );
if( !strncasecmp( dn, "u:", 2 ) ) {
len += strlen( "dn:uid=" ) + len1;
if( conn->c_sasl_bind_mech ) {
len += sprintf( dn+len, ",cn=%s", conn->c_sasl_bind_mech );
}
- strcpy( dn+len, ",cn=authzid" );
+ strcpy( dn+len, ",cn=auth" );
len += len1;
#ifdef NEW_LOGGING
LDAP_LOG(( "sasl", LDAP_LEVEL_ENTRY,
}
- /* DN strings that are a cn=authzid identity to run through regexp */
+ /* DN strings that are a cn=auth identity to run through regexp */
if( !strncasecmp( dn, "dn:", 3) && ( ( flags & FLAG_GETDN_FINAL ) == 0 ) ) {
c1 = slap_sasl2dn( dn + 3 );
if( c1 ) {
/*
- * Given a SASL name (e.g. "UID=name,cn=REALM,cn=MECH,cn=AUTHZID")
+ * Given a SASL name (e.g. "UID=name,cn=REALM,cn=MECH,cn=AUTH")
* return the LDAP DN to which it matches. The SASL regexp rules in the config
* file turn the SASL name into an LDAP URI. If the URI is just a DN (or a
* search with scope=base), just return the URI (or its searchbase). Otherwise