diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 6c7fd50a0c..46b27f2343 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -759,7 +759,7 @@ be_isroot_pw( Operation *op ) int result; char *errmsg; - if ( ! be_isroot_dn( op ) ) { + if ( ! be_isroot( op->o_bd, &op->o_req_ndn ) ) { return 0; }