summaryrefslogtreecommitdiff
path: root/source4/scripting/python
AgeCommit message (Collapse)AuthorFilesLines
2009-01-09Only do special DN tracking for normal DNs in OpenLDAP backend.Andrew Bartlett1-2/+2
This means trying (again, harder), not to do this for DN+Binary and DN+String attributes. Andrew Bartlett
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-07Display lsa string contents.Jelmer Vernooij1-2/+5
2009-01-06Fix typoMatthias Dieter Wallnöfer1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-8/+8
2009-01-05More work to have OpenLDAP accept the full AD schemaAndrew Bartlett1-2/+2
We need to avoid handling DN+Binary and DN+String with the refint module for now, as this is a currently unsupported syntax. Also rename entryTTL to avoid a conflict with the operational attribute of the same name. Andrew Bartlett
2008-12-29pyglue: fix the build with automatic dependeciesStefan Metzmacher1-1/+1
metze
2008-12-23samba.tests.samdb: Fix test after merger of samba.security andJelmer Vernooij1-1/+1
samba.dcerpc.security
2008-12-23pyldb: Fix segfault because of incorrect reference counting.Jelmer Vernooij1-0/+1
2008-12-22Add header for pyparam.Jelmer Vernooij1-1/+1
2008-12-22Remove includes of py_*.h, which are no longer generated.Jelmer Vernooij1-2/+0
2008-12-21Fix more tests, improve repr() functions for various Python types.Jelmer Vernooij2-8/+13
2008-12-21Simplify customization of pidl-generated Python modules.Jelmer Vernooij1-1/+1
2008-12-21Move tests for ParamFile.Jelmer Vernooij3-3/+37
2008-12-21Provide simple Python replacement for ParamFile, which currently existsJelmer Vernooij1-2/+51
with a lot of overhead.
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-1/+1
2008-12-21Fix more introduced regressions in new bindings.Jelmer Vernooij2-14/+6
2008-12-21Convert auth python module to "plain" C rather than using SWIG.Jelmer Vernooij2-2/+8
2008-12-21py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij6-30/+34
2008-12-21Implement some of the stubs in misc python module.Jelmer Vernooij1-12/+47
2008-12-20Use plain C implementation for misc Python module rather than SWIG.Jelmer Vernooij5-4236/+242
2008-12-20Support subtypes of ldb.Ldb.Jelmer Vernooij1-1/+1
2008-12-19Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2-44/+64
2008-12-19Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij1-2/+2
by Python2.3.
2008-12-19Move aggregate schema stub to it's own fileAndrew Bartlett1-0/+2
This should make it easier to import just the schema entries from the WSPP docs. Andrew Bartlett
2008-12-18Cope with slight changes in tdb API.Jelmer Vernooij1-31/+46
2008-12-18Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij1-1/+1
2008-12-18Handle different failure modes when we wipe the db in provisionAndrew Bartlett1-7/+8
We didn't handle the mode where we can't load the main sam.ldb due to the modules being 'wrong', and when we did remove the file, we didn't wipe the partitions.
2008-12-17s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference ↵Andrew Bartlett1-4/+5
depending on the backend This just changes the existing stratagy of loading different modules for the OpenLDAP backend to also include extended_dn_out_* When we provision the OpenLDAP backend, we make sure to include the 'deref' overlay (which must be made available by the OpenLDAP build) Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and ↵Andrew Bartlett1-1/+2
extended_dn_store. By splitting the module, the extended_dn_in and extended_dn_store moudles can use extended_dn_out to actually get the extended DN. This avoids code duplication. The extended_dn_out module also contains a client implementation of the OpenLDAP dereference control (draft-masarati-ldap-deref-00). This also introduces a new control 'DSDB_CONTROL_DN_STORAGE_FORMAT_OID' to ask the extended_dn_out module to return whatever the 'storage format' is. This allows us to work with both OpenLDAP (which performs a dereference at run time) and LDB (which stores the GUID and SID on disk). Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-10-30Fix installation of Samba 4 during merged build.Jelmer Vernooij1-1/+1
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij1-0/+2
2008-10-24Move pytalloc to talloc directory.Jelmer Vernooij3-104/+1
2008-10-21Fix rpcecho test.Jelmer Vernooij1-2/+1
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-20Fix blackbox tests on IPv6-only hosts.Jelmer Vernooij1-4/+15
2008-10-16Move the password_hash module up the module stack.Andrew Bartlett1-1/+2
This makes it operate in all partitions (minor), but more importantly places it above some other modules that implement some extra schema checks. (The linked_attributes module objects to unknown attributes, which inclues clearTextPassword, which we need internally but is not in the schema). Andrew Bartlett
2008-10-14Make check_*.m4 m4 library files just contain functions that can beJelmer Vernooij2-225/+0
executed from other m4 files.
2008-10-14Move tests for Python inside function.Jelmer Vernooij1-39/+56
2008-10-08Move all subunit files to lib directory.Jelmer Vernooij7-1243/+2
2008-10-08Import tests for subunit python module.Jelmer Vernooij5-0/+853
2008-09-30Enable winreg Python tests - authentication works now.Jelmer Vernooij1-1/+2
2008-09-27s4:provision: don't do the full provision in the become_dcStefan Metzmacher1-0/+2
metze
2008-09-21Fix DNs - only one more samba3sam test failing now.Jelmer Vernooij1-18/+28
2008-09-18Generate with 1.3.36.Jelmer Vernooij2-2/+2
2008-09-17Fix check.Jelmer Vernooij1-1/+1
2008-09-09Only try with -LPYTHONDIR/lib when python-config output didn't work.Jelmer Vernooij1-3/+8
(This used to be commit 62d76356c10b4223236425c4db32c2fc5105d155)
2008-09-09Attempt to correctly find python on host sunxVolker Lendecke1-2/+3
(This used to be commit 59b62280d27a9e0a72241e4b60022be07e4cbce2)
2008-09-08Make it clear that the MMR password can differ from the admin passswordAndrew Bartlett1-6/+8
In the future, we might simply randomly generate this, or allow the admin to specify it seperate to the admin password. However, both are highly sensitive, as they imply read access to the krbtgt. Andrew Bartlett (This used to be commit 57d19ad002c523fb9a09694e6710ab7f588d44ec)