diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-07 15:35:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:05:28 -0500 |
commit | 959915a8cbea0c598ef1f29ce666329a521ef2f6 (patch) | |
tree | 68e1b2b483f60be3839dc476ab0ca0fb4dd0ec0b /source4/libnet | |
parent | cd962355abad90a2161765a7be7d26e63572cab7 (diff) | |
download | samba-959915a8cbea0c598ef1f29ce666329a521ef2f6.tar.gz samba-959915a8cbea0c598ef1f29ce666329a521ef2f6.tar.bz2 samba-959915a8cbea0c598ef1f29ce666329a521ef2f6.zip |
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
(This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_samdump.c | 3 | ||||
-rw-r--r-- | source4/libnet/libnet_samsync_ldb.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/libnet/libnet_samdump.c b/source4/libnet/libnet_samdump.c index fb4267748a..fc671a9b48 100644 --- a/source4/libnet/libnet_samdump.c +++ b/source4/libnet/libnet_samdump.c @@ -144,7 +144,8 @@ static NTSTATUS libnet_samdump_fn(TALLOC_CTX *mem_ctx, return nt_status; } -NTSTATUS libnet_SamDump(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, struct libnet_SamDump *r) +NTSTATUS libnet_SamDump(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, + struct libnet_SamDump *r) { NTSTATUS nt_status; struct libnet_SamSync r2; diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c index 338b15d6d7..1947eadddc 100644 --- a/source4/libnet/libnet_samsync_ldb.c +++ b/source4/libnet/libnet_samsync_ldb.c @@ -1209,7 +1209,8 @@ NTSTATUS libnet_samsync_ldb(struct libnet_context *ctx, TALLOC_CTX *mem_ctx, str state->secrets = NULL; state->trusted_domains = NULL; - state->sam_ldb = ldb_wrap_connect(mem_ctx, lp_sam_url(), r->in.session_info, + state->sam_ldb = ldb_wrap_connect(mem_ctx, lp_sam_url(), + r->in.session_info, ctx->cred, 0, NULL); r2.out.error_string = NULL; |