summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);