From: Howard Chu Date: Wed, 3 Jun 2009 02:51:40 +0000 (+0000) Subject: Use rootdn for session updates X-Git-Tag: ACLCHECK_0~519 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8252b67eadf2da7fe81d826f22996a3a7bdf8d04;p=openldap Use rootdn for session updates --- diff --git a/contrib/slapd-modules/nssov/pam.c b/contrib/slapd-modules/nssov/pam.c index 2009f310c1..d424999857 100644 --- a/contrib/slapd-modules/nssov/pam.c +++ b/contrib/slapd-modules/nssov/pam.c @@ -548,6 +548,8 @@ static int pam_sess(nssov_info *ni,TFILE *fp,Operation *op,int action) cb.sc_response = slap_null_cb; op->o_callback = &cb; op->o_tag = LDAP_REQ_MODIFY; + op->o_dn = op->o_bd->be_rootdn; + op->o_ndn = op->o_bd->be_rootndn; op->orm_modlist = &mod; op->orm_no_opattrs = 1; op->o_req_dn = dn;