1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

750 Commits

Author SHA1 Message Date
Jelmer Vernooij
dd7e5ed88c r26352: Don't make lp_load create a new context.
(This used to be commit d0d5c1a823a6601292c061dba2b6f4bde2b9e3dd)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
a48fdda5fe r26339: Make loadparm talloc-allocated.
(This used to be commit 1e02cd8db1d65ff72b747833904a10b47749b1fb)
2007-12-21 05:48:49 +01:00
Jelmer Vernooij
47554fd72e r26338: Fix parameter, typo.
(This used to be commit 2a005096dd41f66fd99577d6ca7eb3e0f1cb30f2)
2007-12-21 05:48:48 +01:00
Jelmer Vernooij
4c4323009f r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
c5bf20c5fe r26325: Remove use of global_loadparm in netif.
(This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
cc35894fb5 r26317: Fix typos.
(This used to be commit 4c7e3843a0e1a914b259526dcd3e50bd238816af)
2007-12-21 05:48:31 +01:00
Jelmer Vernooij
39ee38d9c1 r26316: Use contexts for conversion functions.
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21 05:48:30 +01:00
Andrew Bartlett
439f85c609 r26304: More work to remove silly error printouts.
Andrew Bartlett
(This used to be commit ba23dac0319f7c5ad89e5d79174520892027afdd)
2007-12-21 05:48:18 +01:00
Andrew Bartlett
c3c27fadc0 r26303: Fix up error reporting during the delete of previous entries in the
provision, and ignore 'no such entry' as an error (it is normal, and
just means the partition is compleatly empty).

Andrew Bartlett
(This used to be commit 1fb8c31a3da6fc07f55027f05dba5e03dcf8a4f7)
2007-12-21 05:48:18 +01:00
Andrew Bartlett
d8b9103111 r26302: Print the error string for failed rootdse searches.
Andrew Bartlett
(This used to be commit a7595d009a89fecd7723a1e356d5a58d687bdbb0)
2007-12-21 05:48:17 +01:00
Andrew Bartlett
f5860b5a85 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
(This used to be commit b0de08916e8cb59ce6a2ea94bbc9ac0679830ac1)
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
b038240ac7 r26275: return loadparm context in lp_load.
(This used to be commit d01f0f4c2037b531b3fd088060717f90e60471e9)
2007-12-21 05:48:01 +01:00
Jelmer Vernooij
5b357ca877 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
(This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
2007-12-21 05:47:50 +01:00
Jelmer Vernooij
1fbdd6ef1d r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
(This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
43696d2752 r26252: Specify loadparm_context explicitly when creating sessions.
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21 05:47:29 +01:00
Jelmer Vernooij
53ae9bc9f6 r26248: Check in SWIG output so SWIG is not required when running out of svn.
(This used to be commit 08501fbef38f81ce5ff4885a1696f9cb392fd631)
2007-12-21 05:47:26 +01:00
Jelmer Vernooij
5193e04368 r26247: Don't allow use of older SWIG versions.
(This used to be commit def0ae919b9b65e70124ee5bfcd70d3a22973a9b)
2007-12-21 05:47:25 +01:00
Andrew Bartlett
bb07e58531 r26246: Make it easier to debug assert()s in the provision, if messages are
suppressed with --quiet.  Hopefully this will be easier with python.

Andrew Bartlett
(This used to be commit f6e0e15fa5e2b0b7368ff945cc988579aaba0a6c)
2007-12-21 05:47:24 +01:00
Andrew Bartlett
a2a4aba5fd r26245: Make it easier to handle the LDAP backend, with it's differing needs,
by seperating the modules list into parts.  That way, we can remove
the modules that the backend will provide.

Andrew Bartlett
(This used to be commit d67e5c7896f6d3064298897ae4d3204498824b06)
2007-12-21 05:47:24 +01:00
Andrew Bartlett
cd1f19d7d3 r26244: Add a module (sans tests for the moment) that implements ranged
results, as used particularly by MMC's Active Directory Users and
Computers to list group members.

This may be used on any attribute, but is useful to obtain attributes
that may be lengthy in 'pages'.  The implementation presumes that
attributes will always be returned by the DB in the same order.

Andrew Bartlett
(This used to be commit c789a91e00b47b2f02513e97101b9606d00c6aaa)
2007-12-21 05:47:23 +01:00
Jelmer Vernooij
4f5adbdddf r26243: stdint.i requires swigarch.i
(This used to be commit d9391316a982cfff6b283e7d4a86103ec6fe370d)
2007-12-21 05:47:22 +01:00
Jelmer Vernooij
7bf6b95b1f r26242: Don't fail if swig is not available.
(This used to be commit 12debcceac6cca1d8c8e1f78a0c7772b944e9f8d)
2007-12-21 05:47:22 +01:00
Jelmer Vernooij
6c999cd123 r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
(This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21 05:47:15 +01:00
Jelmer Vernooij
da0640518f r26232: Provide replacement for stdint.i for users of older versions of swig.
(This used to be commit fb2150a07aa6460165efb4587c86ecc820cdeac0)
2007-12-21 05:47:10 +01:00
Jelmer Vernooij
51db4c3f3d r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack.
(This used to be commit ba75f1613a9aac69dd5df94dd8a2b37820acd166)
2007-12-21 05:47:05 +01:00
Jelmer Vernooij
2fa338cdc9 r26226: Avoid more uses of global_loadparm.
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
2007-12-21 05:47:02 +01:00
Jelmer Vernooij
181aab56d5 r26221: Add loadparm_context parameter to auth_context_create.
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
2007-12-21 05:46:58 +01:00
Jelmer Vernooij
4151cf9866 r26207: Only compile swig files if swig is available.
(This used to be commit cc5260971c4953ce742363b324ac3804c531e2dd)
2007-12-21 05:46:52 +01:00
Jelmer Vernooij
ef26c9a604 r26201: Build docs for the security module.
(This used to be commit 31073a9e4ecaee08b3e27631db620957df8adde6)
2007-12-21 05:46:48 +01:00
Jelmer Vernooij
f2f16b45b5 r26197: Add bindings for libsecurity.
(This used to be commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
2007-12-21 05:46:47 +01:00
Jelmer Vernooij
26ae331f75 r26191: Import custom test runner for subunit, rather than using trial, which is part of twisted.
(This used to be commit b0f808345f948c49ad46f34ba306ca8354393850)
2007-12-21 05:46:43 +01:00
Jelmer Vernooij
660077476f r26188: Now that swig output is pregenerated, allow building python code without swig installed.
(This used to be commit f97f82adbd2663cadcfc5522c809ce2e659fb42c)
2007-12-21 05:46:41 +01:00
Jelmer Vernooij
16325f1339 r26186: Generate SWIG files as part of autogen.sh
(This used to be commit 4429f8b87e057787df0748f93c842c9a634dada5)
2007-12-21 05:46:39 +01:00
Andrew Bartlett
c4d7646f29 r26139: Based on a report by Theodor Chirana, don't assert() on invalid
netbios names at this point, the calling order has changed, and we
have a more informative place to do it.

Andrew Bartlett
(This used to be commit 3136dccd542a72ecda0c73a91674383736571bb5)
2007-12-21 05:46:20 +01:00
Jelmer Vernooij
eaecbfa0e2 r26114: Allow keyword-arguments.
(This used to be commit 99c342641b865e37c9ee8dd280348b659076d1e5)
2007-12-21 05:46:09 +01:00
Jelmer Vernooij
c14de3fd89 r26100: Also check for SWIG.
(This used to be commit 1755adffecb8ed68047d6ad69087a680cc63ba8f)
2007-12-21 05:46:03 +01:00
Jelmer Vernooij
4e25ea3001 r26098: Make missing python no longer fatal.
(This used to be commit 9af2aeb22500baf65c11bc46c0051385911a8d67)
2007-12-21 05:46:02 +01:00
Jelmer Vernooij
dd2a4719df r26096: No longer include removed header
(This used to be commit 42738301b1c88ccf46405d6c9171b3ae082423bd)
2007-12-21 05:46:00 +01:00
Jelmer Vernooij
29cf3a93cc r26089: Move python detection to a separate file, and don't make it an error if it isn't available.
(This used to be commit 4e7709379de2fb9bf1eafd9ee9cbe10a0e6df51e)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
39adc2418a r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.
(This used to be commit cbf656ff054ab2b0b5ca81e1d4f16ac54c8098f1)
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
e5e2b64449 r26079: Some cleanups in the old SWIG wrappers: - remove old torture tests for LDB (replaced by a much more extensive test) - moved tool to bin directory
(This used to be commit d6d3b0ad7a789441c82cf30a640033a052921c37)
2007-12-21 05:45:56 +01:00
Jelmer Vernooij
d3a13a16ff r26076: Remove some SWIG code that is already commonly available.
(This used to be commit e6cd16d0fb3c7f0d4756c28b8c9300583910c4c6)
2007-12-21 05:45:54 +01:00
Jelmer Vernooij
f47bc82561 r26071: Move DCE/RPC SWIG bindings closer to the code they're wrapping.
(This used to be commit 93eba0a3a984e9cd08ab2cf74b409938c991824a)
2007-12-21 05:45:53 +01:00
Jelmer Vernooij
ea85165841 r26068: Import improved Python bindings for LDB, including tests.
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)
2007-12-21 05:45:51 +01:00
Jelmer Vernooij
dc2273ba37 r26006: Improve some dependencies.
(This used to be commit 28f05bb5ef9e727298f4b61e71c42a8703374b96)
2007-12-21 05:45:41 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21 05:45:40 +01:00
Andrew Bartlett
ef22b1a477 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
(This used to be commit 7771f59eadf7045d852e60aa365036da230b41b9)
2007-12-21 05:45:22 +01:00
Andrew Bartlett
8959af0a6f r25950: Enable seperate module to prevent subtree deletes.
Andrew Bartlett
(This used to be commit a71414ec3efd3e52a898b58bd2ea7d986518f531)
2007-12-21 05:45:15 +01:00
Andrew Bartlett
3f2ca10d2d r25940: Rework the samldb and templates handling.
Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules.  This moves them to a seperate templates.ldb.

In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search.  This
returns far more useful errors, which we now handle and report better.

The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain.  This function also returns better errors.

dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()

Andrew Bartlett
(This used to be commit f1ab90c88c782c693b41795d70368650806543b5)
2007-12-21 05:45:10 +01:00
Stefan Metzmacher
6c41194961 r25936: provision/newuser: don't try to set the 'memberOf' attribute
metze
(This used to be commit c6d959e52cf4b86a52e46402392f32450d3c3635)
2007-12-21 05:45:09 +01:00