summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc/kcc_connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/kcc/kcc_connection.c')
-rw-r--r--source4/dsdb/kcc/kcc_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/kcc/kcc_connection.c b/source4/dsdb/kcc/kcc_connection.c
index 3c30909028..66cd41557f 100644
--- a/source4/dsdb/kcc/kcc_connection.c
+++ b/source4/dsdb/kcc/kcc_connection.c
@@ -80,7 +80,7 @@ static int kccsrv_add_connection(struct kccsrv_service *s,
ldb_msg_add_string(msg, "enabledConnection", "TRUE");
ldb_msg_add_linearized_dn(msg, "fromServer", server_dn);
/* ldb_msg_add_value(msg, "schedule", &schedule_val, NULL); */
- ldb_msg_add_string(msg, "options", "1");
+ samdb_msg_add_uint(s->samdb, msg, msg, "options", 1);
ret = ldb_add(s->samdb, msg);
if (ret == LDB_SUCCESS) {