From 203f1d28c7e730a0b6df57e8821fdbfdae0b7713 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 27 May 2000 00:49:55 +0000 Subject: [PATCH] Additional clarification... and fix second typo --- servers/slapd/back-dnssrv/request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-dnssrv/request.c b/servers/slapd/back-dnssrv/request.c index 96cac45767..3e68d5db67 100644 --- a/servers/slapd/back-dnssrv/request.c +++ b/servers/slapd/back-dnssrv/request.c @@ -30,7 +30,7 @@ dnssrv_back_request( char **hosts = NULL; struct berval **urls = NULL; - if( ndn == NULL && *ndn == '\0' ) { + if( ndn == NULL || *ndn == '\0' ) { send_ldap_result( conn, op, LDAP_UNWILLING_TO_PERFORM, NULL, "operation upon null (empty) DN disallowed", NULL, NULL ); @@ -52,7 +52,7 @@ dnssrv_back_request( Debug( LDAP_DEBUG_TRACE, "DNSSRV: domain2hostlist returned %d\n", rc, 0, 0 ); send_ldap_result( conn, op, LDAP_NO_SUCH_OBJECT, - NULL, "no DNS SRV available for DN", NULL, NULL ); + NULL, "no DNS SRV RR available for DN", NULL, NULL ); goto done; } -- 2.39.5