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

1231 Commits

Author SHA1 Message Date
Kai Blin
37ed9fbeee ldb: Get rid of a warning. 2008-01-11 11:12:36 +01:00
Jelmer Vernooij
874c00b1c1 ldap/python: Fix last tests. 2008-01-11 04:06:00 +01:00
Jelmer Vernooij
3558789079 ldb/python: Support comparing Dn's to strings. 2008-01-11 04:05:41 +01:00
Jelmer Vernooij
3a0d14f335 python/ldap: Fix a couple more tests. 2008-01-11 03:27:27 +01:00
Jelmer Vernooij
017aa400c7 Make a few more tests pass. 2008-01-11 03:27:27 +01:00
Jelmer Vernooij
0c27eabbc4 python/ldap: Get further. 2008-01-11 03:27:27 +01:00
Jelmer Vernooij
52f64afd43 python/ldap: Fix some tests. 2008-01-11 03:27:27 +01:00
Jelmer Vernooij
d7a3f9612c python: More work getting the LDAP test to compile again. 2008-01-11 03:27:27 +01:00
Jelmer Vernooij
74209fa6b0 python: Specify right arguments for the ldap test, fix some more calls. 2008-01-11 03:27:26 +01:00
Jelmer Vernooij
583881ae5a ldap/python: Fix some more calls. 2008-01-11 03:27:26 +01:00
Jelmer Vernooij
9eddc27f13 python/ldap: Support controls argument to ldb.search(). 2008-01-11 03:26:45 +01:00
Andrew Bartlett
597f9fe176 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-01-11 13:16:08 +11:00
Andrew Bartlett
8099facff9 Rework ldbsearch to avoid segfault when remote LDAP server returns
referrals.

Andrew Bartlett
2008-01-11 13:15:49 +11:00
Andrew Bartlett
c72c39326b Fix segfault when sorting LDAP replies on the client.
Andrew Bartlett
2008-01-11 12:47:51 +11:00
Jelmer Vernooij
b27e5a6853 python/ldap: Wrap parse_control_strings(). 2008-01-11 02:36:59 +01:00
Jelmer Vernooij
1ccbab81d7 ldb/python: Allow comparing a MessageElement to a list or a singleton. 2008-01-11 01:55:56 +01:00
Jelmer Vernooij
a8f90ed34c ldb/python: Implement __len__ for MessageElement. 2008-01-11 01:04:25 +01:00
Jelmer Vernooij
e6498a0780 python/ldb: Add __getitem__ implementation for LdbMessageElement. 2008-01-11 01:04:25 +01:00
Jelmer Vernooij
7a66d0eff6 r26701: ldb: Build and install python modules when possible. 2008-01-10 09:42:04 -06:00
Andrew Bartlett
0016231edd r26684: Trivial cleanup from Matthias Dieter Wallnöfer, from bug 5090
Andrew Bartlett
2008-01-06 23:27:02 -06:00
Jelmer Vernooij
f250bc18e9 r26641: ldb(Python): Remove some unnecessary {}'s. 2008-01-01 19:57:02 -06:00
Jelmer Vernooij
dc2a612927 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. 2007-12-30 10:51:07 -06:00
Jelmer Vernooij
108f6caffe r26623: python: Allow specifying URL rather than host name on the command-line. 2007-12-28 10:33:02 -06:00
Jelmer Vernooij
3f7bfef195 r26617: Load smb.conf. 2007-12-27 17:36:06 -06:00
Jelmer Vernooij
cc15136c1e r26615: Fix Python syntax 2007-12-27 17:36:05 -06:00
Andrew Bartlett
002ddc315f r26611: Tridge didn't write this...
Andrew Bartlett
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
5383cf8e69 r26584: Fix exception handling in ldb constructor. 2007-12-26 11:57:03 -06:00
Jelmer Vernooij
7008f90e03 r26582: Use the same swig flags everywhere. 2007-12-24 01:51:07 -06:00
Simo Sorce
f75ce8c20a r26581: Make ldb_wait uniform, so that it is easy to remove it completely from modules
later on.
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
1cf374eb31 r26577: Fix the standalone ldb build. 2007-12-24 01:51:06 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Simo Sorce
166195b487 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.
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
15038d9586 r26572: Fix warnings in the Python code. 2007-12-24 01:51:04 -06:00
Jelmer Vernooij
c550c03372 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.
2007-12-24 01:51:03 -06:00
Volker Lendecke
c1dd0af164 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 :-(((
2007-12-24 01:51:02 -06:00
Volker Lendecke
1d624c8b88 r26568: Revert r26482
Next attempt to fix the Samba3 torture breakage

Jelmer, can you please review this?

Thanks,

Volker
2007-12-24 01:51:02 -06:00
Jelmer Vernooij
485db76d84 r26567: Allow registering new ldb modules from python. 2007-12-24 01:51:02 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Jelmer Vernooij
e91fe76d29 r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}). 2007-12-21 05:51:57 +01:00
Andrew Bartlett
f4023b176e r26529: Indeed, this belongs in the schema module. Ranged results need to use
an attribute with ';' in the name.

Andrew Bartlett
2007-12-21 05:51:52 +01:00
Jelmer Vernooij
75cfb0d609 r26496: Move some provision functions to a new SamDB class, support setting session_info on a ldb context from python. 2007-12-21 05:50:50 +01:00
Jelmer Vernooij
85eeecf997 r26483: Merge ldb module dependency fixes, fix auth python module. 2007-12-21 05:50:41 +01:00
Jelmer Vernooij
ef029d950c 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... 2007-12-21 05:50:39 +01:00
Jelmer Vernooij
a71419a73a r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function. 2007-12-21 05:50:38 +01:00
Jelmer Vernooij
d7f0b12c9e r26480: Add utility class for testing LDB code. 2007-12-21 05:50:37 +01:00
Jelmer Vernooij
dbebb4ef47 r26475: Add ldb.set_credentials function. 2007-12-21 05:50:35 +01:00
Jelmer Vernooij
91cff7dad2 r26459: Build ildap module as shared module by default. 2007-12-21 05:50:26 +01:00
Jelmer Vernooij
e1d177c8c1 r26426: Remove uses of global_loadparm. 2007-12-21 05:49:52 +01:00