summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-10 12:30:35 +0100
committerGünther Deschner <gd@samba.org>2008-11-10 21:46:25 +0100
commite004307000d40fbe235827bc71229f4a5757c313 (patch)
tree61cfd2ce6f106f2387a26b6d010e6ffe7f0a3d11 /source4/libnet
parentc8a8c2388b32977a54daf854f14c278a18824594 (diff)
downloadsamba-e004307000d40fbe235827bc71229f4a5757c313.tar.gz
samba-e004307000d40fbe235827bc71229f4a5757c313.tar.bz2
samba-e004307000d40fbe235827bc71229f4a5757c313.zip
s4-netlogon: change parameters string to lsa_BinaryString.
Guenther
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_samsync_ldb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index 8b7dd1f598..160b4b3e19 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -384,7 +384,11 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
}
ADD_OR_DEL(string, "comment", comment.string);
- ADD_OR_DEL(string, "userParameters", parameters.string);
+
+ if (samdb_msg_add_parameters(state->sam_ldb, mem_ctx, msg, "userParameters", &user->parameters) != 0) {
+ return NT_STATUS_NO_MEMORY;
+ }
+
ADD_OR_DEL(uint, "countryCode", country_code);
ADD_OR_DEL(uint, "codePage", code_page);