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
Günther Deschner
976fba87eb
Use rpccli_lsa_EnumPrivs() in net and rpcclient.
...
Guenther
(This used to be commit bb24cccfc8
)
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 ac1e4f1eb2
)
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 bdda909777
)
2008-02-08 22:57:56 +01:00
Günther Deschner
ba00160eb8
Use rpccli_lsa_OpenAccount() in rpcclient.
...
Guenther
(This used to be commit 04d7977905
)
2008-02-08 22:44:28 +01:00
Günther Deschner
bdf2e4f23f
Use rpccli_lsa_CreateAccount() in rpcclient.
...
Guenther
(This used to be commit 43ab24c11e
)
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 35494a3336
)
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 235e440ae6
)
2008-02-04 22:12:41 +01:00
Günther Deschner
649d1a82ca
Use rpccli_lsa_QuerySecurity() in rpcclient.
...
Guenther
(This used to be commit c07be0f1a9
)
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 2c045a8c81
)
2008-01-15 23:07:10 +01:00
Günther Deschner
c6f2bbb59f
Fix rpcclient display_trust_dom_info().
...
Guenther
(This used to be commit 54bdd22a07
)
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 5bfb33f1c5
)
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 153e4dd162
)
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 eb523ba776
)
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 60e830b0f4
)
2007-12-15 22:09:36 +01:00
Volker Lendecke
1011b32678
Remove some statics
...
(This used to be commit 1fab16ffb8
)
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 5c6c8e1fe9
)
2007-10-10 15:34:30 -05:00
Jelmer Vernooij
277c1baee9
r25572: Fix warnings (values are always true).
...
(This used to be commit 2c77c3c58e
)
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 76cb05deec
)
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 841ff0beee
)
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 b0132e94fc
)
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 407e6e695b
)
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 dee99e4045
)
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 e9a7512a9f
)
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 4a5d11e194
)
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 50d74ce048
)
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 b41c52b9db
)
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 3da9f80c28
)
2007-10-10 11:51:18 -05:00