1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1322 Commits

Author SHA1 Message Date
Simo Sorce
0a8b1fd092 Update homepages for talloc, tdb and ldb subprojects
(This used to be commit 8cb07814bc)
2008-02-25 14:03:07 -05:00
Jelmer Vernooij
738fd7fd50 Fix standalone ldb build modules.
(This used to be commit 0b133a30a2)
2008-02-25 17:33:28 +01:00
Jelmer Vernooij
584c4a518f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/header.pm
	source/build/smb_build/makefile.pm
	source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af064)
2008-02-25 12:58:09 +01:00
Stefan Metzmacher
e36b159e8c ldb_sqlite: fix the build
metze
(This used to be commit 14c8e3101c)
2008-02-21 15:52:32 +01:00
Andrew Bartlett
774fa12ac1 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 5cd3310b78)
2008-02-21 09:55:13 +11:00
Andrew Bartlett
49b3a48293 Until the new ldb changes land, make ldb_wait set the error string.
This makes it easier to track down which module only returned and
error code, but not the error string.

Andrew Bartlett
(This used to be commit c4d502f68f)
2008-02-21 09:53:11 +11:00
Jelmer Vernooij
7d7b74feb2 Allow building ldb as static library again \o/
(This used to be commit a57adcfdd3)
2008-02-20 12:17:18 +01:00
Jelmer Vernooij
39a817d310 Fix use of some modules (needed _PUBLIC_).
(This used to be commit ce332130ea)
2008-02-20 04:33:43 +01:00
Jelmer Vernooij
0020793515 Fix static module list generation for ldb.
(This used to be commit 92c1c0e913)
2008-02-20 03:40:44 +01:00
Jelmer Vernooij
995788536e Remove more function-based inits.
(This used to be commit b1a7810f3e)
2008-02-20 02:57:07 +01:00
Jelmer Vernooij
e3661a6181 Use function-based initialization for ildap backend.
(This used to be commit 46e5027f56)
2008-02-20 01:56:55 +01:00
Jelmer Vernooij
16109a40c0 Use struct-based rather than function-based initialization for ldb modules everywhere.
(This used to be commit 85c96a3258)
2008-02-20 01:54:32 +01:00
Jelmer Vernooij
71bc5acead Allow ldb backends without init function, use init function-less ldb modules.
(This used to be commit 141ee91272)
2008-02-20 01:37:53 +01:00
Jelmer Vernooij
b4017955e1 Merge branch 'v4-0-trivial' into v4-0-gmake3
Conflicts:

	source/build/smb_build/input.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
(This used to be commit bc11e3ef1c)
2008-02-18 22:25:19 +01:00
Jelmer Vernooij
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874a)
2008-02-18 20:04:18 +01:00
Jelmer Vernooij
b66ee2ed22 Move responsibilities of build.h to makefile.
(This used to be commit a43f6d37bc)
2008-02-16 18:38:02 +01:00
Jelmer Vernooij
e4af554c56 Revert "Allow LDB to be a static library again."
This reverts commit 16fd90d7a9.
(This used to be commit 9166e48944)
2008-02-16 16:02:47 +01:00
Jelmer Vernooij
5214f5a81f Allow LDB to be a static library again.
(This used to be commit 16fd90d7a9)
2008-02-16 15:40:55 +01:00
Jelmer Vernooij
18ef767085 Specify PICFLAG when compiling python modules.
(This used to be commit 981957165d)
2008-02-12 13:09:38 +01:00
Jelmer Vernooij
923d1ec2f4 Fix installation of python module for ldb and tdb.
(This used to be commit 6c9a8bf9f0)
2008-02-12 12:42:31 +01:00
Jelmer Vernooij
e84cd8d38b tdb/ldb: Use prefix in case DESTDIR is not set.
(This used to be commit ab19a8f627)
2008-02-12 02:15:09 +01:00
Jelmer Vernooij
9522586695 Create the required directories when installing Python code.
(This used to be commit 8ef36fe545)
2008-02-12 01:58:42 +01:00
Jelmer Vernooij
1529331b97 Avoid using setup.py for intsallation.
(This used to be commit 7b93e43dad)
2008-02-12 01:21:10 +01:00
Jelmer Vernooij
aa2fd8ee50 Manually compile python files rather than use setup.py.
(This used to be commit 056843a5c2)
2008-02-12 00:49:36 +01:00
Jelmer Vernooij
ecb987c97c Fix out of tree builds.
(This used to be commit 35c8ebdca2)
2008-02-11 23:51:59 +01:00
Jelmer Vernooij
08b3d3ee94 Move some more rules to rules.mk
(This used to be commit 2ff3f72fd2)
2008-02-11 22:14:31 +01:00
Jelmer Vernooij
3e0f0091e5 ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile.
(This used to be commit 6d54e9104d)
2008-02-11 21:54:13 +01:00
Jelmer Vernooij
1a2544a24c Fix tests.
(This used to be commit e4d7cd8ba7)
2008-02-09 19:16:44 +01:00
Jelmer Vernooij
93bb85d293 Split up tests a bit, output subunit.
(This used to be commit 501259ff31)
2008-02-09 19:04:14 +01:00
Jelmer Vernooij
8fdd13f18a Remove unused path update.
(This used to be commit 1868a42108)
2008-02-09 15:43:28 +01:00
Andrew Bartlett
bbf8aca01d Fix syntax in LDAP test
We don't get this far in the test at the moment however.

Andrew Bartlett
(This used to be commit c3098d5c52)
2008-02-08 13:23:45 +11:00
Jelmer Vernooij
c28c683208 ldb/python: Add bindings for schema functions.
(This used to be commit 9f6ea4692c)
2008-01-25 03:46:47 +01:00
Jelmer Vernooij
decdf5954d python: Add convenience function for getting command line loadparm context
and default to using system smb.conf.
(This used to be commit b3afde0f00)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
a259547786 build: Remove support for DESCRIPTION setting that is now unused.
(This used to be commit 91d7ba5202)
2008-01-22 18:49:51 +01:00
Jelmer Vernooij
cc984e4046 ldb/talloc/tdb: Use manually written pc file.
(This used to be commit c8947fda23)
2008-01-22 18:24:00 +01:00
Jelmer Vernooij
45eb6c5b8f ldb: Fix typo.
(This used to be commit da0952bdd6)
2008-01-22 17:34:44 +01:00
Jelmer Vernooij
1697f553f1 ldb: Increase version number to make it easier to create new Debian snapshots.
(This used to be commit 9a5cc88b09)
2008-01-22 17:13:39 +01:00
Jelmer Vernooij
03023c4f7d build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
to migrate to a new build system.
(This used to be commit 77b400764e)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
203d2b10bd ldb: Fix building python modules against system-provided ldb.
(This used to be commit 583ea85ae0)
2008-01-21 03:54:42 +01:00
Andrew Bartlett
d5fd15005c ldb_map objectClass munging: Don't hard-code 'extensibleObject'.
This allows objectClass munging to be removed, or modified to not
include adding an objectClass, or for that objectClass to be something
different.

Andrew Bartlett
(This used to be commit ee93b4e2ee)
2008-01-17 08:53:18 +11:00
Jelmer Vernooij
341ee607b3 ldap.py: Use constants where possible.
(This used to be commit 0885dc9f81)
2008-01-15 02:04:20 +01:00
Kai Blin
28a06a1b25 ldb: Get rid of a warning.
(This used to be commit 37ed9fbeee)
2008-01-11 11:12:36 +01:00
Jelmer Vernooij
1534a4034b ldap/python: Fix last tests.
(This used to be commit 874c00b1c1)
2008-01-11 04:06:00 +01:00
Jelmer Vernooij
79d466c373 ldb/python: Support comparing Dn's to strings.
(This used to be commit 3558789079)
2008-01-11 04:05:41 +01:00
Jelmer Vernooij
c01396dc24 python/ldap: Fix a couple more tests.
(This used to be commit 3a0d14f335)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
d2b96bbec0 Make a few more tests pass.
(This used to be commit 017aa400c7)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
da56ee66b0 python/ldap: Get further.
(This used to be commit 0c27eabbc4)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
5967746c31 python/ldap: Fix some tests.
(This used to be commit 52f64afd43)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
b344508ca3 python: More work getting the LDAP test to compile again.
(This used to be commit d7a3f9612c)
2008-01-11 03:27:27 +01:00
Jelmer Vernooij
410e8f8681 python: Specify right arguments for the ldap test, fix some more calls.
(This used to be commit 74209fa6b0)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
a785df0c0a ldap/python: Fix some more calls.
(This used to be commit 583881ae5a)
2008-01-11 03:27:26 +01:00
Jelmer Vernooij
1d8cdddcd0 python/ldap: Support controls argument to ldb.search().
(This used to be commit 9eddc27f13)
2008-01-11 03:26:45 +01:00
Andrew Bartlett
6a875cc852 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 597f9fe176)
2008-01-11 13:16:08 +11:00
Andrew Bartlett
f5277a3e21 Rework ldbsearch to avoid segfault when remote LDAP server returns
referrals.

Andrew Bartlett
(This used to be commit 8099facff9)
2008-01-11 13:15:49 +11:00
Andrew Bartlett
3dab82394e Fix segfault when sorting LDAP replies on the client.
Andrew Bartlett
(This used to be commit c72c39326b)
2008-01-11 12:47:51 +11:00
Jelmer Vernooij
1f4838b8a3 python/ldap: Wrap parse_control_strings().
(This used to be commit b27e5a6853)
2008-01-11 02:36:59 +01:00
Jelmer Vernooij
2466d2cc5e ldb/python: Allow comparing a MessageElement to a list or a singleton.
(This used to be commit 1ccbab81d7)
2008-01-11 01:55:56 +01:00
Jelmer Vernooij
c3695026e1 ldb/python: Implement __len__ for MessageElement.
(This used to be commit a8f90ed34c)
2008-01-11 01:04:25 +01:00
Jelmer Vernooij
9269db983d python/ldb: Add __getitem__ implementation for LdbMessageElement.
(This used to be commit e6498a0780)
2008-01-11 01:04:25 +01:00
Jelmer Vernooij
fd39d2050c r26701: ldb: Build and install python modules when possible.
(This used to be commit 7a66d0eff6)
2008-01-10 09:42:04 -06:00
Andrew Bartlett
bb93a7ed5e r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett
(This used to be commit 0016231edd)
2008-01-06 23:27:02 -06:00
Jelmer Vernooij
9987095378 r26641: ldb(Python): Remove some unnecessary {}'s.
(This used to be commit f250bc18e9)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
f4b30bebca r26631: ldb/python: Fix missing elements bug and memory leak. * Don't increase the PyDict_Next() counter - Python already does that for us. * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message elements.
(This used to be commit dc2a612927)
2007-12-30 10:51:07 -06:00
Jelmer Vernooij
405a20b44f r26623: python: Allow specifying URL rather than host name on the command-line.
(This used to be commit 108f6caffe)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
0098543d67 r26617: Load smb.conf.
(This used to be commit 3f7bfef195)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
18f9eaca07 r26615: Fix Python syntax
(This used to be commit cc15136c1e)
2007-12-27 17:36:05 -06:00
Andrew Bartlett
d80873665c r26611: Tridge didn't write this...
Andrew Bartlett
(This used to be commit 002ddc315f)
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
a822a14d1e r26584: Fix exception handling in ldb constructor.
(This used to be commit 5383cf8e69)
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
5e574b2b94 r26582: Use the same swig flags everywhere.
(This used to be commit 7008f90e03)
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 f75ce8c20a)
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 f1997dabed)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
9852e793bc r26577: Fix the standalone ldb build.
(This used to be commit 1cf374eb31)
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 ba8be2dfc0)
2007-12-24 01:51:06 -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 166195b487)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586)
2007-12-24 01:51:04 -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 c550c03372)
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 c1dd0af164)
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 1d624c8b88)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
fb021305e4 r26567: Allow registering new ldb modules from python.
(This used to be commit 485db76d84)
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebe)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
6e2459211d r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).
(This used to be commit e91fe76d29)
2007-12-21 05:51:57 +01:00
Andrew Bartlett
131c40a421 r26529: Indeed, this belongs in the schema module. Ranged results need to use
an attribute with ';' in the name.

Andrew Bartlett
(This used to be commit f4023b176e)
2007-12-21 05:51:52 +01:00
Jelmer Vernooij
b0360e3a86 r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python.
(This used to be commit 75cfb0d609)
2007-12-21 05:50:50 +01:00
Jelmer Vernooij
71e2cafe96 r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
20a6fcf726 r26482: Use shared library version of ldb, to make sure not every module ends up with its own private copy of ldb with its own list of modules...
(This used to be commit ef029d950c)
2007-12-21 05:50:39 +01:00
Jelmer Vernooij
cb62bbbb7c r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a)
2007-12-21 05:50:38 +01:00
Jelmer Vernooij
07beaf09c9 r26480: Add utility class for testing LDB code.
(This used to be commit d7f0b12c9e)
2007-12-21 05:50:37 +01:00
Jelmer Vernooij
0a01f50f98 r26475: Add ldb.set_credentials function.
(This used to be commit dbebb4ef47)
2007-12-21 05:50:35 +01:00
Jelmer Vernooij
2b021f7f59 r26459: Build ildap module as shared module by default.
(This used to be commit 91cff7dad2)
2007-12-21 05:50:26 +01:00
Jelmer Vernooij
aa32619c5c r26426: Remove uses of global_loadparm.
(This used to be commit e1d177c8c1)
2007-12-21 05:49:52 +01:00
Jelmer Vernooij
b8850f326b r26410: Remove unnecessary static.
(This used to be commit 13ae3108da)
2007-12-21 05:49:42 +01:00
Jelmer Vernooij
68dc2dc526 r26399: Use -O option for SWIG (less evil generated code).
(This used to be commit 3378b6a559)
2007-12-21 05:49:29 +01:00
Jelmer Vernooij
2e5f282a7e r26374: Remove dependency on dynconfig.
(This used to be commit a232a38d1c)
2007-12-21 05:49:09 +01:00
Jelmer Vernooij
6ee987ffa1 r26371: Fix typo.
(This used to be commit dcbacd9adb)
2007-12-21 05:49:08 +01:00
Jelmer Vernooij
b65dba2245 r26355: Eliminate global_loadparm in more places.
(This used to be commit 5d589a0d94)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
a72c5053c5 r26353: Remove use of global_loadparm.
(This used to be commit 17637e4490)
2007-12-21 05:48:57 +01:00
Andrew Bartlett
89144dfead r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
and therefore further improve debug output.

Andrew Bartlett
(This used to be commit 5e93ca2ea1)
2007-12-21 05:48:16 +01:00
Andrew Bartlett
dbf77b6405 r26299: Print out which module failed to initialise.
Andrew Bartlett
(This used to be commit 6628d9f843)
2007-12-21 05:48:15 +01:00
Jelmer Vernooij
9ebcd7a0df r26277: Move loadparm context higher up the stack.
(This used to be commit 38fa08310c)
2007-12-21 05:48:03 +01:00