ITS#1636 fix

This commit is contained in:
Kurt Zeilenga 2002-03-11 03:05:43 +00:00
parent c02f448a16
commit 2f7858044e

View File

@ -225,7 +225,7 @@ int slap_sasl_getdn( Connection *conn, char *id,
p = slap_strcopy( p, c1 );
ch_free( c1 );
if( user_realm ) {
if( user_realm && *user_realm ) {
p = slap_strcopy( p, ",cn=" );
p = slap_strcopy( p, user_realm );
}