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

884 Commits

Author SHA1 Message Date
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
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
Jelmer Vernooij
cf3664594d pidl/python: Support repr() for python types. 2008-01-14 19:53:05 +01:00
Jelmer Vernooij
9366ddba92 python: Add some utility functions for working with Python objects based on talloc pointers. 2008-01-14 19:53:04 +01:00
Jelmer Vernooij
9041e385fe python: Avoid overwriting flags for already found version of Python. 2008-01-13 14:59:16 +01:00
Jelmer Vernooij
e179db6d0f python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons. 2008-01-13 06:07:20 +01:00
Jelmer Vernooij
620ec69665 python: Fix initialization of variable. 2008-01-13 04:23:09 +01:00
Jelmer Vernooij
1fbc3a9f47 python: Try more possible flags.
The flags returned by python-config may be for gcc and may not work for other compilers.
2008-01-13 04:17:04 +01:00
Jelmer Vernooij
dec3f421be python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2. 2008-01-13 03:32:44 +01:00
Jelmer Vernooij
d6b06fc03e python: Fix typo. 2008-01-11 16:28:17 +01:00
Jelmer Vernooij
f056f62495 Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166. 2008-01-11 16:13:46 +01:00
Kai Blin
89d5b91d3c ejs: Remove cast to incompatible pointer. 2008-01-11 11:12:45 +01:00
Andrew Bartlett
53b51660ae Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-01-11 15:22:22 +11:00
Andrew Bartlett
f917ccec85 Use 'dn' less, as this is not a valid attribute in AD, and I want to
remove it from ldb.  It is not longer mapped against OpenLDAP.

Andrew Bartlett
2008-01-11 15:21:23 +11:00
Jelmer Vernooij
cbf3b74e5f Python: Update STATUS. 2008-01-11 04:07:14 +01:00
Jelmer Vernooij
bcd82a9ae3 python: Update STATUS. 2008-01-10 17:53:56 +01:00
Jelmer Vernooij
f08192750e r26687: python: Update status after feedback from abartlett. 2008-01-07 08:18:05 -06:00
Jelmer Vernooij
aa2adf3327 r26666: python: Prefer newer Python versions as they use const properly. 2008-01-05 08:06:04 -06:00
Jelmer Vernooij
f47044aacc r26658: pidl: Register Python modules. 2008-01-03 15:51:02 -06:00
Jelmer Vernooij
5c86cc6648 r26656: python: Add file documentating the status of the Python migration. 2008-01-03 15:27:01 -06:00
Jelmer Vernooij
8a97886e24 r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct. 2008-01-03 12:33:36 -06:00