mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 06:31:11 -05:00
Additional clarification... and fix second typo
This commit is contained in:
parent
f2ac35c653
commit
203f1d28c7
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue