Günther Deschner
81579895a6
Fix lsa_TrustedDomainInfo callers.
...
Guenther
(This used to be commit e0eae3901750c7b76560bbab9a86f24a64d42c8b)
2008-04-08 22:55:52 +02:00
Günther Deschner
7269a504fd
Add my copyright.
...
Guenther
(This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
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 58cca9faf9db506bd2f6eab4a99ef85153797ab2)
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 78200d88924bbef3df7185fc3a0e1753160a592f)
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 6e9195329d9f2b26c959f64485902c032f140ec8)
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 e94ded74d6541d1d8954cfbbbd577ca0c83ecd4c)
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 e55bb83f84d0d459f4280c2a4bfa4cc14bd3924d)
2008-02-14 13:53:28 +01:00
Günther Deschner
a75d6543a0
Use rpccli_lsa_LookupPrivValue() in rpcclient.
...
Guenther
(This used to be commit c15243dd1faaa01cd05d6e2f6ae873cc32097397)
2008-02-14 13:53:27 +01:00
Günther Deschner
eccaf125a9
Use rpccli_lsa_EnumPrivsAccount() in rpcclient.
...
Guenther
(This used to be commit c28b52dcfedd575f5ae4ed7942857d3853bdd051)
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 bdbcfa4419a54b98ea577b0052894ddaa06890ce)
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 a25e7ffbca9c2c97dd36b0596e7cb38a72aaf9d9)
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 f4581e9f4482566fba9436d5ae058b8d840fa394)
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 66aac1d7f2a340d30dbbcff9b1589a2e24bacdaa)
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 be932cbdfa51eefafe79a81fa393ffea1fa4e25e)
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 dad7ae3e1a72a9e291e421f136461c60bcfbe318)
2008-02-11 10:52:51 +01:00
Günther Deschner
976fba87eb
Use rpccli_lsa_EnumPrivs() in net and rpcclient.
...
Guenther
(This used to be commit bb24cccfc87dd8b97cc68a0dd205dc338f21f37d)
2008-02-11 10:49:30 +01:00
Günther Deschner
da3e2d4c27
Testing revealed some errors, reverting some of the lsa changes.
...
Guenther
(This used to be commit ac1e4f1eb2c046def4fa30ab0bd98c49add8e8c8)
2008-02-09 02:05:39 +01:00
Günther Deschner
2b1d74981b
Fix rpccli_lsa_QueryTrustedDomainInfoByName() caller in rpcclient.
...
Guenther
(This used to be commit bdda909777dac08977a1d484d4e6e15e5dbfbba6)
2008-02-08 22:57:56 +01:00
Günther Deschner
ba00160eb8
Use rpccli_lsa_OpenAccount() in rpcclient.
...
Guenther
(This used to be commit 04d7977905d57dc2a45c221eee7f9edf659dbdf4)
2008-02-08 22:44:28 +01:00
Günther Deschner
bdf2e4f23f
Use rpccli_lsa_CreateAccount() in rpcclient.
...
Guenther
(This used to be commit 43ab24c11e0268a8f57780b7abce1c744e8690b4)
2008-02-08 22:38:34 +01:00
Günther Deschner
d748baa1c1
Use rpccli_lsa_QueryInfoPolicy and rpccli_lsa_QueryInfoPolicy2 in rpcclient.
...
Guenther
(This used to be commit 35494a333653003f03d326c4f77bbc74c3940123)
2008-02-08 10:02:51 +01:00
Günther Deschner
e5769f356a
Remove some wrong checks for policy handles in rpcclient.
...
Guenther
(This used to be commit 235e440ae6f31f05802e4c8d01174aac880c56cd)
2008-02-04 22:12:41 +01:00
Günther Deschner
649d1a82ca
Use rpccli_lsa_QuerySecurity() in rpcclient.
...
Guenther
(This used to be commit c07be0f1a9856dbbb80d0dbacf7b86024eed4436)
2008-02-04 22:12:40 +01:00
Günther Deschner
e021eb6d7b
Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
...
Guenther
(This used to be commit 2c045a8c817b4ec200830c4f8b508c1cd4c4d9aa)
2008-01-15 23:07:10 +01:00
Günther Deschner
c6f2bbb59f
Fix rpcclient display_trust_dom_info().
...
Guenther
(This used to be commit 54bdd22a07e885f896a8f784bc12096f65afac75)
2008-01-14 15:39:51 +01:00
Günther Deschner
08946cc546
Remove some more hand written LSA rpc.
...
(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-14 15:29:52 +01:00
Günther Deschner
463fd6b3a8
Use some more pidl generated LSA rpc in rpcclient.
...
Guenther
(This used to be commit 153e4dd162423a846dbd4a9a1be1fd747792bdbf)
2008-01-14 15:29:36 +01:00
Volker Lendecke
2e07c2ade8
s/sid_to_string/sid_to_fstring/
...
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15 22:47:30 +01:00
Volker Lendecke
7b01537679
Replace sid_string_static with sid_string_tos
...
In utils/ I was a bit lazy...
(This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
2007-12-15 22:09:36 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-27 14:18:47 +01:00
Gerald (Jerry) Carter
e5a951325a
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
...
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
277c1baee9
r25572: Fix warnings (values are always true).
...
(This used to be commit 2c77c3c58e75d6a9c08d723976c37d899a53c99a)
2007-10-10 12:31:15 -05:00
Michael Adam
91b276e4ea
r25285: Fix some more callers of unistr2_to_ascii to use the size of
...
destination instead of source as maxlen.
Michael
(This used to be commit 76cb05deec153c1e0003776339da912a0f3d73a9)
2007-10-10 12:30:57 -05:00
Michael Adam
3b5666bb00
r25281: Fix a caller of unistr2_to_ascii():
...
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-10 12:30:57 -05:00
Andrew Tridgell
5e54558c6d
r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
...
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80
r23779: Change from v2 or later to v3 or later.
...
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Günther Deschner
6024286ee7
r23628: Add LSA lookupnames_level to rpcclient.
...
Guenther
(This used to be commit dee99e40454b00da70343047c57e0cb0f2c489bd)
2007-10-10 12:23:38 -05:00
Günther Deschner
7eb828135b
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
...
Guenther
(This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10 12:23:38 -05:00
Volker Lendecke
bb5c820542
r19013: Fix some 64-bit warnings.
...
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-10 12:15:02 -05:00
Gerald Carter
05ba38f754
r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()
...
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10 12:00:54 -05:00
Jelmer Vernooij
4db7642caa
r18745: Use the Samba4 data structures for security descriptors and security 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-10 12:00:54 -05:00
Gerald Carter
2b27c93a9a
r18271: Big change:
...
* 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-10 11:51:18 -05:00
Jelmer Vernooij
995205fc60
r18188: merge 3.0-libndr branch
...
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10 11:43:56 -05:00
Jeremy Allison
2b8abc030b
r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
...
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.
(This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10 11:19:05 -05:00
Günther Deschner
c8baac2fd6
r15553: minor rpcclient cleanup: length is already set in data_blob.
...
Guenther
(This used to be commit a80f3660573872e7a1c9e4d37262c830d68415e1)
2007-10-10 11:16:59 -05:00
Günther Deschner
655b04e4f8
r15041: Adding rpc client calls to manipulate auditing policies on remote CIFS
...
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)
2007-10-10 11:15:59 -05:00
Günther Deschner
e443866f76
r14144: allow to set sec_info in rpcclients lsa_query_secobj.
...
Guenther
(This used to be commit 18ee669c604b344910308fef81c2544e208ef62c)
2007-10-10 11:15:13 -05:00
Gerald Carter
0af1500fc0
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10 11:06:23 -05:00
Günther Deschner
5ffc3b18ef
r12131: Fix it really, this time :)
...
Guenther
(This used to be commit 4a506dbc3c63b965044aa16374f46531375cc920)
2007-10-10 11:05:46 -05:00
Günther Deschner
09c1b2a20e
r12130: display domain GUID.
...
Guenther
(This used to be commit 8e63da03665651ab0315d76d27a4ea4375b2acd0)
2007-10-10 11:05:46 -05:00