1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-21 01:59:07 +03:00

14105 Commits

Author SHA1 Message Date
Andrew Bartlett
70cb5ac03c r26613: Add a function to write a DATA_BLOB into an LDAPString.
This respects the length set in the DATA_BLOB, rather than hoping to
see NULL termination of the data pointer.

(found testing the Ambigious Name Resolution code against OpenLDAP).

Andrew Bartlett
(This used to be commit bc0022e8c7357b126dc91a945f0e53e4e4108e7d)
2007-12-27 01:51:05 -06:00
Andrew Bartlett
f5bc88d40b r26612: Tests show that we don't need to use a callback.
Andrew Bartlett
(This used to be commit 66cb9601e75935c35fb432655e840a0d9022cbe1)
2007-12-27 01:51:04 -06:00
Andrew Bartlett
d80873665c r26611: Tridge didn't write this...
Andrew Bartlett
(This used to be commit 002ddc315fc03ea22083d9d8c87401073688fd29)
2007-12-27 01:51:04 -06:00
Andrew Bartlett
8ff2de3f29 r26610: Write out a memberof.conf, to run the memberof plugin on all linked
attributes, as found in the schema.

Index 'cn', as otherwise exact match searches on this attribute always
fail (need to figure out what is so special about cn in OpenLDAP).

Andrew Bartlett
(This used to be commit 5a4a2d10bc5729d4adac4b173b0dc05e2e076c32)
2007-12-26 22:21:01 -06:00
Andrew Bartlett
6ac5221680 r26609: Try a few more variatations to get the selftest to run against
OpenLDAP.

Andrew Bartlett
(This used to be commit ff77bd62ced5a5c46e7d8d7eae8c83a96ec9525a)
2007-12-26 22:21:01 -06:00
Jelmer Vernooij
222262b54e r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f602f770f55a1171174f11b922fed8e7)
2007-12-26 21:18:02 -06:00
Jelmer Vernooij
c4d3666ac2 r26607: Fix reading of values and subkeys in Samba 3 registry files.
(This used to be commit e3d7454ef70d6fe9a1ce34eaf57268bd5b713ccf)
2007-12-26 15:03:02 -06:00
Kai Blin
e0132b5602 r26606: masktest: Dynamically allocate strings.
(This used to be commit c38f3c6fe9c54339805490ab5ecd6b3d13a35bdb)
2007-12-26 11:57:10 -06:00
Kai Blin
278737ea81 r26605: masktest: Get rid of pstrings.
(This used to be commit d54fcf4f826d3c650c19eea9ccc45b786c6ae68a)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
40309ed662 r26604: Don't depend on Python just yet, since the code that uses it is ifdeffed out.
(This used to be commit b863fdf474503918f347883a578a8c6624fd615a)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
7d270f73bc r26603: Don't install no longer available upgrade script.
(This used to be commit 69e469d9e18659d70ed684338b472cd38d231f86)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
aa79008d4b r26602: Revert my previous commit as it only works with GNU make.
(This used to be commit ecd2d96c3173e4d2f77a1ca50f26a16ac7a313b1)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
3a3633be85 r26601: Remove existing files to prevent errors.
(This used to be commit 9427757ae2ceba987883ed322eb49eac0be6c079)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
251a4e0780 r26600: Provide dir variable with current basedir in Makefile.
(This used to be commit b06d3e1a52d6b71a1e3e7a9e0ecf69f3b899ae18)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7ff974a226 r26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Not tested yet as the test it is part of has been disabled because it's broken.
(This used to be commit 6b1e25b702847cd6662b4aece35692b099707b74)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
43a03b0fb4 r26598: Simplify the way Python tests are run.
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
327847b987 r26597: Attempt to provide alternative for hosts that don't have python-config.
(This used to be commit fa5d1923efe5c1dc7ef12757b41f8d8eafcb1288)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
533cc583ed r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df62240cae64d27a1920d878316f819fc)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
cea31e3216 r26595: Fix includes for hosts without gssapi as system header.
(This used to be commit 64203a6b7b98be59af192290b0106979c2b2f71a)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
e8bca8dd71 r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.
(This used to be commit 2d2674ad79330f59210408fd03e859afc01f40f2)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
7c146c42d2 r26593: - More work on the python versions of samba3dump and the samba3sam tests.
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
(This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
cc30cb5e24 r26592: Finish fixing the samba3dump script.
(This used to be commit 85679f3fc98238f90280f9f10d42550d71eeb918)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
3c22677a8c r26591: Get the first bits of samba3dump to work again.
(This used to be commit 3511027515f8ea860fbe46639d9169999646a297)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
8ada900ee6 r26590: Parsing routines for the smbpasswd file and idmap database.
(This used to be commit 0c14e16a2bc965d3319ca990089566bff98a47fe)
2007-12-26 11:57:06 -06:00
Kai Blin
a6caca9abc r26589: torture: Add non-const version of torture_tcase_add_simple_test
(This used to be commit 1ae9cde5105cc4349a44e6098e9393e06acaf95d)
2007-12-26 11:57:05 -06:00
Kai Blin
3c744ddd2c r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf681f076d175b9779d1c27b5f74a57c96)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
95b1f554b2 r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
(This used to be commit c7c4cf258ac7975b409d26c9386838d4780c756f)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
6c9a2a3c52 r26586: Rename fetch to get for consistency with the Python dictionary interface.
(This used to be commit fadab7c60bb6dc5746cb2ee16f9c86fa0e0cdf1a)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
59efa6e5d0 r26585: Fix samba3.python tests.
(This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
a822a14d1e r26584: Fix exception handling in ldb constructor.
(This used to be commit 5383cf8e69233b3cb7c1876f52644537e459dea6)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
9faf93c7b0 r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
(This used to be commit 4ff8f4e370d30bf6b0b2f548bca14a9b7e1317f6)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
5e574b2b94 r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a)
2007-12-24 01:51:07 -06:00
Simo Sorce
5a1433cae7 r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
(This used to be commit f75ce8c20aa2b466e9ee86fdf1702b2ffda10ddf)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
ac267899b4 r26579: Fix the typo that breaks the code coverage build.
(This used to be commit ad97efc480fc21d794f880abcd6c95827592986e)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
b3bbbd0f4e r26578: Ensure directory exists.
(This used to be commit c89c667ec2c5c8b4bbee821deaf8f55a4da2064b)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
9852e793bc r26577: Fix the standalone ldb build.
(This used to be commit 1cf374eb3125c66844f01d013016feaf99760582)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
1ab5bcfb93 r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
(This used to be commit 03270c5ffdb1476bef5eba846c2ea008111375fc)
2007-12-24 01:51:04 -06:00
Simo Sorce
2d400c1dd1 r26574: Do not call functions in the variable declaration, fix checking for tmp_ctx,
and also makes code more readable and debuggable.

Eliminate silly parenthesys.

Simo.
(This used to be commit 166195b487ffa51933f772a56f47f7f0d4c867eb)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
de9c8930a6 r26573: Fix warnings.
(This used to be commit 874f0ac0561e38a8c0ceda983f6c88c75ee29e9c)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24 01:51:03 -06:00
Volker Lendecke
784c22899f r26569: Jelmer tells me that ldb must inevitably be build as a shared library,
otherwise it will break.

Sorry for breaking Samba4.

I will have to look how we can fix Samba3 :-(((
(This used to be commit c1dd0af1642d7b15c623a76c13c3cf98fb3bd3da)
2007-12-24 01:51:02 -06:00
Volker Lendecke
9c32358ac7 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
(This used to be commit 1d624c8b883ffd44408da1d584dd063cef0edec9)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
fb021305e4 r26567: Allow registering new ldb modules from python.
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
f053e385ff r26566: Fix member provision when using python.
(This used to be commit e5573283df9e98bccc8eae227cf0f11367ecf084)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
249cc734ce r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
(This used to be commit 485d1fa3d17fe6cc7a0ecd80e8bac42d173bbb19)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
09f820f0bd r26564: More python bindings for registry code.
(This used to be commit f40fad9827d0e9567224bc1e64ea91e610a07a3f)
2007-12-24 01:51:01 -06:00