summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2008-02-01Remove unused marshalling for SAMR_CREATE_USER.Günther Deschner1-45/+0
Guenther (This used to be commit 69e8a83093149201c36ffc2b7fadfa469aabf7bd)
2008-02-01Remove unused marshalling for SAMR_CREATE_DOM_GROUP.Günther Deschner1-38/+0
Guenther (This used to be commit 2882d48dfed2cd9783833d010d126d7b3cfb4899)
2008-02-01Remove unused marshalling for SAMR_CREATE_DOM_ALIAS.Günther Deschner1-36/+0
Guenther (This used to be commit 2e56289889b705d003a170fafa69163ce5841f3b)
2008-02-01Remove unused marshalling for SAMR_OPEN_USER.Günther Deschner1-38/+0
Guenther (This used to be commit f34c0e7ada8ce625ee20e3d776e41dabbad71ce5)
2008-02-01Remove unused marshalling for SAMR_OPEN_ALIAS.Günther Deschner1-40/+0
Guenther (This used to be commit c00d629d4e557e5efd7c339904e228ca76504e7a)
2008-02-01Remove unused marshalling for SAMR_OPEN_GROUP.Günther Deschner1-40/+0
Guenther (This used to be commit 9660a341b6b32609b28770130e974d674ab31215)
2008-02-01Remove unused marshalling for SAMR_OPEN_DOMAIN.Günther Deschner1-41/+0
Guenther (This used to be commit ebf9caa004899281d0fb44cac2e2494d322810bd)
2008-02-01Remove rpccli_samr_delete_dom_user().Günther Deschner1-33/+0
Guenther (This used to be commit 1b620ea648a20dc54c9c8bc21affbdbb2174ebea)
2008-02-01Remove rpccli_samr_delete_dom_alias().Günther Deschner1-33/+0
Guenther (This used to be commit eac804b9a37a5ca150de51136f0daa84bb79e1c2)
2008-02-01Remove rpccli_samr_delete_dom_group().Günther Deschner1-33/+0
Guenther (This used to be commit 882537f26f44103a4882c388844c5b24d4903e9c)
2008-01-31Remove rpccli_samr_close and use pidl generated function instead.Günther Deschner1-38/+0
Guenther (This used to be commit 64f0889401855ab76953bfae5db4fe4df19ad8a5)
2008-01-29Finally delete rpccli_ds_enum_domain_trusts() completly.Günther Deschner1-96/+0
Guenther (This used to be commit c420e42adfea9908a93d3eea5688488e5a9062a2)
2008-01-25Remove hand-written rpccli_netlogon_dsr_getdcnameex[2].Günther Deschner1-103/+0
Guenther (This used to be commit 3ded8b9b7eee18a3f903e264adfb7fea6a3c0c5f)
2008-01-25Use generated DSSETUP client & server rpc functions and remove the ↵Günther Deschner2-43/+1
hand-written ones. Guenther (This used to be commit d5ebfccebb1f1b56b45673a506fcdb414103c43b)
2008-01-25Remove rpccli_samr_get_dom_pwinfo() and rpccli_samr_get_usrdom_pwinfo().Günther Deschner1-85/+0
Guenther (This used to be commit 29690d18608ab2d694c23ed7656348c8c71f204e)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-2/+2
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)
2008-01-23Forward ported version of Matt Geddes <musicalcarrion@gmail.com>Jeremy Allison1-2/+2
patch for adding acct_flags to rpccli_samr_create_dom_user(). Jerry please test. Jeremy. (This used to be commit 7d94f97947b7edfcf3ec52f0125e4593d6d54c05)
2008-01-15Apply const to rpccli_lsa_query_info_policy() and ↵Günther Deschner1-3/+5
rpccli_lsa_query_info_policy2(). Guenther (This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2008-01-14Remove old lsa set info policy call.Günther Deschner1-35/+0
Guenther (This used to be commit b37b2b77edec72fc3f53b3461aa1c210e4366c1b)
2008-01-14Remove some more hand written LSA rpc.Günther Deschner1-108/+0
(rpccli_lsa_open_trusted_domain, rpccli_lsa_query_trusted_domain_info, cli_lsa_query_domain_info_policy). Guenther (This used to be commit 5bfb33f1c5a16d10f77cb76962df4a949626a062)
2008-01-14Start removing hand-written lsa marshalling code (namelyGünther Deschner1-111/+0
rpccli_lsa_open_trusted_domain_by_name, rpccli_lsa_query_trusted_domain_info_by_sid and rpccli_lsa_query_trusted_domain_info_by_name). Guenther (This used to be commit f2fb3473455f20e7314a9d33f5a1c923d3057d97)
2007-12-28Remove static zerosVolker Lendecke1-4/+6
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-12-21Kill fstring in getdcname & getanydcname return.Günther Deschner1-6/+8
Guenther (This used to be commit b7383818168863a7ba43c2456f8c44e96e76707a)
2007-12-18Fix a debug message: add missing space.Michael Adam1-2/+2
Michael (This used to be commit 6a7f2a59fc370e226ddacb195059155f28c6c157)
2007-12-17Do not close netlogon pipe in get_schannel_session_key_common().Michael Adam1-1/+0
This removes one forgotten call of cli_rpc_pipe_close(netlogon_pipe). Correction of e77c4022cfbb868e608edcb06b676658b0e201ad. Michael (This used to be commit 7f6593cddef048dd05140b05d306c708d8134f0e)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-1/+2
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-13Refactoring out get_schannel_session_key logic.Michael Adam1-53/+39
Refactor the actual retrieval of the session key through the established netlogon pipe out of get_schannel_session_key() and get_schannel_session_key_auth_ntlmssp() into a new function get_schannel_session_key_common(). (To avoid code duplication.) Michael (This used to be commit e77c4022cfbb868e608edcb06b676658b0e201ad)
2007-12-13Rename get_trust_pw() to get_trust_pw_hash().Michael Adam1-2/+4
Michael (This used to be commit 0cde7ac9cb39a0026a38ccf66dbecefc12931074)
2007-12-13Let get_trust_pw() determine the machine_account_name to use.Michael Adam1-32/+6
Up to now each caller used its own logic. This eliminates code paths where there was a special treatment of the following situation: the domain given is not our workgroup (i.e. our own domain) and we are not a DC (i.e. it is not a typical trusted domain situation). In situation the given domain name was previously used as the machine account name, resulting in an account name of DOMAIN\\DOMAIN$, which does not seem very reasonable to me. get_trust_pw would not have obtained a password in this situation anyways. I hope I have not missed an important point here! Michael (This used to be commit 6ced4a7f88798dc449a667d63bc29bf6c569291f)
2007-12-11Replace "unknown" with access_mask when calling samr_CreateUser2().Günther Deschner1-2/+2
Guenther (This used to be commit cfc6e7a2e657ee55364b739d9fe0093e4f7c8b27)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-03Fix winreg callers.Günther Deschner1-5/+5
Guenther (This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison1-31/+4
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison3-29/+29
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-11-20More pstring elimination.Jeremy Allison2-7/+8
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-09ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)Stefan Metzmacher1-6/+7
lib/messages_local.c rpc_client/ndr.c smbd/notify_internal.c utils/net_rpc_registry.c metze (This used to be commit c2645d2164c05976a98bafed980b6029baf89977)
2007-10-25Fix a mismatched interface where we were usingJeremy Allison1-5/+5
uint32 instead of enum lsa_SidType. Jeremy. (This used to be commit 2df8252ff76406bfe57cd76e9927b5056e89e6ae)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison3-23/+23
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter3-241/+693
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter1-2/+2
The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
2007-10-10r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter1-2/+2
and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10r25313: dd HKEY_CURRENT_USER to rpccli_winreg_Connect().Günther Deschner1-0/+4
Guenther (This used to be commit eb311cafbb446abf8e29faf6501cf5b82593a36f)
2007-10-10r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam1-4/+4
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 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10r25254: Add my C - MichaelMichael Adam1-0/+1
(This used to be commit 3246be8cf05a867b74b4b96697c99cc62f13c2a9)
2007-10-10r25247: Rename the rpccli_lsa_lookup_sids_all() function to ↵Michael Adam1-120/+12
rpccli_lsa_lookup_sids() and remove the old rpccli_lsa_lookup_sids() function. The old function would fail due to server limits when requesting to resolve too many sids at once (20480 for W2k3). The new version passes the list of sids in hunks to the server. It has up to now been used (and tested) in the winbindd_ads lookup_groupmem() function, and I think the time has come to replace the actual function with this correct version. Michael (This used to be commit 1194d4f36ef720747e62dde31881c295e44e4a76)
2007-10-10r25226: Get rid of more red bars...Michael Adam1-96/+96
(This used to be commit aa603bcc6c848de67ea07d6028ab841a8401d9ad)
2007-10-10r25225: Add a debug message.Michael Adam1-0/+3
Michael (This used to be commit 7238884c2cb25dd9279703004ffab6618715a275)
2007-10-10r25224: Fix a potential segfault in lsa_lookupsids client code due toMichael Adam1-1/+4
uninitialized data. Michael (This used to be commit b4fff6d09d17a18eae61e8ca789f128cd094ba09)
2007-10-10r25223: Fix behaviour of rpccli_lsa_lookupsids_all() whenMichael Adam1-5/+11
rpccli_lsa_lookupsids_noalloc() returns an error for one hunk of SIDs: free all allocated arrays and return the error code returned by the hunk lookup. Michael (This used to be commit 2c68ebd6934206186dc6e635401f66c2fd1e1234)
2007-10-10r24949: Remove some static buffersVolker Lendecke1-2/+2
(This used to be commit df648d47ff3c4e24f439fda839653bda98323100)