Andreas Schneider
17d166e6bd
s3:rpcclient: Use C99 initializer for cmd_set in cmd_drsuapi
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2019-01-28 10:29:18 +01:00
Joe Guo
6a6d14248d
cmd_drsuapi: add dswriteaccountspn command
...
The dswriteaccountspn command is missing in drsuapi, add it so we can
use it in rpcclient.
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2018-05-12 02:09:28 +02:00
Volker Lendecke
3b2ba9c884
rpcclient: Avoid a ZERO_STRUCT, save a few bytes .text
...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2017-11-13 23:54:46 +01:00
Samuel Cabrero
d747372d28
idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo
...
Signed-off-by: Samuel Cabrero <scabrero@zentyal.com>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Kamen Mazdrashki <kamenim@samba.org>
2014-07-07 05:22:33 +02:00
Andrew Bartlett
34d52532b5
s3-rpcclient: pass struct ndr_interface_table down
...
This will allow the target service (as determined from the IDL) to be
passed to GSSAPI (rather than the current, incorrect, "cifs").
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18 16:23:24 +01:00
Andrew Bartlett
5e26e94092
s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Günther Deschner
2352e7cb7f
s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.h
...
Guenther
2011-03-31 00:14:01 +02:00
Andreas Schneider
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
Günther Deschner
1cd7f6c0e1
s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.
...
Guenther
2011-01-12 13:41:16 +01:00
Günther Deschner
4f057230ca
s3-drsuapi: prefer dcerpc_drsuapi_X functions.
...
Guenther
2011-01-11 22:18:02 +01:00
Kamen Mazdrashki
88494b2b62
s3/drs: DsCrackNames - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:03 +01:00
Kamen Mazdrashki
feb4c8a3e3
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:57 +01:00
Andrew Tridgell
f461a72ec3
idl: switched to using the WSPP names for the 'neighbour' DRS options
...
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Volker Lendecke
bb283af16f
Revert "s3: Do not directly reference the ndr_table_* in rpcclient"
...
This reverts commit 70c698fd54
.
2009-11-08 19:43:47 +01:00
Volker Lendecke
70c698fd54
s3: Do not directly reference the ndr_table_* in rpcclient
2009-11-08 00:28:36 +01:00
Günther Deschner
6503ffaa04
s3: fix s3 drsuapi callers.
...
Guenther
2008-10-17 10:54:01 +02:00
Günther Deschner
f0dcc1fad4
s4-build: fix drsuapi callers.
...
Guenther
2008-10-16 14:03:10 +02:00
Michael Adam
3ed6cfad01
rpcclient: Set the pid filed of the outgoing DsBindInfo to 0.
...
This is for debugging and informational purposes only.
The assignment is implementation specific.
(WSPP docs, sec. 5.35).
Michael
(This used to be commit 18ea033909
)
2008-07-28 14:08:34 +02:00
Michael Adam
2bd58bf383
Change occurrences of the u1 member of DsBindInfo* to pid after idl change.
...
Michael
(This used to be commit 42f3d681ca
)
2008-07-22 16:28:13 +02:00
Michael Adam
2d7660dcc3
rpcclient: make DsGetNCChanges work against w2k8 (add knowledge of DsBindInfo48)
...
Michael
(This used to be commit 27ce662f5d
)
2008-07-22 14:47:11 +02:00
Volker Lendecke
82b5f54f96
Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
...
(This used to be commit 85db87c451
)
2008-07-21 14:36:27 +02:00
Michael Adam
4f0e0e5e83
rpcclient: add ability to fetch single objects with dsgetncchanges command
...
call as "dsgetncchanges <object_dn> single"
after calling "seal"
Michael
(This used to be commit c9ab2953c5
)
2008-07-18 15:15:49 +02:00
Michael Adam
f52b17f25c
rpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.
...
Michael
(This used to be commit 3ab2e7fada
)
2008-07-18 14:34:46 +02:00
Günther Deschner
9ec4980161
rpcclient: for testing, add dsgetncchanges command.
...
Guenther
(This used to be commit 54f14b3824
)
2008-07-17 18:54:11 +02:00
Günther Deschner
8fd045f918
rpcclient: add more generic internal dscracknames call.
...
Guenther
(This used to be commit 2351b0845c
)
2008-06-17 20:01:51 +02:00
Günther Deschner
09f55d0ef6
rpcclient: add drsuapi dsgetdcinfo call.
...
Guenther
(This used to be commit 1e883c88cb
)
2008-05-26 12:21:11 +02:00
Günther Deschner
6db0efbea0
rpcclient: call drsuapi_DsUnbind() when finished with DsCrackNames call.
...
Guenther
(This used to be commit d70376fc4f
)
2008-05-26 12:21:11 +02:00
Günther Deschner
b83131a16f
rpcclient: simplify drsuapi dscracknames call slightly.
...
Guenther
(This used to be commit 5611cf4253
)
2008-05-26 12:21:11 +02:00
Günther Deschner
fb05d41cb7
drsuapi: add very basic drsuapi rpcclient command set.
...
Guenther
(This used to be commit bd13c87bac
)
2008-05-24 01:28:22 +02:00
Günther Deschner
36f67dc5e0
Revert "drsuapi: fix the build."
...
This reverts commit b2421c8116
.
(This used to be commit f853f3b0ac
)
2008-05-24 01:24:03 +02:00
Günther Deschner
0eae576b19
drsuapi: fix the build.
...
Guenther
(This used to be commit b2421c8116
)
2008-05-24 00:58:45 +02:00