summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-09s3: Remove some superfluous ()Volker Lendecke1-1/+1
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-8/+8
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-03-29s3:rpc_client: fix argument order of call to lsa_open_policy2 in ↵Michael Adam1-1/+1
rpccli_lsa_open_policy2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Mar 29 01:34:28 CEST 2011 on sn-devel-104
2011-03-23s3-rpc_client: actually call lsa_open_policy2() in rpccli_lsa_open_policy2().Günther Deschner1-6/+7
Found by Sumit Bose <sbose@redhat.com>, thanks! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 23 20:12:38 CET 2011 on sn-devel-104
2011-03-11s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 11 13:15:00 CET 2011 on sn-devel-104
2011-02-10s3-rpc_client: Fixed an uninitialized variable.Andreas Schneider1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104
2011-01-18s3-rpc_client: no need to include ../librpc/gen_ndr/ndr_lsa_c.h anymore.Günther Deschner1-1/+1
Guenther
2011-01-17s3-rpc_client: Fixed status check of dcerpc_lsa_lookup_sids_noalloc.Andreas Schneider1-1/+1
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Mon Jan 17 17:35:50 CET 2011 on sn-devel-104
2011-01-17s3-rpc_client: Fixed return values of dcerpc_lsa_lookup_sids_generic.Andreas Schneider1-4/+4
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)