1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-23 11:33:16 +03:00
Commit Graph

381 Commits

Author SHA1 Message Date
Jelmer Vernooij
1e02cd8db1 r26339: Make loadparm talloc-allocated. 2007-12-21 05:48:49 +01:00
Jelmer Vernooij
2a005096dd r26338: Fix parameter, typo. 2007-12-21 05:48:48 +01:00
Jelmer Vernooij
eeb2251d22 r26327: Explicit loadparm_context for RPC client functions. 2007-12-21 05:48:41 +01:00
Jelmer Vernooij
e452cb2859 r26325: Remove use of global_loadparm in netif. 2007-12-21 05:48:37 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Andrew Bartlett
b0de08916e r26298: Use metze's schema loading code to pre-initialise the schema into the
samdb before we start writing entries into it.

In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).

We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.

When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works.  This required some ejs
glue.

Andrew Bartlett
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
d01f0f4c20 r26275: return loadparm context in lp_load. 2007-12-21 05:48:01 +01:00
Jelmer Vernooij
e52710d679 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess(). 2007-12-21 05:47:50 +01:00
Jelmer Vernooij
c7eae1c784 r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. 2007-12-21 05:47:39 +01:00
Jelmer Vernooij
7280c1e941 r26252: Specify loadparm_context explicitly when creating sessions. 2007-12-21 05:47:29 +01:00
Jelmer Vernooij
5b29ef7c03 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly. 2007-12-21 05:47:15 +01:00
Jelmer Vernooij
ba75f1613a r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack. 2007-12-21 05:47:05 +01:00
Jelmer Vernooij
6cbce47a3e r26226: Avoid more uses of global_loadparm. 2007-12-21 05:47:02 +01:00
Jelmer Vernooij
a9a9634df8 r26221: Add loadparm_context parameter to auth_context_create. 2007-12-21 05:46:58 +01:00
Jelmer Vernooij
28f05bb5ef r26006: Improve some dependencies. 2007-12-21 05:45:41 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Andrew Bartlett
7771f59ead r25966: Don't force an 8 byte width to generated SIDs, as this can actually
end up with a SID with a space in it.

Andrew Bartlett
2007-12-21 05:45:22 +01:00
Stefan Metzmacher
f8bc6b9ad0 r25839: use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze
2007-12-21 05:44:20 +01:00
Stefan Metzmacher
74f5a69022 r25831: remove unused include
metze
2007-12-21 05:44:17 +01:00
Stefan Metzmacher
d2726e7609 r25752: use EJS_CHECK() instead of NDR_CHECK()
metze
2007-12-21 05:43:44 +01:00
Stefan Metzmacher
14ca6a8bf9 r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
2007-12-21 05:43:43 +01:00
Jelmer Vernooij
262c1c23a6 r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes. 2007-12-21 05:43:00 +01:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
89c8fd8c02 r25536: Fix path for messaging - this code path doesn't appear to have a test, otherwise it would've caused a crash in the testsuite earlier... 2007-10-10 15:07:49 -05:00
Jelmer Vernooij
12d7cccd7c r25462: Remove refernece to categories from js as well. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
01ce5448f4 r25460: use common structure in param/generic.c 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
c62f51cc28 r25392: Add loadparm context as argument in a couple more places. 2007-10-10 15:07:24 -05:00
Jelmer Vernooij
091961b13b r25379: Use loadparm context parameter in a lot more places. 2007-10-10 15:07:22 -05:00
Jelmer Vernooij
935ac3189d r25266: Fix case. 2007-10-10 15:07:02 -05:00
Stefan Metzmacher
32bb276920 r25214: use talloc_strndup_append() instead of talloc_append_string()
and ugly hacks to handle the string termination.

metze
2007-10-10 15:06:55 -05:00
Jeremy Allison
0844dbf597 r25175: Change to talloc_asprintf_append_buffer().
Jeremy.
2007-10-10 15:06:46 -05:00
Stefan Metzmacher
d0ada02532 r25113: fix compiler warning
metze
2007-10-10 15:06:41 -05:00
Andrew Bartlett
cda965e908 r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Jelmer Vernooij
925abf74fa r24994: Fix some C++ warnings. 2007-10-10 15:05:26 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Jelmer Vernooij
67ad556b73 r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
2007-10-10 15:02:50 -05:00
Jelmer Vernooij
7a1eec6358 r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:

 * proper layering (finally!) for the registry library. Distinction is
   now made between 'real' backends (local, remote, wine, etc) and
   the low-level hive backends (regf, creg, ldb, ...) that are only used
   by the local registry backend
 * tests for all important hive and registry operations
 * re-enable RPC-WINREG tests (still needs more work though, as
							   some return values aren't checked yet)
 * write support for REGF files
 * dir backend now supports setting/reading values, creating keys
 * support for storing security descriptors
 * remove CREG backend as it was incomplete, didn't match the data model
   and wasn't used at all anyway
 * support for parsing ADM files as used by the policy editor (see lib/policy)
 * support for parsing PREG files (format used by .POL files)
 * new streaming interface for registry diffs (improves speed and memory usage
	for regdiff/regpatch significantly)

   ... and fixes a large number of bugs in the registry code
2007-10-10 15:02:34 -05:00
Stefan Metzmacher
cb234d43ae r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
and rename the containing functions to have a ndr_
prefix

metze
2007-10-10 15:02:23 -05:00
Stefan Metzmacher
84651aee81 r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
4adbebef5d r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
abd5551aab r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
2007-10-10 15:02:11 -05:00
Andrew Bartlett
68bdbd732f r24012: Remove duplicate code block (from bad merge).
Andrew Bartlett
2007-10-10 15:01:18 -05:00
Andrew Bartlett
d61061052d r23966: It isn't great, but at least now we have some access control in SWAT
This patch prevents non-root and non-administrator users from running
the provision, upgrade and vampire pages.  *I think* the rest of SWAT
is LDB operations, or otherwise authenticated, so we should now be
secure.

I wish I had a better way to 'prove' we got this right, but this is better than nothing, and moves us closer to an alpha.

Andrew Bartlett
2007-10-10 15:01:13 -05:00