1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

173 Commits

Author SHA1 Message Date
Günther Deschner
e978a3d3f4 s3-lsa: separate out init_lsa headers.
Guenther
2010-08-25 22:50:39 +02: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
a75436e3ee s3-security: use shared SECINFO_DACL define.
Guenther
2010-06-03 11:00:12 +02:00
Andrew Bartlett
cba7f8b827 s3:dom_sid Global replace of DOM_SID with struct dom_sid
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-21 10:39:59 +02:00
Günther Deschner
230b880d14 s3-rpc_client: move protos to cli_lsarpc.h
Guenther
2010-05-18 21:42:41 +02:00
Günther Deschner
8bc9c343c4 s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".
Guenther
2010-05-18 12:30:11 +02:00
Volker Lendecke
2002b4e4c2 s3: Remove a call to string_sid_talloc 2010-01-23 14:35:37 +01:00
Volker Lendecke
c2c71b8e05 s3: Fix sending NULL sids to lookupsids3 2010-01-23 14:35:37 +01:00
Volker Lendecke
9fcbe3a65c s3: Remove some pointless uses of string_sid_talloc 2010-01-23 14:35:37 +01:00
Volker Lendecke
8905b599b4 s3: Fix some nonempty blank lines 2010-01-23 14:35:37 +01: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
2f3a40844d s3-rpcclient: add deletetrustdom command.
Guenther
2009-10-30 12:28:48 +01:00
Günther Deschner
fbdda19549 s3-rpcclient: add createtrustdom command.
Guenther
2009-10-30 12:28:48 +01:00
Günther Deschner
6dab835fbb s3-rpcclient: Fix Coverity #935: UNINIT.
Guenther
2009-09-16 10:29:35 +02:00
Günther Deschner
cbac8e4fa0 s3-rpcclient: add lookupsids3 command.
Guenther
2009-09-11 13:59:56 +02:00
Günther Deschner
8bd730f5ad s3-rpcclient: add lookupnames4 command.
Guenther
2009-09-11 00:26:24 +02:00
Günther Deschner
7e9f8f0f95 s3-rpcclient: add LSA storeprivatedata command.
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
27c39a2804 s3-rpcclient: add LSA retrieveprivatedata command.
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
7194fc6a69 s3-rpcclient: add LSA setsecret command.
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
1a862349e1 s3-rpcclient: add LSA querysecret command.
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
f848f4f4d3 s3-rpcclient: add LSA deletesecret command.
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
dee787cb77 s3-rpcclient: add LSA createsecret command.
Guenther
2009-07-17 13:50:33 +02:00
Günther Deschner
b5bec1a6d7 s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Guenther
2009-04-21 12:40:47 +02: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
531af136f9 s3: remove POLICY_HND.
Guenther
2009-03-18 23:22:29 +01:00
Volker Lendecke
f4e760faf9 Fix bug 5840: Segfault in "rpcclient lsaaddacctrights" 2008-10-22 14:31:40 +02:00
Günther Deschner
b11f3a60fd s3-lsa-server: fix _lsa_GetUserName.
Guenther
2008-10-21 11:39:45 +02:00
Günther Deschner
cefe4c6697 s3-rpcclient: fix cmd_lsa build.
Guenther
2008-10-20 22:09:07 +02:00
Jelmer Vernooij
1f3e4f39c5 Use GUID_string rather than smb_uuid_string(). 2008-10-14 02:26:18 +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
b78453326b Remove the "pwd" struct from rpc_pipe_client
The only user of this was decrypt_trustdom_secret, and this only needs the NT
hash anyway.
(This used to be commit 3d8c2a47e6)
2008-04-21 23:36:05 +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
51d9e913bb Fix lsa_QueryTrustedDomainInfo caller.
Guenther
(This used to be commit 9f148daaf2)
2008-04-08 23:09:24 +02:00
Günther Deschner
81579895a6 Fix lsa_TrustedDomainInfo callers.
Guenther
(This used to be commit e0eae39017)
2008-04-08 22:55:52 +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
2d01ec2c39 Use new LSA_POLICY defines in lsa rpc server code and other places.
Guenther
(This used to be commit 58cca9faf9)
2008-02-27 15:57:09 +01:00
Günther Deschner
f21cdab938 Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.
Guenther
(This used to be commit 78200d8892)
2008-02-14 15:28:26 +01:00
Günther Deschner
7b5ef3569f Use rpccli_lsa_EnumAccountRights in net and rpcclient.
Guenther
(This used to be commit 6e9195329d)
2008-02-14 15:09:21 +01:00
Günther Deschner
96aa5dea8e Use rpccli_lsa_AddAccountRights in net and rpcclient.
Guenther
(This used to be commit e94ded74d6)
2008-02-14 14:40:26 +01:00
Günther Deschner
55e5e753bb Add lsaaddpriv and lsadelpriv commands to rpcclient.
Guenther
(This used to be commit e55bb83f84)
2008-02-14 13:53:28 +01:00
Günther Deschner
a75d6543a0 Use rpccli_lsa_LookupPrivValue() in rpcclient.
Guenther
(This used to be commit c15243dd1f)
2008-02-14 13:53:27 +01:00
Günther Deschner
eccaf125a9 Use rpccli_lsa_EnumPrivsAccount() in rpcclient.
Guenther
(This used to be commit c28b52dcfe)
2008-02-14 13:13:09 +01:00
Günther Deschner
2b84f4119d Use rpccli_lsa_EnumAccounts() in net and rpcclient.
Guenther
(This used to be commit bdbcfa4419)
2008-02-14 01:32:56 +01:00
Günther Deschner
0ba3d44f73 Use rpccli_lsa_EnumTrustDom all over the place.
Guenther
(This used to be commit a25e7ffbca)
2008-02-13 00:29:37 +01:00
Günther Deschner
e2b3aad817 Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f44)
2008-02-12 22:05:39 +01:00
Günther Deschner
1a27d29686 Add cmd_lsa_get_username command to rpcclient.
Guenther
(This used to be commit 66aac1d7f2)
2008-02-11 20:49:38 +01:00
Günther Deschner
7b50295400 Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.
Guenther
(This used to be commit be932cbdfa)
2008-02-11 19:16:05 +01:00
Günther Deschner
0ddbeba833 Only call display_lsa_query_info on success in rpcclient.
Guenther
(This used to be commit dad7ae3e1a)
2008-02-11 10:52:51 +01:00