From 8252b67eadf2da7fe81d826f22996a3a7bdf8d04 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 3 Jun 2009 02:51:40 +0000 Subject: [PATCH] Use rootdn for session updates --- contrib/slapd-modules/nssov/pam.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5