summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_lsarpc.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-02-14Add lsaaddpriv and lsadelpriv commands to rpcclient.Günther Deschner1-4/+172
Guenther (This used to be commit e55bb83f84d0d459f4280c2a4bfa4cc14bd3924d)
2008-02-14Use rpccli_lsa_LookupPrivValue() in rpcclient.Günther Deschner1-2/+8
Guenther (This used to be commit c15243dd1faaa01cd05d6e2f6ae873cc32097397)
2008-02-14Use rpccli_lsa_EnumPrivsAccount() in rpcclient.Günther Deschner1-7/+10
Guenther (This used to be commit c28b52dcfedd575f5ae4ed7942857d3853bdd051)
2008-02-14Use rpccli_lsa_EnumAccounts() in net and rpcclient.Günther Deschner1-7/+9
Guenther (This used to be commit bdbcfa4419a54b98ea577b0052894ddaa06890ce)
2008-02-13Use rpccli_lsa_EnumTrustDom all over the place.Günther Deschner1-10/+13
Guenther (This used to be commit a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)
2008-02-12Collect all init_lsa_string varients in one place.Günther Deschner1-5/+0
Guenther (This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
2008-02-11Add cmd_lsa_get_username command to rpcclient.Günther Deschner1-0/+41
Guenther (This used to be commit 66aac1d7f2a340d30dbbcff9b1589a2e24bacdaa)
2008-02-11Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.Günther Deschner1-8/+16
Guenther (This used to be commit be932cbdfa51eefafe79a81fa393ffea1fa4e25e)
2008-02-11Only call display_lsa_query_info on success in rpcclient.Günther Deschner1-2/+3
Guenther (This used to be commit dad7ae3e1a72a9e291e421f136461c60bcfbe318)
2008-02-11Use rpccli_lsa_EnumPrivs() in net and rpcclient.Günther Deschner1-12/+15
Guenther (This used to be commit bb24cccfc87dd8b97cc68a0dd205dc338f21f37d)
2008-02-09Testing revealed some errors, reverting some of the lsa changes.Günther Deschner1-3/+3
Guenther (This used to be commit ac1e4f1eb2c046def4fa30ab0bd98c49add8e8c8)
2008-02-08Fix rpccli_lsa_QueryTrustedDomainInfoByName() caller in rpcclient.Günther Deschner1-1/+1
Guenther (This used to be commit bdda909777dac08977a1d484d4e6e15e5dbfbba6)
2008-02-08Use rpccli_lsa_OpenAccount() in rpcclient.Günther Deschner1-3/+7
Guenther (This used to be commit 04d7977905d57dc2a45c221eee7f9edf659dbdf4)
2008-02-08Use rpccli_lsa_CreateAccount() in rpcclient.Günther Deschner1-2/+6
Guenther (This used to be commit 43ab24c11e0268a8f57780b7abce1c744e8690b4)
2008-02-08Use rpccli_lsa_QueryInfoPolicy and rpccli_lsa_QueryInfoPolicy2 in rpcclient.Günther Deschner1-64/+52
Guenther (This used to be commit 35494a333653003f03d326c4f77bbc74c3940123)
2008-02-04Remove some wrong checks for policy handles in rpcclient.Günther Deschner1-6/+3
Guenther (This used to be commit 235e440ae6f31f05802e4c8d01174aac880c56cd)
2008-02-04Use rpccli_lsa_QuerySecurity() in rpcclient.Günther Deschner1-2/+4
Guenther (This used to be commit c07be0f1a9856dbbb80d0dbacf7b86024eed4436)
2008-01-15Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.Günther Deschner1-8/+14
Guenther (This used to be commit 2c045a8c817b4ec200830c4f8b508c1cd4c4d9aa)
2008-01-14Fix rpcclient display_trust_dom_info().Günther Deschner1-1/+1
Guenther (This used to be commit 54bdd22a07e885f896a8f784bc12096f65afac75)
2008-01-14Remove some more hand written LSA rpc.Günther Deschner1-3/+6
(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-14Use some more pidl generated LSA rpc in rpcclient.Günther Deschner1-59/+46
Guenther (This used to be commit 153e4dd162423a846dbd4a9a1be1fd747792bdbf)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-5/+5
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_string_tosVolker Lendecke1-5/+6
In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-11-27Remove some staticsVolker Lendecke1-1/+2
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-3/+6
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25572: Fix warnings (values are always true).Jelmer Vernooij1-6/+3
(This used to be commit 2c77c3c58e75d6a9c08d723976c37d899a53c99a)
2007-10-10r25285: Fix some more callers of unistr2_to_ascii to use the size ofMichael Adam1-4/+4
destination instead of source as maxlen. Michael (This used to be commit 76cb05deec153c1e0003776339da912a0f3d73a9)
2007-10-10r25281: Fix a caller of unistr2_to_ascii():Michael Adam1-1/+1
The maxlen parameter should be set to the size of the destination, not to the size of the soruce. Michael (This used to be commit 841ff0beee7ea44ee92d1f90de3edeb53edcae0a)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23628: Add LSA lookupnames_level to rpcclient.Günther Deschner1-0/+52
Guenther (This used to be commit dee99e40454b00da70343047c57e0cb0f2c489bd)
2007-10-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-2/+2
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r19013: Fix some 64-bit warnings.Volker Lendecke1-2/+2
Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is being used uninitialized which I don't really know how to fix. Any hints? Volker (This used to be commit 4a5d11e194ebdfb6c21586d1cf902f8ed2478e45)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter1-18/+18
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18745: Use the Samba4 data structures for security descriptors and security ↵Jelmer Vernooij1-1/+1
descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. (This used to be commit b41c52b9db5fc4a553b20a7a5a051a4afced9366)
2007-10-10r18271: Big change:Gerald Carter1-3/+3
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij1-2/+2
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r16644: Fix bug #3887 reported by jason@ncac.gwu.eduJeremy Allison1-3/+3
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10r15553: minor rpcclient cleanup: length is already set in data_blob.Günther Deschner1-3/+0
Guenther (This used to be commit a80f3660573872e7a1c9e4d37262c830d68415e1)
2007-10-10r15041: Adding rpc client calls to manipulate auditing policies on remote CIFSGünther Deschner1-41/+115
servers. Also add a new "net rpc audit" tool. The lsa query infolevels were taken from samb4 IDL, the lsa policy flags and categories are partly documented on msdn. I need to cleanup the double lsa_query_info_policy{2}{_new} calls next. Guenther (This used to be commit 0fed66926f4b72444abfc8ffb8c46cca8d0600aa)