Andreas Schneider
2d0d2b570f
s3-rpcclient: Remove debug_dsdcinfo_flags() call.
...
This gets rid of the DCUTIL dependency.
2012-01-25 11:58:28 +01: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
74eed8f3ed
s3-param Remove special case for global_myname(), rename to lp_netbios_name()
...
There is no reason this can't be a normal constant string in the
loadparm system, now that we have lp_set_cmdline() to handle overrides
correctly.
Andrew Bartlett
2011-06-09 12:40:09 +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
Stefan Metzmacher
5e4691e70e
s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
...
metze
2011-02-01 18:35:22 +01:00
Günther Deschner
99437614fa
s3-rpcclient: allow to define validation level for samlogon.
...
Guenther
2011-01-24 16:56:00 +01:00
Günther Deschner
5e4b327c4f
s3-rpcclient: prefer dcerpc_netr_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:09:18 +01:00
Stefan Metzmacher
d6eb42cc61
s3:rpcclient: we also need some ndr_pull functions
...
metze
2010-08-08 11:05:18 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Matthias Dieter Wallnöfer
11e2608ba9
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
...
See MS-NRPC 3.5.5.6.3.
2010-05-31 12:08:59 +02:00
Günther Deschner
5ed3654112
s3-rpc_client: move protos to cli_netlogon.h
...
Guenther
2010-05-18 21:42:37 +02: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
ebe0e64ba9
s3: use enum netr_SchannelType all over the place.
...
Guenther
2009-10-13 10:21:46 +02:00
Günther Deschner
42e393af28
s3-rpcclient: fix netr_LogonGetCapabilities command.
...
Guenther
2009-09-16 17:59:38 +02:00
Andrew Bartlett
baf7274fed
Make Samba3 use the new common libcli/auth code
...
This is particuarly in the netlogon client (but not server at this
stage)
2009-04-14 16:23:44 +10:00
Andrew Bartlett
f28f113d8e
Rework Samba3 to use new libcli/auth code (partial)
...
This commit is mostly to cope with the removal of SamOemHash (replaced
by arcfour_crypt()) and other collisions (such as changed function
arguments compared to Samba3).
We still provide creds_hash3 until Samba3 uses the credentials code in
netlogon server
Andrew Bartlett
2009-04-14 16:23:35 +10:00
Günther Deschner
a4e570e3ce
s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug #6100 ).
...
Guenther
2009-02-25 22:17:39 +01:00
Günther Deschner
008ac81b31
s3-rpcclient: add database_redo command.
...
Guenther
2008-11-06 18:51:38 +01:00
Jelmer Vernooij
ddcab787c4
Rename dos_errstr() to win_errstr() for consistency with Samba 4.
2008-11-01 17:19:26 +01:00
Günther Deschner
68aa9bd67f
s3-rpcclient: add getdcsitecoverage call.
...
Guenther
2008-10-27 14:29:04 +01:00
Günther Deschner
3b9a03a7c3
s3: fix samlogon client and server calls.
...
Guenther
2008-10-15 16:14:20 +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
Volker Lendecke
e1102b8f48
Introduce rpccli_set_timeout()
...
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba389
)
2008-04-20 00:14:26 +02:00
Volker Lendecke
2a2188591b
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
(This used to be commit 783afab9c8
)
2008-04-20 00:13:09 +02:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a87571
)
2008-02-27 19:38:48 +01:00
Günther Deschner
eafec423b7
Use rpccli_netr_DatabaseSync2() in rpcclient.
...
Guenther
(This used to be commit 042173b00e
)
2008-02-15 14:11:20 +01:00
Günther Deschner
013a15a1b8
Use rpccli_netr_DatabaseDeltas() in rpcclient.
...
Guenther
(This used to be commit 72ad42fee3
)
2008-02-15 14:06:31 +01:00
Günther Deschner
f9d992827a
Remove accidential commit.
...
Guenther
(This used to be commit 2ab1167e15
)
2008-02-14 01:54:07 +01:00
Günther Deschner
6f05330e4a
Fix logonctrl2 command in rpcclient.
...
Guenther
(This used to be commit c58be24cd4
)
2008-02-13 23:01:33 +01:00
Günther Deschner
c6acbc16a6
Use rpccli_netr_LogonControl() in rpcclient.
...
Guenther
(This used to be commit d54456f3c4
)
2008-02-13 12:19:20 +01:00
Günther Deschner
e88eb3ed16
Use rpccli_netr_DsRGetDCName() in rpcclient and winbindd.
...
Guenther
(This used to be commit 4f3e97cbae
)
2008-02-08 23:38:13 +01:00
Günther Deschner
5881a7f679
Use rpccli_netr_DsRGetSiteName() in rpcclient.
...
Guenther
(This used to be commit 609c40fdd9
)
2008-02-07 10:42:51 +01:00
Günther Deschner
bca0ef0ed7
Use rpccli_netr_GetAnyDCName and rpccli_netr_GetDCName everywhere.
...
Guenther
(This used to be commit 8abeea9922
)
2008-02-07 10:29:26 +01:00
Günther Deschner
af92bf934e
Add netrenumtrusteddomains() and netrenumtrusteddomainsex() cmds to rpcclient.
...
Guenther
(This used to be commit 6bbe0fde6e
)
2008-01-30 09:50:54 +01:00
Günther Deschner
e7b2be804b
Remove last caller of rpccli_ds_enum_domain_trusts().
...
I added an alias in rpcclient's netlogon command table.
Guenther
(This used to be commit 1a900e08e9
)
2008-01-29 15:20:59 +01:00
Günther Deschner
4fd374f063
Add cmd_netlogon_dsr_getforesttrustinfo and deregisterdnsrecords to rpcclient.
...
Guenther
(This used to be commit 227f5755c8
)
2008-01-25 21:44:02 +01:00
Günther Deschner
504813e445
Use rpccli_netr_DsRGetDCNameEx and rpccli_netr_DsRGetDCNameEx2 in rpcclient.
...
Guenther
(This used to be commit 2caed3f816
)
2008-01-25 21:43:49 +01:00
Günther Deschner
a059d24488
Add cmd_netlogon_dsr_enumtrustdom() to rpcclient.
...
Guenther
(This used to be commit cb44c901c1
)
2008-01-25 17:21:57 +01:00
Günther Deschner
96b41578a7
Add cmd_netlogon_gettrustrid() to rpcclient.
...
Guenther
(This used to be commit 231a4d051f
)
2008-01-24 23:41:53 +01:00
Günther Deschner
8ded1df767
Kill fstring in getdcname & getanydcname return.
...
Guenther
(This used to be commit b738381816
)
2007-12-21 15:12:40 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba776
)
2007-12-15 22:47:30 +01:00
Michael Adam
c97fe37ea3
r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
...
the maxeln parameter instead of sizeof(target_area) - 1 (or even
sizeof(fstring) - 1 in some places.
I hope these were really all there were.
Michael
(This used to be commit 9a28be220d
)
2007-10-10 12:30:58 -05:00
Günther Deschner
84bce05e71
r24742: Add experimental DsGetDcName() call (will be used by krb5 locator for fine
...
grained KDC DNS queries).
Guenther
(This used to be commit 3263cd680f
)
2007-10-10 12:30:16 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc
)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b
)
2007-10-10 12:28:20 -05:00
Günther Deschner
1ea5dfae04
r23380: netr_getdcname returns WERROR not NTSTATUS.
...
Guenther
(This used to be commit 5e75ea7f2b
)
2007-10-10 12:23:12 -05:00
Volker Lendecke
d807dec0f4
r23219: Two warnings
...
(This used to be commit eccd50abda
)
2007-10-10 12:22:54 -05:00