summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_lsarpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-11-29s3-rpcclient: add tool to call lsa_SetInformationTrustedDomain.Günther Deschner1-0/+71
"lsasettrustdominfo S-1-5-21-123456-123456-123456 13 1" currently you only can set the encryption type field. Guenther
2011-08-03s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hashAndrew Bartlett1-18/+20
The session key we want here (the only one that is availble to the encryption layer) is the one obtained by cli_get_session_key(), as NTLMSSP creates a per-session session key via key exchange and NTLMv2 negotiation. The key was never directly the NT hash anyway (this is simply a mistake, the extra MD4() was lost during my previous cleanup f28f113d8e76824b080359c90efd9c92de533740 in 2008), but was MD4(NT hash) in early implementations of NTLMSSP. However, regardless this call is not available on domain trusts between AD domains and Windows 2003 R2, making this less useful. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett1-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-03-31s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.hGünther Deschner1-1/+0
Guenther
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-02s3-rpcclient: prefer dcerpc_lsa_X functions.Günther Deschner1-176/+390
Guenther
2011-02-02s3-rpcclient: use status variable.Günther Deschner1-182/+182
Guenther
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+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-08-25s3-lsa: separate out init_lsa headers.Günther Deschner1-0/+1
Guenther
2010-08-08s3:rpcclient: we also need some ndr_pull functionsStefan Metzmacher1-0/+1
metze
2010-06-03s3-security: use shared SECINFO_DACL define.Günther Deschner1-1/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-15/+15
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
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-1/+1
Guenther
2010-01-23s3: Remove a call to string_sid_tallocVolker Lendecke1-2/+6
2010-01-23s3: Fix sending NULL sids to lookupsids3Volker Lendecke1-2/+2
2010-01-23s3: Remove some pointless uses of string_sid_tallocVolker Lendecke1-1/+3
2010-01-23s3: Fix some nonempty blank linesVolker Lendecke1-7/+7
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke1-92/+32
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke1-32/+92
2009-10-30s3-rpcclient: add deletetrustdom command.Günther Deschner1-0/+89
Guenther
2009-10-30s3-rpcclient: add createtrustdom command.Günther Deschner1-0/+45
Guenther
2009-09-16s3-rpcclient: Fix Coverity #935: UNINIT.Günther Deschner1-1/+1
Guenther
2009-09-11s3-rpcclient: add lookupsids3 command.Günther Deschner1-0/+70
Guenther
2009-09-11s3-rpcclient: add lookupnames4 command.Günther Deschner1-0/+52
Guenther
2009-07-17s3-rpcclient: add LSA storeprivatedata command.Günther Deschner1-0/+56
Guenther
2009-07-17s3-rpcclient: add LSA retrieveprivatedata command.Günther Deschner1-0/+60
Guenther
2009-07-17s3-rpcclient: add LSA setsecret command.Günther Deschner1-0/+71
Guenther
2009-07-17s3-rpcclient: add LSA querysecret command.Günther Deschner1-0/+86
Guenther
2009-07-17s3-rpcclient: add LSA deletesecret command.Günther Deschner1-0/+50
Guenther
2009-07-17s3-rpcclient: add LSA createsecret command.Günther Deschner1-0/+43
Guenther
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-24/+24
Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-13/+9
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-03-18s3: remove POLICY_HND.Günther Deschner1-24/+24
Guenther
2008-10-22Fix bug 5840: Segfault in "rpcclient lsaaddacctrights"Volker Lendecke1-1/+1
2008-10-21s3-lsa-server: fix _lsa_GetUserName.Günther Deschner1-1/+2
Guenther
2008-10-20s3-rpcclient: fix cmd_lsa build.Günther Deschner1-3/+1
Guenther
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-2/+2
2008-07-21Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-21/+21
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-04-21Remove the "pwd" struct from rpc_pipe_clientVolker Lendecke1-8/+27
The only user of this was decrypt_trustdom_secret, and this only needs the NT hash anyway. (This used to be commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-1/+1
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-08Fix lsa_QueryTrustedDomainInfo caller.Günther Deschner1-2/+2
Guenther (This used to be commit 9f148daaf2e240002914183655c2b2cc9067759f)
2008-04-08Fix lsa_TrustedDomainInfo callers.Günther Deschner1-4/+4
Guenther (This used to be commit e0eae3901750c7b76560bbab9a86f24a64d42c8b)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-27Use new LSA_POLICY defines in lsa rpc server code and other places.Günther Deschner1-1/+1
Guenther (This used to be commit 58cca9faf9db506bd2f6eab4a99ef85153797ab2)
2008-02-14Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.Günther Deschner1-3/+18
Guenther (This used to be commit 78200d88924bbef3df7185fc3a0e1753160a592f)
2008-02-14Use rpccli_lsa_EnumAccountRights in net and rpcclient.Günther Deschner1-7/+8
Guenther (This used to be commit 6e9195329d9f2b26c959f64485902c032f140ec8)
2008-02-14Use rpccli_lsa_AddAccountRights in net and rpcclient.Günther Deschner1-3/+17
Guenther (This used to be commit e94ded74d6541d1d8954cfbbbd577ca0c83ecd4c)