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

1231 Commits

Author SHA1 Message Date
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