Jelmer Vernooij
a925e22d7a
Remove duplicate Python bindings for dom_sid, security_descriptor and
...
security_token.
2008-12-21 18:03:27 +01:00
Jelmer Vernooij
4d811a8ef2
Remove libcli_smb SWIG bindings - only one (useless on its own) function was wrapped anyway.
2008-12-21 17:01:50 +01:00
Jelmer Vernooij
a32194033a
Move tests for ParamFile.
2008-12-21 16:39:17 +01:00
Jelmer Vernooij
f06b083ff3
Convert param Python module to "manual" C.
2008-12-21 16:32:47 +01:00
Jelmer Vernooij
676919872d
Provide simple Python replacement for ParamFile, which currently exists
...
with a lot of overhead.
2008-12-21 15:55:23 +01:00
root
cf9f2484b7
s3:loadparm/docs: Set default for "ldap ssl" to "start tls".
...
This has been discussed on samba-technical before.
3.3 and newer only!
Karolin
2008-12-21 08:55:30 +01:00
Karolin Seeger
cbb085b2a2
s3: loadparm: Clean-up list of parameters.
...
We don't need to list several combinations of lowercase and uppercase here.
Karolin
2008-12-21 08:23:39 +01:00
Jelmer Vernooij
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00
Jelmer Vernooij
f36ff0bac2
Include errors.i verbatim in security.i, as it's the only file still using it.
2008-12-21 05:35:39 +01:00
Jelmer Vernooij
263c6670fc
Convert credentials Python module to "manual" C - no SWIG used to generate
...
the C code.
2008-12-21 05:29:23 +01:00
Jelmer Vernooij
33ebc95591
Remove remaining fragments of SWIG code in pyldb.
2008-12-21 04:42:51 +01:00
Jelmer Vernooij
eeb25cf548
Fix more introduced regressions in new bindings.
2008-12-21 04:36:16 +01:00
Jelmer Vernooij
bfb29e94b1
Convert auth python module to "plain" C rather than using SWIG.
2008-12-21 03:37:31 +01:00
Jelmer Vernooij
2e7a6cb6bf
py: Fix initialisation of subtypes, fix segfaults.
2008-12-21 03:08:14 +01:00
Jelmer Vernooij
bd41b4579c
Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them.
2008-12-21 00:53:06 +01:00
Jelmer Vernooij
c1a9b68623
Create and use convenience function for creating new talloc-wrapping Python Objects, support subtypes of DCE/RPC interfaces properly
2008-12-21 00:37:31 +01:00
Jelmer Vernooij
64419f47da
Implement some of the stubs in misc python module.
2008-12-21 00:24:54 +01:00
Jelmer Vernooij
4051034829
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-21 00:11:50 +01:00
Jelmer Vernooij
42b7762f9b
Support custom constructors for pidl-created types and support types based on pidl-created types.
2008-12-21 00:09:30 +01:00
Jelmer Vernooij
13fa639a29
Use plain C implementation for misc Python module rather than SWIG.
2008-12-20 23:38:30 +01:00
Jelmer Vernooij
0d585a67ed
Support subtypes of ldb.Ldb.
2008-12-20 23:00:23 +01:00
Jelmer Vernooij
94ed43390c
Fix all pyldb tests except for modules.
2008-12-20 22:21:39 +01:00
Jelmer Vernooij
5688f9b13e
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-20 21:21:19 +01:00
Jelmer Vernooij
ec80992ef5
Fix tevent python module build as part of samba 4.
2008-12-20 21:19:48 +01:00
Jelmer Vernooij
9b16a5ac16
Merge branch 'master' of ssh://git.samba.org/data/git/samba into tevent-standalone
2008-12-20 20:33:02 +01:00
Jelmer Vernooij
28f80dbb7c
Stop using SWIG for ldb Python bindings.
2008-12-20 19:54:13 +01:00
Jelmer Vernooij
1f4bd4b82c
Fix standalone compilation of events library.
2008-12-20 19:23:30 +01:00
Jelmer Vernooij
383e7c4d16
Add missing files for standalone build.
2008-12-20 18:06:31 +01:00
Andrew Bartlett
f210fbe68b
Corrections to Microsoft's schema and the OpenLDAP mapping file
2008-12-20 16:43:48 +11:00
Andrew Bartlett
012a6524f7
Treat DN+STring as a binary string for now
...
This matches the way we work with DN+Binary. We need this for the
OpenLDAP backend.
Andrew Bartlett
2008-12-20 15:11:40 +11:00
Andrew Bartlett
18c095e5d8
Don't trust sscanf not to run off the end of the string
...
The memory allocations here are wasteful, but they do nicely ensure we
cannot walk off the end of the DATA_BLOB that might be a string, or
might be binary and might not be NULL terminated.
Andrew Bartlett
2008-12-20 14:44:39 +11:00
Andrew Bartlett
6488afaafe
Now store the GUID and SID from a DN over DRSUAPI into ldb.
...
Until the extended DN work was compleated, there was no way to store
the additional metadata.
Andrew Bartlett
2008-12-20 14:44:39 +11:00
Andrew Bartlett
dd5a4681e8
Fix compiler warning when parsing a SID in a data blob
2008-12-20 14:44:39 +11:00
Jeremy Allison
fcadf47a15
Add torture test for bug #5986 - streams rename, so we don't regress.
...
Jeremy.
2008-12-19 18:01:26 -08:00
Jelmer Vernooij
759a3bcc88
Merge branch 'pyregistry' of git://git.samba.org/jelmer/samba
...
Conflicts:
source4/lib/ldb/ldb_wrap.c
2008-12-19 23:55:45 +01:00
Jelmer Vernooij
9617a3945b
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-19 23:51:23 +01:00
Volker Lendecke
d26a34c22f
Extend the chain1 test with write&x
2008-12-19 23:49:43 +01:00
Jelmer Vernooij
0898b96d26
Reprocess LDB SWIG file.
2008-12-19 23:48:30 +01:00
Volker Lendecke
9915045a45
Add a torture test simulating Windows write behaviour
...
Jeremy, enjoy :-)
2008-12-19 23:44:41 +01:00
Volker Lendecke
32a7ecf5ce
Make smbclient "put" use cli_push
...
This should fill the TCP socket even beyond the smbclient io_bufsize, very much
like smbclient "get" should do it since 3.2
2008-12-19 23:33:55 +01:00
Jelmer Vernooij
89043bda3e
Depend on specific version of LDB, as the API seems to unstable
...
to predict that newer versions (even minor versions) are going to be be
backwards compatible :-(
2008-12-19 23:33:43 +01:00
Volker Lendecke
9f31468bd3
Add async cli_write_andx and cli_pull
2008-12-19 23:16:25 +01:00
Jeremy Allison
6eda98dd13
Fix bug #5986 - Editing a stream is broken (rename problems).
...
Jeremy.
2008-12-19 13:59:12 -08:00
Jelmer Vernooij
071a71e27f
Specify explicit path to tevent.h, compilation breaks without it for me.
2008-12-19 22:03:11 +01:00
Jelmer Vernooij
5076c64d43
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2008-12-19 21:47:45 +01:00
Jelmer Vernooij
6998ef4fe0
Avoid use of parentheses in Python import statements, as it's not supported by Python2.3.
2008-12-19 21:47:31 +01:00
Volker Lendecke
ae1d6020f0
Fix setting smb_len for huge write&x calls
2008-12-19 18:15:30 +01:00
Volker Lendecke
fa5f11279b
Add the cli_wct_ofs routine to calculate the offset for write&x
2008-12-19 18:12:44 +01:00
Volker Lendecke
ae0c6cff25
Remove the direct inbuf reference from construct_reply_common()
2008-12-19 18:08:47 +01:00
Volker Lendecke
13eefa7c43
Add a doxygen comment line I forgot to merge
2008-12-19 17:50:34 +01:00