[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-714-ge161bb6
Günther Deschner
gd at samba.org
Wed Apr 9 11:20:11 GMT 2008
The branch, v3-2-test has been updated
via e161bb64a8348ecf7929dbc04d5923d8bd3542ad (commit)
from 99f6b63f3c637457fdda7ed930c6666171b25b61 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit e161bb64a8348ecf7929dbc04d5923d8bd3542ad
Author: Günther Deschner <gd at samba.org>
Date: Wed Apr 9 13:17:42 2008 +0200
Fix parameters string for rpc_trustdom_add_internals().
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/utils/net_rpc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c
index f3f187b..4b2c6ca 100644
--- a/source/utils/net_rpc.c
+++ b/source/utils/net_rpc.c
@@ -5614,14 +5614,16 @@ static NTSTATUS rpc_trustdom_add_internals(const DOM_SID *domain_sid,
{
NTTIME notime;
struct samr_LogonHours hours;
+ struct lsa_BinaryString parameters;
const int units_per_week = 168;
uchar pwbuf[516];
encode_pw_buffer(pwbuf, argv[1], STR_UNICODE);
ZERO_STRUCT(notime);
-
ZERO_STRUCT(hours);
+ ZERO_STRUCT(parameters);
+
hours.bits = talloc_array(mem_ctx, uint8_t, units_per_week);
if (!hours.bits) {
result = NT_STATUS_NO_MEMORY;
@@ -5634,7 +5636,7 @@ static NTSTATUS rpc_trustdom_add_internals(const DOM_SID *domain_sid,
notime, notime, notime,
notime, notime, notime,
NULL, NULL, NULL, NULL, NULL,
- NULL, NULL, NULL, NULL, NULL,
+ NULL, NULL, NULL, NULL, ¶meters,
0, 0, ACB_DOMTRUST, SAMR_FIELD_ACCT_FLAGS,
hours,
0, 0, 0, 0, 0, 0, 0,
--
Samba Shared Repository
More information about the samba-cvs
mailing list