summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-05s3-rpc_client: Use the right memory context for array elements.Andreas Schneider1-3/+3
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-10/+10
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-13fix bogus "out of memory" winbind msgVolker Lendecke1-1/+2
Signed-off-by: Michael Adam <obnox@samba.org>
2009-09-18s3-rpc_client: fix non initialized structure in rpccli_lsa_lookup_sids_noalloc.Günther Deschner1-0/+2
Guenther
2009-09-14s3-rpc_client: add rpccli_lsa_lookup_sids3 wrapper.Günther Deschner1-17/+74
Guenther
2009-09-14s3-rpc_client: add rpccli_lsa_lookup_names4 wrapper.Günther Deschner1-23/+75
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-5/+5
Guenther
2009-01-06s3-lsa: avoid all init_lsa* functions.Günther Deschner1-32/+20
Guenther
2008-07-21Remove some fully outdated sample codeVolker Lendecke1-102/+0
(This used to be commit 0df0e81784362c36a79954c6b9e3b341ea59fb6d)
2008-04-20Move srv_name_slash from cli_state to rpc_pipe_clientVolker Lendecke1-1/+1
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-04-03Fix rpccli_lsa_lookup_sids_noalloc.Günther Deschner1-3/+11
When looking up e.g. a trusted doamin account, there is just no name. Michael, please check. Guenther (This used to be commit ea3cfadc2504c891b4784719bd8e6debcc38c879)
2008-03-12Use existing srv_name_slash.Günther Deschner1-2/+1
Guenther (This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
2008-03-05Fix coverity ID 525, 526, 527, 528, 529 and 530Volker Lendecke1-19/+21
Upon failure to allocate one of the arrays, further down the TALLOC_FREE would have looked at the variables given to it without initizalizing. (This used to be commit 6cac3127312acaac65fcd54280605605765787ad)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-18Use rpccli_lsa_LookupSids() in rpccli_lsa_lookup_sids_noalloc().Günther Deschner1-31/+36
Guenther (This used to be commit b62eddbc4e302d3849525d8f6af24b112a4fe483)
2008-02-18Use rpccli_lsa_LookupNames() inside of rpccli_lsa_lookup_names.Günther Deschner1-25/+26
Guenther (This used to be commit 5c0a2d697f6a173e9627d7bc5567308a24613f46)
2008-02-14Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.Günther Deschner1-35/+0
Guenther (This used to be commit 80e39330bf15cc57f2780a5b900d8a2b14d92fa9)
2008-02-14Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.Günther Deschner1-70/+0
Guenther (This used to be commit 34c0e64026b7f5f223c7d7f1d7e162b5659f3bd3)
2008-02-14Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.Günther Deschner1-36/+0
Guenther (This used to be commit 15b97d1aafd6c8ad936944b611188154b191167f)
2008-02-14Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.Günther Deschner1-40/+0
Guenther (This used to be commit 8125d8557fb4b27873f8eabc6ad1019491d18cce)
2008-02-14Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.Günther Deschner1-56/+0
Guenther (This used to be commit 004598bc1322b6e2deb62115713768682fee988e)
2008-02-14Remove unused marshalling for LSA_ENUM_ACCOUNTS.Günther Deschner1-56/+0
Guenther (This used to be commit 8c476ad51622f76bf8f03f6255369b8e19f24a72)
2008-02-13Remove unused marshalling for LSA_ENUM_TRUST_DOM.Günther Deschner1-85/+0
Guenther (This used to be commit 90b07714ddb16ef87865cdf4f9c64c0372200e42)
2008-02-11Remove unused marshalling for LSA_PRIV_GET_DISPNAME.Günther Deschner1-40/+0
Guenther (This used to be commit d853f4f2634a3273c193cc52e7aaa4e7234a827c)
2008-02-11Let rpccli_lsa_open_policy[2] be convenience wrappers around their pidl ↵Günther Deschner1-62/+49
equivalents. Guenther (This used to be commit 4ca3b1c02ee44ddcab8d1b100497939de62558e6)
2008-02-11Remove unused marshalling for LSA_ENUM_PRIVS.Günther Deschner1-75/+0
Guenther (This used to be commit 793e5a608b1a40174088db6fbfcfc8cc6263a0da)
2008-02-08Remove unused marshalling for LSA_OPENACCOUNT.Günther Deschner1-38/+0
Guenther (This used to be commit bb8e77eb74c9d178a6c77f2f9c69eb1778fb5e10)
2008-02-08Remove unused marshalling for LSA_CREATEACCOUNT.Günther Deschner1-43/+0
Guenther (This used to be commit c9a8baf5077a4e93cca241a5ec73f6ade97af607)
2008-02-08Remove unused marshalling for LSA_QUERY_INFO.Günther Deschner1-87/+0
Guenther (This used to be commit f193d7d944e89f94b968a369d6566d13a4fbef5c)
2008-02-08Remove unused marshalling for LSA_QUERY_INFO2.Günther Deschner1-96/+0
Guenther (This used to be commit 0fac016d9d0018c983576d5cc8c3e06f40360b73)
2008-02-08Remove rpccli_lsa_query_info_policy_new and rpccli_lsa_query_info_policy_new2.Günther Deschner1-70/+0
Guenther (This used to be commit 08888e3773fa9f92c1d0d4662983bd44bea69a6c)
2008-02-04Remove unused marshalling for LSA_QUERY_SEC_OBJ.Günther Deschner1-42/+0
Guenther (This used to be commit 9b2aeeb36903591ea55cfdfe22f32d69703daaf1)
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-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison1-5/+5
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-11-20More pstring elimination.Jeremy Allison1-2/+1
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
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 Allison1-5/+5
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) Carter1-26/+26
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
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-10r24784: Initialize uninitalized data to prevent segfaults.Michael Adam1-0/+5
Thanks to Volker for the hint! Michael (This used to be commit 3b7ed3ea881dc59b77a067d5d3738e9e03b6c538)