1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
Günther Deschner
ec790d0397 Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Guenther
(This used to be commit 9e7d32e28c)
2008-02-27 17:09:02 +01:00
Günther Deschner
1affdac7ca Move MAX_LOOKUP_SIDS to lsa.idl.
Guenther
(This used to be commit 61da5b8c00)
2008-02-27 17:08:46 +01:00
Günther Deschner
eaeb55ee9f Move MAX_REF_DOMAINS to lsa.idl.
Guenther
(This used to be commit 8f54ba22d2)
2008-02-27 17:08:09 +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
57ab1fe21e w
(This used to be commit c22ec556b1)
2008-02-19 01:30:01 +01:00
Günther Deschner
d48f36819f Remove unused marshalling for LSA_LOOKUP_SIDS/2/3.
This also removes parse_lsa.c entirely.

Guenther
(This used to be commit f802ba035c)
2008-02-19 01:29:14 +01:00
Günther Deschner
196d84ad68 Remove unused marshalling for LSA_LOOKUP_NAMES/2/3/4
Guenther
(This used to be commit 6458ef3977)
2008-02-18 17:04:50 +01:00
Günther Deschner
ad5794ad5c Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.
Guenther
(This used to be commit 80e39330bf)
2008-02-14 15:29:51 +01:00
Günther Deschner
d64ae7328a Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.
Guenther
(This used to be commit 34c0e64026)
2008-02-14 15:11:35 +01:00
Günther Deschner
25bc71f117 Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.
Guenther
(This used to be commit 15b97d1aaf)
2008-02-14 14:40:27 +01:00
Günther Deschner
ff85aec193 Remove unused marshalling for LSA_ADDPRIVS and LSA_REMOVEPRIVS.
Guenther
(This used to be commit 5b700aba1a)
2008-02-14 14:01:49 +01:00
Günther Deschner
c6cd8ec909 Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Guenther
(This used to be commit 8125d8557f)
2008-02-14 13:53:27 +01:00
Günther Deschner
341e5ea3eb Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.
Guenther
(This used to be commit 004598bc13)
2008-02-14 13:13:09 +01:00
Günther Deschner
8f7cc004ff Remove unused marshalling for LSA_ENUM_ACCOUNTS.
Guenther
(This used to be commit 8c476ad516)
2008-02-14 01:34:34 +01:00
Günther Deschner
2600cb6b9b Remove unused marshalling for LSA_ENUM_TRUST_DOM.
Guenther
(This used to be commit 90b07714dd)
2008-02-13 00:37:19 +01:00
Günther Deschner
7303fce0e0 Remove unused LSA_CLOSE headers.
Guenther
(This used to be commit f995b1ddc7)
2008-02-11 20:52:33 +01:00
Günther Deschner
a473d10915 Remove unused marshalling for LSA_UNK_GET_CONNUSER.
Guenther
(This used to be commit 5550c5c387)
2008-02-11 20:49:50 +01:00
Günther Deschner
76f654e21c Remove unused marshalling for LSA_PRIV_GET_DISPNAME.
Guenther
(This used to be commit d853f4f263)
2008-02-11 19:16:05 +01:00
Günther Deschner
0e4088e626 Let rpccli_lsa_open_policy[2] be convenience wrappers around their pidl equivalents.
Guenther
(This used to be commit 4ca3b1c02e)
2008-02-11 17:50:18 +01:00
Günther Deschner
1042b0ce37 Remove unused marshalling for LSA_ENUM_PRIVS.
Guenther
(This used to be commit 793e5a608b)
2008-02-11 10:49:35 +01:00
Günther Deschner
7a425d69dd Remove unused marshalling for LSA_GETSYSTEMACCOUNT.
Guenther
(This used to be commit cf3a76bf19)
2008-02-08 22:54:37 +01:00
Günther Deschner
5120373cc8 Remove unused marshalling for LSA_SETSYSTEMACCOUNT.
Guenther
(This used to be commit ddefdc5bd7)
2008-02-08 22:51:58 +01:00
Günther Deschner
5c23f7d73c Remove unused marshalling for LSA_OPENACCOUNT.
Guenther
(This used to be commit bb8e77eb74)
2008-02-08 22:44:42 +01:00
Günther Deschner
ef01ceff89 Remove unused marshalling for LSA_CREATEACCOUNT.
Guenther
(This used to be commit c9a8baf507)
2008-02-08 22:38:34 +01:00
Günther Deschner
99a134a74e Remove unused marshalling for LSA_QUERY_INFO.
Guenther
(This used to be commit f193d7d944)
2008-02-08 10:26:37 +01:00
Günther Deschner
b13277ed4e Remove unused marshalling for LSA_QUERY_INFO2.
Guenther
(This used to be commit 0fac016d9d)
2008-02-08 10:16:08 +01:00
Günther Deschner
97ccb4f8a3 Remove unused marshalling for LSA_DELETE_OBJECT.
Guenther
(This used to be commit 3a32082ef5)
2008-02-04 22:12:41 +01:00
Günther Deschner
a1c2242f3f Remove unused marshalling for LSA_QUERY_SEC_OBJ.
Guenther
(This used to be commit 9b2aeeb369)
2008-02-04 22:12:41 +01:00
Günther Deschner
f1193f6603 Remove some unused structures from rpc_lsa.h.
Guenther
(This used to be commit a52066e608)
2008-01-25 17:22:04 +01:00
Günther Deschner
587a2dbf8d Merge lsarpc.idl from samba4 and rerun make idl.
Guenther
(This used to be commit d9c8a2271d)
2008-01-16 16:32:12 +01:00
Günther Deschner
862e1685b8 Remove old lsa set info policy call.
Guenther
(This used to be commit b37b2b77ed)
2008-01-14 17:16:06 +01:00
Günther Deschner
351377a90e Remove more redundant lsa parsing functions.
Guenther
(This used to be commit 99dd28da84)
2008-01-14 15:51:50 +01:00
Günther Deschner
c939441411 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
(This used to be commit f2fb347345)
2008-01-14 15:29:43 +01: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
Jeremy Allison
2e6deee020 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.
(This used to be commit 9300b92f7a)
2007-10-10 12:23:13 -05:00
Jelmer Vernooij
4e7d11449a r18654: Rename "struct uuid" => "struct GUID" for consistency.
(This used to be commit 5de76767e8)
2007-10-10 11:52:19 -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 0fed66926f)
2007-10-10 11:15:59 -05:00
Jeremy Allison
85160e654e r13458: Add parsing functions - but stub internals for lookupnames3 and 4.
Jeremy.
(This used to be commit f1a362580a)
2007-10-10 11:10:04 -05:00
Jeremy Allison
785c78b795 r13456: Add lsa_lookup_names2.
Jeremy.
(This used to be commit b57406c89f)
2007-10-10 11:10:04 -05:00
Jeremy Allison
e22d38bdde r13455: Prepare to add lookupnames2.
Jeremy.
(This used to be commit 2274709587)
2007-10-10 11:10:04 -05:00
Jeremy Allison
acc4a837aa r13449: Ensure we don't crash if no dc struct on pipe.
Jeremy.
(This used to be commit a9e1d0f3b4)
2007-10-10 11:10:04 -05:00
Jeremy Allison
06cf1e18e5 r13447: Added LSA_LOOKUPSIDS2 and LSA_LOOKUPSIDS3.
Jeremy.
(This used to be commit a164cfab42)
2007-10-10 11:10:03 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Gerald Carter
54abd2aa66 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)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Günther Deschner
4bc39f05b7 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
(This used to be commit 5125852939)
2007-10-10 10:57:07 -05:00
Gerald Carter
f24d88cf9d r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241)
2007-10-10 10:57:02 -05:00
Gerald Carter
b137b7cc47 r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
Tested client and server code.
(This used to be commit efb3ac4c69)
2007-10-10 10:56:30 -05:00
Gerald Carter
0aa89db947 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.
(This used to be commit 0e29dc8aa3)
2007-10-10 10:56:20 -05:00
Gerald Carter
5d1cb8e79e 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).
(This used to be commit 4e0ac63c36)
2007-10-10 10:56:15 -05:00