diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-03-07 02:14:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:10:59 -0500 |
commit | d892500e733fa2c85f950b69f11546c0f037a25a (patch) | |
tree | d6fc1108c26b0f7fdfaf709393d8e2aaf0f188ef /source4/lib/com | |
parent | dd2aefd56b0968da8b1c4d055bc8c2f30382fb23 (diff) | |
download | samba-d892500e733fa2c85f950b69f11546c0f037a25a.tar.gz samba-d892500e733fa2c85f950b69f11546c0f037a25a.tar.bz2 samba-d892500e733fa2c85f950b69f11546c0f037a25a.zip |
r5676: Fix some alignment issues and IRemoteActivation
(This used to be commit a9b13f67012d235d98920e639f59411d57a79bd7)
Diffstat (limited to 'source4/lib/com')
-rw-r--r-- | source4/lib/com/dcom/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/lib/com/dcom/main.c b/source4/lib/com/dcom/main.c index 853af4c739..7c9c3b4394 100644 --- a/source4/lib/com/dcom/main.c +++ b/source4/lib/com/dcom/main.c @@ -30,6 +30,16 @@ #define DCOM_NEGOTIATED_PROTOCOLS { EPM_PROTOCOL_TCP, EPM_PROTOCOL_SMB, EPM_PROTOCOL_NCALRPC } +struct dcom_client_context *dcom_client_init(struct com_context *ctx, const char *domain, const char *user, const char *password) +{ + ctx->dcom = talloc(ctx, struct dcom_client_context); + ctx->dcom->domain = domain; + ctx->dcom->user = user; + ctx->dcom->password = password; + + return ctx->dcom; +} + static NTSTATUS dcerpc_binding_from_STRINGBINDING(TALLOC_CTX *mem_ctx, struct dcerpc_binding *b, struct STRINGBINDING *bd) { char *host, *endpoint; |