summaryrefslogtreecommitdiffstats
path: root/server/db
diff options
context:
space:
mode:
Diffstat (limited to 'server/db')
-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 ad4a63e5e..c172b70ed 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);