mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix root dse checks
This commit is contained in:
parent
9d6852d584
commit
38e8fefe17
4 changed files with 4 additions and 4 deletions
|
|
@ -124,7 +124,7 @@ do_compare(
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if( ndn == '\0' ) {
|
||||
if( *ndn == '\0' ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_DETAIL1,
|
||||
"do_compare: conn %d compare to root DSE!\n",
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ do_delete(
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if( ndn == '\0' ) {
|
||||
if( *ndn == '\0' ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_INFO,
|
||||
"do_delete: conn %d Attempt to delete root DSE.\n", conn->c_connid ));
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ do_modify(
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if( ndn == '\0' ) {
|
||||
if( *ndn == '\0' ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
|
||||
"do_modify: attempt to modify root DSE.\n" ));
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ do_modrdn(
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
if( ndn == '\0' ) {
|
||||
if( *ndn == '\0' ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG(( "operation", LDAP_LEVEL_ERR,
|
||||
"do_modrdn: attempt to modify root DSE.\n" ));
|
||||
|
|
|
|||
Loading…
Reference in a new issue