diff options
author | Günther Deschner <gd@samba.org> | 2008-11-10 12:30:35 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-11-10 21:46:25 +0100 |
commit | e004307000d40fbe235827bc71229f4a5757c313 (patch) | |
tree | 61cfd2ce6f106f2387a26b6d010e6ffe7f0a3d11 /source4/libnet | |
parent | c8a8c2388b32977a54daf854f14c278a18824594 (diff) | |
download | samba-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.c | 6 |
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); |