1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
Günther Deschner
9e7d32e28c Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Guenther
2008-02-27 17:09:02 +01:00
Günther Deschner
61da5b8c00 Move MAX_LOOKUP_SIDS to lsa.idl.
Guenther
2008-02-27 17:08:46 +01:00
Günther Deschner
8f54ba22d2 Move MAX_REF_DOMAINS to lsa.idl.
Guenther
2008-02-27 17:08:09 +01:00
Günther Deschner
58cca9faf9 Use new LSA_POLICY defines in lsa rpc server code and other places.
Guenther
2008-02-27 15:57:09 +01:00
Günther Deschner
c22ec556b1 w 2008-02-19 01:30:01 +01:00
Günther Deschner
f802ba035c Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
2008-02-19 01:29:14 +01:00
Günther Deschner
6458ef3977 Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4
Guenther
2008-02-18 17:04:50 +01:00
Günther Deschner
80e39330bf Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.
Guenther
2008-02-14 15:29:51 +01:00
Günther Deschner
34c0e64026 Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.
Guenther
2008-02-14 15:11:35 +01:00
Günther Deschner
15b97d1aaf Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.
Guenther
2008-02-14 14:40:27 +01:00
Günther Deschner
5b700aba1a Remove unused marshalling for LSA_ADDPRIVS and LSA_REMOVEPRIVS.
Guenther
2008-02-14 14:01:49 +01:00
Günther Deschner
8125d8557f Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Guenther
2008-02-14 13:53:27 +01:00
Günther Deschner
004598bc13 Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.
Guenther
2008-02-14 13:13:09 +01:00
Günther Deschner
8c476ad516 Remove unused marshalling for LSA_ENUM_ACCOUNTS.
Guenther
2008-02-14 01:34:34 +01:00
Günther Deschner
90b07714dd Remove unused marshalling for LSA_ENUM_TRUST_DOM.
Guenther
2008-02-13 00:37:19 +01:00
Günther Deschner
f995b1ddc7 Remove unused LSA_CLOSE headers.
Guenther
2008-02-11 20:52:33 +01:00
Günther Deschner
5550c5c387 Remove unused marshalling for LSA_UNK_GET_CONNUSER.
Guenther
2008-02-11 20:49:50 +01:00
Günther Deschner
d853f4f263 Remove unused marshalling for LSA_PRIV_GET_DISPNAME.
Guenther
2008-02-11 19:16:05 +01:00
Günther Deschner
4ca3b1c02e Let rpccli_lsa_open_policy[2] be convenience wrappers around their pidl equivalents.
Guenther
2008-02-11 17:50:18 +01:00
Günther Deschner
793e5a608b Remove unused marshalling for LSA_ENUM_PRIVS.
Guenther
2008-02-11 10:49:35 +01:00
Günther Deschner
cf3a76bf19 Remove unused marshalling for LSA_GETSYSTEMACCOUNT.
Guenther
2008-02-08 22:54:37 +01:00
Günther Deschner
ddefdc5bd7 Remove unused marshalling for LSA_SETSYSTEMACCOUNT.
Guenther
2008-02-08 22:51:58 +01:00
Günther Deschner
bb8e77eb74 Remove unused marshalling for LSA_OPENACCOUNT.
Guenther
2008-02-08 22:44:42 +01:00
Günther Deschner
c9a8baf507 Remove unused marshalling for LSA_CREATEACCOUNT.
Guenther
2008-02-08 22:38:34 +01:00
Günther Deschner
f193d7d944 Remove unused marshalling for LSA_QUERY_INFO.
Guenther
2008-02-08 10:26:37 +01:00
Günther Deschner
0fac016d9d Remove unused marshalling for LSA_QUERY_INFO2.
Guenther
2008-02-08 10:16:08 +01:00
Günther Deschner
3a32082ef5 Remove unused marshalling for LSA_DELETE_OBJECT.
Guenther
2008-02-04 22:12:41 +01:00
Günther Deschner
9b2aeeb369 Remove unused marshalling for LSA_QUERY_SEC_OBJ.
Guenther
2008-02-04 22:12:41 +01:00
Günther Deschner
a52066e608 Remove some unused structures from rpc_lsa.h.
Guenther
2008-01-25 17:22:04 +01:00
Günther Deschner
d9c8a2271d Merge lsarpc.idl from samba4 and rerun make idl.
Guenther
2008-01-16 16:32:12 +01:00
Günther Deschner
b37b2b77ed Remove old lsa set info policy call.
Guenther
2008-01-14 17:16:06 +01:00
Günther Deschner
99dd28da84 Remove more redundant lsa parsing functions.
Guenther
2008-01-14 15:51:50 +01:00
Günther Deschner
f2fb347345 Start removing hand-written lsa marshalling code (namely
rpccli_lsa_open_trusted_domain_by_name,
rpccli_lsa_query_trusted_domain_info_by_sid and
rpccli_lsa_query_trusted_domain_info_by_name).

Guenther
2008-01-14 15:29:43 +01:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Jeremy Allison
9300b92f7a r23400: Fix lsa crash bug #4683. The "names" enum struct
in a lookup_sidX reply isn't optional - like the
lookup_sidX query it needs to be defined in the
struct.
All this will go away with PIDL (thank goodness....).
Jerry - I think this is a showstopper to be merged
for 3.0.25b.
I'll be watching the build farm to see if anything broke.
Jeremy.
2007-10-10 12:23:13 -05:00
Jelmer Vernooij
5de76767e8 r18654: Rename "struct uuid" => "struct GUID" for consistency. 2007-10-10 11:52:19 -05:00
Günther Deschner
0fed66926f 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
2007-10-10 11:15:59 -05:00
Jeremy Allison
f1a362580a r13458: Add parsing functions - but stub internals for lookupnames3 and 4.
Jeremy.
2007-10-10 11:10:04 -05:00
Jeremy Allison
b57406c89f r13456: Add lsa_lookup_names2.
Jeremy.
2007-10-10 11:10:04 -05:00
Jeremy Allison
2274709587 r13455: Prepare to add lookupnames2.
Jeremy.
2007-10-10 11:10:04 -05:00
Jeremy Allison
a9e1d0f3b4 r13449: Ensure we don't crash if no dc struct on pipe.
Jeremy.
2007-10-10 11:10:04 -05:00
Jeremy Allison
a164cfab42 r13447: Added LSA_LOOKUPSIDS2 and LSA_LOOKUPSIDS3.
Jeremy.
2007-10-10 11:10:03 -05:00
Gerald Carter
17e63ac4ed r13316: Let the carnage begin....
Sync with trunk as off r13315
2007-10-10 11:06:23 -05:00
Gerald Carter
939c3cb5d7 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
2007-10-10 11:04:48 -05:00
Günther Deschner
5125852939 r7391: - Added client-support for various lsa_query_trust_dom_info-calls and a
rpcclient-tester for some info-levels.

  Jerry, I tried to adopt to prs_pointer() where possible and to not
  interfere with your work for usrmgr.

- Add "net rpc trustdom vampire"-tool.

  This allows to retrieve Interdomain Trust(ed)-Relationships from
  NT4-Servers including cleartext-passwords (still stored in the local
  secrets.tdb).

  The net-hook was done in cooperation with Lars Mueller
  <lmuelle@suse.de>.

  To vampire trusted domains simply call:

        net rpc trustdom vampire -S nt4dc -Uadmin%pass

Guenther
2007-10-10 10:57:07 -05:00
Gerald Carter
9727d05241 r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1 2007-10-10 10:57:02 -05:00
Gerald Carter
efb3ac4c69 r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
Tested client and server code.
2007-10-10 10:56:30 -05:00
Gerald Carter
0e29dc8aa3 r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
* 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.
2007-10-10 10:56:20 -05:00
Gerald Carter
4e0ac63c36 r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
2007-10-10 10:56:15 -05:00