From 2f7858044e12b21d9b0f83009a8007aa4a231e34 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 11 Mar 2002 03:05:43 +0000 Subject: [PATCH] ITS#1636 fix --- servers/slapd/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } -- 2.39.5