summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-07-15 12:43:08 +0200
committerSimo Sorce <ssorce@redhat.com>2009-07-20 09:49:06 -0400
commit686a0778e173aa19a8136672e786281fd69cdeb0 (patch)
tree3fffc5051489f866d27c4d084261e9a7c32cae56
parent5258186325dd9c566e68ef3217202d4ecf78b30e (diff)
downloadsssd-686a0778e173aa19a8136672e786281fd69cdeb0.tar.gz
sssd-686a0778e173aa19a8136672e786281fd69cdeb0.tar.bz2
sssd-686a0778e173aa19a8136672e786281fd69cdeb0.zip
Fix saving new nextID
-rw-r--r--server/db/sysdb_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/db/sysdb_ops.c b/server/db/sysdb_ops.c
index ad4a63e5..c172b70e 100644
--- a/server/db/sysdb_ops.c
+++ b/server/db/sysdb_ops.c
@@ -1448,7 +1448,7 @@ static void sysdb_get_new_id_verify(struct tevent_req *subreq)
tevent_req_error(req, ENOMEM);
return;
}
- msg->dn = state->base->dn;
+ msg->dn = state->base_dn;
ret = add_ulong(msg, LDB_FLAG_MOD_REPLACE,
SYSDB_NEXTID, state->new_id + 1);