summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 client_revision.Andreas Schneider1-1/+1
The spec states that the ClientRevision value MUST be one of the following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2. LSA_CLIENT_REVISION_2 means Windows 2000 and newer. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 10 19:05:31 CET 2011 on sn-devel-104
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupNames4 lookup_options.Andreas Schneider1-1/+1
Use the enum value in dcerpc_lsa_LookupNames4 for _lookup_options. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 client_revision.Andreas Schneider1-1/+1
The spec states that the ClientRevision value MUST be one of the following: LSA_CLIENT_REVISION_1 or LSA_CLIENT_REVISION_2. LSA_CLIENT_REVISION_2 means Windows 2000 and newer. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Fixed the dcerpc_lsa_LookupSids3 lookup_options.Andreas Schneider1-1/+1
Use the enum value in dcerpc_lsa_LookupSids3 for _lookup_options. Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_lookup_names.Andreas Schneider1-31/+116
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_lookup_sids and dcerpc_lsa_lookup_sids3.Andreas Schneider1-57/+148
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_open_policy2.Andreas Schneider1-11/+37
Signed-off-by: Günther Deschner <gd@samba.org>
2011-01-10s3-rpc_client: Added dcerpc_lsa_open_policy.Andreas Schneider1-9/+34
Signed-off-by: Günther Deschner <gd@samba.org>
2010-11-24s3: Correctly calculate the wbinfo -s resultVolker Lendecke1-9/+25
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-1/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-1/+2
Guenther
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
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)