From: Kurt Zeilenga Date: Mon, 11 Mar 2002 03:05:43 +0000 (+0000) Subject: ITS#1636 fix X-Git-Tag: OPENLDAP_REL_ENG_2_MP~357 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2f7858044e12b21d9b0f83009a8007aa4a231e34;p=openldap ITS#1636 fix --- diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index a5362fc737..18d2847f6c 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -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 ); }