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

903 Commits

Author SHA1 Message Date
Jelmer Vernooij
421bdd203e python: Provide PyAPI_DATA macro for older versions of Python (< 2.3). 2008-01-29 14:27:27 +01:00
Jelmer Vernooij
2a79cebfd9 Partially revert d64a2288a2 and 351c2e99ab to see if that fixes the build. 2008-01-29 13:10:43 +01:00
Jelmer Vernooij
079200b824 python: Use relative paths for registry. 2008-01-26 04:22:42 +01:00
Jelmer Vernooij
41571bbb93 python: Load smb.conf file for the provision tests. 2008-01-26 02:55:03 +01:00
Stefan Metzmacher
351c2e99ab configure: define HAVE_WORKING_PYTHON
metze
2008-01-25 15:46:54 +01:00
Jelmer Vernooij
f3ebaf0a0c python: Give precedence to Samba's syspath over the already set system one. 2008-01-25 12:16:13 +01:00
Jelmer Vernooij
64babbec22 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
04fe8c8aef python/provision: Reload secrets when necessary, fix unix names in mappings.
Pair programmed with Andrew.
2008-01-25 11:47:44 +01:00
Andrew Bartlett
5370484d25 Tidy up the last regresesions on the python smbscript, from my work
with Jelmer today.

The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.

Andrew Bartlett
2008-01-25 17:11:20 +11:00
Jelmer Vernooij
dff54ff043 python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
9173c678ef python: Add test for secretsdb_become_dc 2008-01-25 01:37:47 +01:00
Jelmer Vernooij
859cffed9d python: fix tests for check_all_substituted. 2008-01-25 01:30:43 +01:00
Jelmer Vernooij
688adcbb63 python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
Pair-programmed by Andrew and me using obby :-)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
59bb26772f python: Make SamDB.set_ntds_invocation_id take a string. 2008-01-25 00:51:09 +01:00
Jelmer Vernooij
e726ce5bc5 python: Add function to look for unsubsituted variables. 2008-01-24 22:18:27 +01:00
Jelmer Vernooij
c09efa7b77 python: Add bindings for SamDB.set_invocation_id(). 2008-01-24 22:08:39 +01:00
Jelmer Vernooij
d4d4120b71 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial 2008-01-24 22:00:07 +01:00
Andrew Bartlett
be5eb2da24 Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
Andrew Bartlett
2008-01-24 16:25:35 +11:00
Andrew Bartlett
ae2ea1bd0c Make the repl_meta_data module the default for domain controllers.
Andrew Bartlett
2008-01-24 16:17:45 +11:00
Andrew Bartlett
e8fb5da5a1 Use the repl_meta_data module by default.
This means that, except when we back onto LDAP, when it will be
replaced with the mapping backend, we will keep this codepath tested.

Andrew Bartlett
2008-01-24 14:28:25 +11:00
Andrew Bartlett
e9bb130d63 Kill another sub that the modules will handle for us. 2008-01-24 11:33:37 +11:00
Andrew Bartlett
f65e5c1644 Remove useless subs from the ejs provision
The less things we manually place into the templates, the easier the
conversion to python will be.

Andrew Bartlett
2008-01-24 11:26:21 +11:00
Jelmer Vernooij
1de69a772e Python: add some docstrings. 2008-01-24 01:06:19 +01:00
Jelmer Vernooij
a90f3e8c42 python: Support --no-pass. 2008-01-24 01:05:57 +01:00
Jelmer Vernooij
b3afde0f00 python: Add convenience function for getting command line loadparm context
and default to using system smb.conf.
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
4b057b9bff python: Fix init functions. 2008-01-21 03:54:43 +01:00
Jelmer Vernooij
77b400764e build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
to migrate to a new build system.
2008-01-21 03:54:42 +01:00
Andrew Bartlett
d822dfa017 Remove --ldap-base from the python provision script
(This is a merge from the ejs script)

Andrew Bartlett
2008-01-18 13:25:01 +11:00
Andrew Bartlett
2a418f3370 Add in a new module to handle instanceType
This code raided from the repl_meta_data module, which probably needs
to be downsized to just handling the replication data.

Andrew Bartlett
2008-01-18 10:13:43 +11:00
Andrew Bartlett
e77375758d provision: simplfy by removing old code to manually create baseDNs.
Previously, we would create the first record in the DB as an LDIF
file, with the expectation that the administrator would use slapadd to
create the database.

We now do everything over LDAP, which is far simpler, and allows the
LDB module chain to do its work, without special cases.

Also fix naming of the output schema when suggesting the comamnd line
to run ad2oLschema in provision-backend.

Andrew Bartlett
2008-01-17 12:00:27 +11:00
Jelmer Vernooij
5024249552 python: Build shared python modules for generic use. 2008-01-16 15:08:00 +01:00
Jelmer Vernooij
b4b12f00a7 python: Update status. 2008-01-15 01:08:30 +01:00
Jelmer Vernooij
7a00d48a47 python: Enable building of the wkssvc python bindings. 2008-01-14 20:14:53 +01:00
Jelmer Vernooij
567099b66d python: Compile in svcctl Python bindings. 2008-01-14 20:08:04 +01:00
Jelmer Vernooij
9c21773737 python: Convert winreg.py completely to rpc, use new RPC Python bindings. 2008-01-14 19:53:08 +01:00
Jelmer Vernooij
df7e349882 python: Work around the fact that there are two "security" modules now.
This well demonstrates the fact we need hierarchy.
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
0a039fabcb python: Add simple test for samr python code. 2008-01-14 19:53:08 +01:00
Jelmer Vernooij
dee64344fb python: Compile security module, handle uint. 2008-01-14 19:53:08 +01:00
Jelmer Vernooij
712274b9bd python: Move some convenience macros to a separate header rather than putting them in every generated py_* file. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
3dfcefd8ac python: Enable python bindings for samr and lsa interfaces. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
6cb78c7634 python: Build epmapper module. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
16fc69b843 python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
bd3e6c41c4 python: Fix python code for winreg, add test. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
f1a9fad83c python: Start building winreg module. 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
25a0cd091b python: Fix last bugs in rpcecho test. It passes now! 2008-01-14 19:53:07 +01:00
Jelmer Vernooij
b849b4a6c4 python: Fix deallocation bug in pytalloc. 2008-01-14 19:53:06 +01:00
Jelmer Vernooij
4c87af9531 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC. 2008-01-14 19:53:06 +01:00
Jelmer Vernooij
ebb78ea423 python: Fix rpcecho tests. 2008-01-14 19:53:06 +01:00
Jelmer Vernooij
5ee99ff31c pidl/python: Fix compilation of py_echo. 2008-01-14 19:53:06 +01:00
Jelmer Vernooij
9c038a7411 python: Allow wrapping pointers within talloc'ed memory that are not talloc contexts. 2008-01-14 19:53:05 +01:00