1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-14 12:59:07 +03:00
Commit Graph

399 Commits

Author SHA1 Message Date
d2c70d24e1 py: Properly increase the reference counter of Py_None. 2009-01-06 04:13:57 +01:00
d22adc14a9 More work to have OpenLDAP accept the full AD schema
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
2009-01-05 12:38:47 +11:00
b719595fd6 pyglue: fix the build with automatic dependecies
metze
2008-12-29 08:42:03 +01:00
00b61ff2cf samba.tests.samdb: Fix test after merger of samba.security and
samba.dcerpc.security
2008-12-23 11:44:10 +01:00
8ce77a57cc pyldb: Fix segfault because of incorrect reference counting. 2008-12-23 05:36:27 +01:00
d58270c537 Add header for pyparam. 2008-12-22 04:38:57 +01:00
24b62772ab Remove includes of py_*.h, which are no longer generated. 2008-12-22 04:21:20 +01:00
2227860a79 Fix more tests, improve repr() functions for various Python types. 2008-12-21 23:05:35 +01:00
7e651c7ef3 Simplify customization of pidl-generated Python modules. 2008-12-21 21:10:40 +01:00
a32194033a Move tests for ParamFile. 2008-12-21 16:39:17 +01:00
676919872d Provide simple Python replacement for ParamFile, which currently exists
with a lot of overhead.
2008-12-21 15:55:23 +01:00
6efb7ff981 Fix various Python-related bugs. 2008-12-21 07:34:27 +01:00
eeb25cf548 Fix more introduced regressions in new bindings. 2008-12-21 04:36:16 +01:00
bfb29e94b1 Convert auth python module to "plain" C rather than using SWIG. 2008-12-21 03:37:31 +01:00
2e7a6cb6bf py: Fix initialisation of subtypes, fix segfaults. 2008-12-21 03:08:14 +01:00
64419f47da Implement some of the stubs in misc python module. 2008-12-21 00:24:54 +01:00
13fa639a29 Use plain C implementation for misc Python module rather than SWIG. 2008-12-20 23:38:30 +01:00
0d585a67ed Support subtypes of ldb.Ldb. 2008-12-20 23:00:23 +01:00
5076c64d43 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-12-19 21:47:45 +01:00
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
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
21702bfcde Cope with slight changes in tdb API. 2008-12-18 20:43:05 +00:00
61a2d5c878 Use plain Python C API for registry module, rather than SWIG. 2008-12-18 16:49:33 +00:00
7a5b6a2ea1 Handle different failure modes when we wipe the db in provision
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-18 17:17:56 +11:00
ebe1e923c8 s4:provision: use extended_dn_out_ldb or extended_dn_out_dereference 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-17 12:29:28 +11:00
1f28541a24 s4:dsdb: split extended_dn into extended_dn_in, extended_dn_out and 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-12-17 12:29:28 +11:00
c9f69f1436 Fix installation of Samba 4 during merged build. 2008-10-30 23:19:51 +01:00
8b06312f7e Eliminate another instance of global_loadparm. 2008-10-24 13:13:27 +02:00
0f043c197c Move pytalloc to talloc directory. 2008-10-24 02:52:51 +02:00
6069407ed1 Fix rpcecho test. 2008-10-21 14:23:42 +02:00
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
e549759efe Fix blackbox tests on IPv6-only hosts. 2008-10-20 10:18:02 +02:00
fc54ca014b Move the password_hash module up the module stack.
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-16 12:31:19 +11:00
79f1ba8754 Make check_*.m4 m4 library files just contain functions that can be
executed from other m4 files.
2008-10-14 22:37:10 +02:00
436346e3ad Move tests for Python inside function. 2008-10-14 22:26:39 +02:00
f9facb5120 Move all subunit files to lib directory. 2008-10-08 02:22:39 +02:00
3ecde315d3 Import tests for subunit python module. 2008-10-08 02:19:59 +02:00
7f1c02cd7a Enable winreg Python tests - authentication works now. 2008-09-30 15:24:46 +02:00
fae2fce47e s4:provision: don't do the full provision in the become_dc
metze
2008-09-27 02:12:22 +02:00
db6bd2a3d6 Fix DNs - only one more samba3sam test failing now. 2008-09-21 03:42:27 +02:00
6f6e42ce60 Generate with 1.3.36. 2008-09-18 23:55:50 +02:00
3b5330e909 Fix check. 2008-09-17 17:00:36 +02:00
4f266dff13 Only try with -LPYTHONDIR/lib when python-config output didn't work.
(This used to be commit 62d76356c1)
2008-09-09 23:49:07 +02:00
1d8973a82e Attempt to correctly find python on host sunx
(This used to be commit 59b62280d2)
2008-09-09 23:35:17 +02:00
ef9169bfa6 Make it clear that the MMR password can differ from the admin passsword
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 57d19ad002)
2008-09-08 15:09:06 +10:00
b76f383eef Use DIGEST-MD5 authentication for OpenLDAP replication
This avoids passing rootdn passwords or replicated data in cleartext
across the network.

Signed-of-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 67373c143a)
2008-09-08 14:39:54 +10:00
1929b2fb51 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit c273d63f94)
2008-09-04 12:49:29 +10:00
fbbe799e4e Regenerate SWIG file.
(This used to be commit e8ba65c4db)
2008-09-03 22:55:24 +02:00
24a9181f25 Avoid using version call for version string.
(This used to be commit 1897cef508)
2008-09-03 22:29:53 +02:00
9817f3d785 Add a setexpiry operation in samdb.py
This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4)
2008-08-30 07:32:44 +10:00