1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-11 08:23:49 +03:00
Commit Graph

753 Commits

Author SHA1 Message Date
Jelmer Vernooij
eba25f5d18 r26375: Move provision-independent utility function to main samba python module.
(This used to be commit 9d0ff47be0)
2007-12-21 05:49:10 +01:00
Jelmer Vernooij
b414ac5052 r26369: Start on tests for the upgrade python code.
(This used to be commit c4458d11c7)
2007-12-21 05:49:06 +01:00
Jelmer Vernooij
c926cddfad r26366: Import provision scripts in Python.
(This used to be commit 090c799f98)
2007-12-21 05:49:06 +01:00
Jelmer Vernooij
dd7e5ed88c r26352: Don't make lp_load create a new context.
(This used to be commit d0d5c1a823)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
a48fdda5fe r26339: Make loadparm talloc-allocated.
(This used to be commit 1e02cd8db1)
2007-12-21 05:48:49 +01:00
Jelmer Vernooij
47554fd72e r26338: Fix parameter, typo.
(This used to be commit 2a005096dd)
2007-12-21 05:48:48 +01:00
Jelmer Vernooij
4c4323009f r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22)
2007-12-21 05:48:41 +01:00
Jelmer Vernooij
c5bf20c5fe r26325: Remove use of global_loadparm in netif.
(This used to be commit e452cb2859)
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
cc35894fb5 r26317: Fix typos.
(This used to be commit 4c7e3843a0)
2007-12-21 05:48:31 +01:00
Jelmer Vernooij
39ee38d9c1 r26316: Use contexts for conversion functions.
(This used to be commit f6420d933b)
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 ba23dac031)
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 1fb8c31a3d)
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 a7595d009a)
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 b0de08916e)
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
b038240ac7 r26275: return loadparm context in lp_load.
(This used to be commit d01f0f4c20)
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 e52710d679)
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 c7eae1c784)
2007-12-21 05:47:39 +01:00
Jelmer Vernooij
43696d2752 r26252: Specify loadparm_context explicitly when creating sessions.
(This used to be commit 7280c1e941)
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 08501fbef3)
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 def0ae919b)
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 f6e0e15fa5)
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 d67e5c7896)
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 c789a91e00)
2007-12-21 05:47:23 +01:00
Jelmer Vernooij
4f5adbdddf r26243: stdint.i requires swigarch.i
(This used to be commit d9391316a9)
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 12debcceac)
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 5b29ef7c03)
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 fb2150a07a)
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 ba75f1613a)
2007-12-21 05:47:05 +01:00
Jelmer Vernooij
2fa338cdc9 r26226: Avoid more uses of global_loadparm.
(This used to be commit 6cbce47a3e)
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 a9a9634df8)
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 cc5260971c)
2007-12-21 05:46:52 +01:00
Jelmer Vernooij
ef26c9a604 r26201: Build docs for the security module.
(This used to be commit 31073a9e4e)
2007-12-21 05:46:48 +01:00
Jelmer Vernooij
f2f16b45b5 r26197: Add bindings for libsecurity.
(This used to be commit 8625cd403b)
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 b0f808345f)
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 f97f82adbd)
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 4429f8b87e)
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 3136dccd54)
2007-12-21 05:46:20 +01:00
Jelmer Vernooij
eaecbfa0e2 r26114: Allow keyword-arguments.
(This used to be commit 99c342641b)
2007-12-21 05:46:09 +01:00
Jelmer Vernooij
c14de3fd89 r26100: Also check for SWIG.
(This used to be commit 1755adffec)
2007-12-21 05:46:03 +01:00
Jelmer Vernooij
4e25ea3001 r26098: Make missing python no longer fatal.
(This used to be commit 9af2aeb225)
2007-12-21 05:46:02 +01:00
Jelmer Vernooij
dd2a4719df r26096: No longer include removed header
(This used to be commit 42738301b1)
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 4e7709379d)
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 cbf656ff05)
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 d6d3b0ad7a)
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 e6cd16d0fb)
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 93eba0a3a9)
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 fc3a8caef7)
2007-12-21 05:45:51 +01:00
Jelmer Vernooij
dc2273ba37 r26006: Improve some dependencies.
(This used to be commit 28f05bb5ef)
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 56dfcb4f2f)
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 7771f59ead)
2007-12-21 05:45:22 +01:00