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
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
64419f47da
Implement some of the stubs in misc python module.
2008-12-21 00:24:54 +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
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
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
0898b96d26
Reprocess LDB SWIG file.
2008-12-19 23:48:30 +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
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
Jelmer Vernooij
04bef7fe2a
Fix more tests.
2008-12-19 16:08:35 +00:00
Simo Sorce
af049ae83c
s4:cosmetic: Remove trailing tabs and spaces
2008-12-19 09:58:28 -05:00
Matthias Dieter Wallnöfer
dde0964d72
Small cosmetic LDB patch regarding return values.
...
It changes some "return 0" in "return LDB_SUCCESS"
2008-12-19 09:54:20 -05:00
Jelmer Vernooij
7f4e4df58d
Port over more functionality to new SWIGless Python module.
2008-12-19 13:41:44 +00:00
Jelmer Vernooij
263036a798
Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry
2008-12-19 12:03:17 +00:00
Jelmer Vernooij
e0672ae29b
Remove swig support from standalone ldb build.
2008-12-19 01:24:00 +00:00
Jelmer Vernooij
a57b1aa0f1
Initial work using manual Python bindings for LDB, rather than SWIG-generated ones.
2008-12-19 01:22:07 +00:00
Sreepathi Pai
43f232fcc9
Fix errors in MS-AD_Schema_Attributes_v20080618.txt
...
- Remove spurious line breaks
- Add missing attributeId from docs
- Remove incorrect multiple values of systemFlags
- Fix duplicate attributeId
- Fix schemaIdGuid syntax
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-19 10:56:09 +11:00
Stefan (metze) Metzmacher
a937a68826
Here's the prefixMap from w2k8.
...
We need to move 1.3.6.1.4.1.7165.4.1 and 1.3.6.1.4.1.7165.4.2 to the
end...(if we still need them, which we should avoid)
metze
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-12-19 10:55:56 +11:00
Tim Prouty
d031472227
s4: Fix include path to work with tevent
2008-12-18 15:03:37 -08:00
Andrew Bartlett
f52fc2f90e
Move aggregate schema stub to it's own file
...
This should make it easier to import just the schema entries from the
WSPP docs.
Andrew Bartlett
2008-12-19 09:51:42 +11:00
Andrew Bartlett
ff98d7f9ce
Fix failures setting a random password
...
The test in extract_pw_from_buffer was incorrect: It tested if the
first byte of the new password was 0 (a 1/256 chance for the random
passwords), not if the password was allocated.
Andrew Bartlett
2008-12-19 08:18:57 +11:00
Jelmer Vernooij
21702bfcde
Cope with slight changes in tdb API.
2008-12-18 20:43:05 +00:00
Jelmer Vernooij
7f148a2cf8
Fix Python event tests after rename to tevent.
2008-12-18 16:51:59 +00:00
Jelmer Vernooij
01c22153a9
Fix samba3sam test after removal of dom_sid IDL file.
2008-12-18 16:50:54 +00:00
Jelmer Vernooij
61a2d5c878
Use plain Python C API for registry module, rather than SWIG.
2008-12-18 16:49:33 +00:00
Jelmer Vernooij
49d522fe38
Add convenience macro for raising exceptions for NTSTATUS / WERROR.
2008-12-18 15:32:58 +00:00
Jelmer Vernooij
d14c860465
Merge branch 'master' of ssh://git.samba.org/data/git/samba into pyregistry
2008-12-18 14:54:57 +00:00
Stefan Metzmacher
fc31f2c526
s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with addresses
...
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4c2a113dd0
s4:librpc/rpc: remove we should not redo the name resolving for secondary tcp connections
...
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4f5b8b68d5
s4:libcli/wrepl: we don't need to resolve names
...
metze
2008-12-18 13:32:50 +01:00