summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_rights.c
AgeCommit message (Collapse)AuthorFilesLines
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-11Use rpccli_lsa_LookupPrivDisplayName() in net and rpcclient.Günther Deschner1-13/+35
Guenther (This used to be commit be932cbdfa51eefafe79a81fa393ffea1fa4e25e)
2008-02-11Use rpccli_lsa_EnumPrivs() in net and rpcclient.Günther Deschner1-11/+12
Guenther (This used to be commit bb24cccfc87dd8b97cc68a0dd205dc338f21f37d)
2008-01-11Stop Coverity complaining about uninitialized variables.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 041f1d298c1e72adb263b32f454cdf3603e45416)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-2/+2
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-3/+3
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
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-10r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().Günther Deschner1-1/+1
Guenther (This used to be commit e9a7512a9f630340004913f1379452eea8a9b6ae)
2007-10-10r18747: replace rpccli_lsa_close() with rpccli_lsa_Close()Gerald Carter1-5/+5
(This used to be commit 50d74ce0488a9bd0980cdc6d523a210f6238ef74)
2007-10-10r18271: Big change:Gerald Carter1-2/+2
* 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-10r16644: Fix bug #3887 reported by jason@ncac.gwu.eduJeremy Allison1-2/+2
by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. (This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
2007-10-10r15657: Fix some Tru64 warningsVolker Lendecke1-1/+1
(This used to be commit a85dfb9eff222142eb1f9d89beb3d156661dd047)
2007-10-10r13316: Let the carnage begin....Gerald Carter1-2/+53
Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller1-5/+5
All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-65/+82
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )Gerald Carter1-13/+37
* add some backwards compatibility to 'net rpc rights list' * verify privilege name in 'net rpc rights privileges <name>' in order to give back better error messages. (This used to be commit 0e29dc8aa384dfa6d2495beb8a9ffb5371e60a13)
2007-10-10r5912: - Enhance net rpc rights utilitySimo Sorce1-23/+131
- Make it possible to list users that are given a specific privilege - Make the lisitng interface a bit more usable by distinguishing between "keys" and "names", using user names directly still supported for backward compatibility (This used to be commit 9797b33f2377375875b2c473d9899f36fe75246b)
2007-10-10r5653: Fixiing typos.John Terpstra1-1/+1
(This used to be commit 7df1cfed723d1c22070b0a829946fe61d064e0d1)
2007-10-10r4849: * finish SeAddUsers support in srv_samr_nt.cGerald Carter1-11/+45
* define some const SE_PRIV structure for use when you need a SE_PRIV* to a privilege * fix an annoying compiler warngin in smbfilter.c * translate SIDs to names in 'net rpc rights list accounts' * fix a seg fault in cli_lsa_enum_account_rights caused by me forgetting the precedence of * vs. [] (This used to be commit d25fc84bc2b14da9fcc0f3c8d7baeca83f0ea708)
2007-10-10r4827: add 'net rpc rights list accounts' & update help textGerald Carter1-15/+60
(This used to be commit 002ece931917e2952ed795939384764d14f93ce9)
2007-10-10r4821: finish off 'net rpc rights [list|grant|revoke]'Gerald Carter1-4/+222
one small todo item is to add a 'accounts' sub option to 'net rpc list' so enumerate all privileged SIDs and their associated rights. (This used to be commit bf4385c79a0ce2e4983ffa11d39367dbf1d4dcfd)
2007-10-10r4820: add beginnings of 'net rpc rights' for managing privilege assignmentsGerald Carter1-0/+116
(This used to be commit 164f94e52929330bd638f19bcf3bfce50303269e)