summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_rights.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-18s3-rpc_client: move protos to cli_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-01-19s3 net: Fix compile warningsKai Blin1-12/+17
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-10/+10
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
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: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-16/+13
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-13/+16
2009-08-10s3 net: i18n support for net rpc rightsKai Blin1-44/+52
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-5/+5
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-10/+10
Guenther
2009-01-09s3/net: Display error message if user does not exist.Karolin Seeger1-1/+4
net rpc rights grant: Verify if the username can be resolved to a SID and display a proper error message if it does not. Otherwise users might think setting privileges worked fine, but in fact it does not. Karolin
2008-07-21Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-3/+3
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
2008-07-21Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-3/+3
(This used to be commit 850166ec0d17eb85a0c921dc3b966fac0677af4a)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net rpc rights" use functable3Kai Blin1-26/+59
(This used to be commit b0e373e595d66bd92b685dd98fc8967d45532e41)
2008-05-20net: Use true/false instead of True/False.Kai Blin1-5/+5
(This used to be commit a8b567aac3b0e39cfe67fb97167b10312ca5e73a)
2008-05-10net: more whitespace cleanupKai Blin1-44/+44
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-24/+28
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
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-14/+19
Guenther (This used to be commit 6e9195329d9f2b26c959f64485902c032f140ec8)
2008-02-14Use rpccli_lsa_AddAccountRights in net and rpcclient.Günther Deschner1-2/+17
Guenther (This used to be commit e94ded74d6541d1d8954cfbbbd577ca0c83ecd4c)
2008-02-14Use rpccli_lsa_EnumAccounts() in net and rpcclient.Günther Deschner1-25/+30
Guenther (This used to be commit bdbcfa4419a54b98ea577b0052894ddaa06890ce)
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)