Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-30 | s4-cmdline: make cmdline-credentials a private library | Andrew Tridgell | 1 | -1/+1 | |
2010-10-30 | s4-ldb: add explicit depenencies on ldb library in ldb modules | Andrew Tridgell | 1 | -2/+10 | |
ldb modules call module functions from the main ldb library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-30 | s4-ldb: create a private library ldb-cmdline | Andrew Tridgell | 1 | -5/+6 | |
this prevents duplicate linking of the cmdline support code | |||||
2010-10-26 | waf: Only specify vnum for non-private libraries. | Jelmer Vernooij | 1 | -2/+6 | |
2010-10-26 | waf: Stop automaticaly changing dashes to underscores in library names. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-25 | waf: moved the -Wl,-no-undefined flags to source4 and ldb | Andrew Tridgell | 1 | -0/+4 | |
moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104 | |||||
2010-10-24 | ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion with | Jelmer Vernooij | 2 | -7/+7 | |
'ldb' python module. | |||||
2010-10-24 | s4: Rename LIBCLI_LDAP to libcli_ldap. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-23 | waf: Rename some BUNDLED_ functios to PRIVATE_. | Jelmer Vernooij | 1 | -1/+1 | |
2010-10-23 | ldb: Support using system pyldb library. | Jelmer Vernooij | 1 | -8/+12 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104 | |||||
2010-10-23 | ldb: Install pkg-config file for pyldb. | Jelmer Vernooij | 2 | -0/+14 | |
2010-10-23 | ldb: Install pyldb-util as public library. | Jelmer Vernooij | 1 | -2/+3 | |
2010-10-23 | ldb:ldb.h - include a comment that the relax control is mainly used by the ↵ | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
OpenLDAP backend Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 23 16:40:04 UTC 2010 on sn-devel-104 | |||||
2010-10-23 | s4/ldb:introduce the LDB_CONTROL_PROVISION_OID control | Matthias Dieter Wallnöfer | 2 | -0/+33 | |
This control is exactly thought for the actions which previously were performed using the RELAX one. We agreed that the RELAX control will only remain for interactions with OpenLDAP. | |||||
2010-10-23 | ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵ | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH". | |||||
2010-10-21 | ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104 | |||||
2010-10-21 | s4-ldb: make ldb_options_find() public | Andrew Tridgell | 3 | -2/+231 | |
we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module | |||||
2010-10-21 | s4-ldb: make pyldb_util a private library | Andrew Tridgell | 1 | -1/+5 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-21 | waf: replace the is_bundled option with private_library | Andrew Tridgell | 1 | -1/+1 | |
'private_library' better captures what we are trying to get at when we bundle a library | |||||
2010-10-21 | ldb:ldb_modules.c - if we don't find the associated dynamic object then ↵ | Matthias Dieter Wallnöfer | 1 | -0/+1 | |
please close the handle Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 07:52:44 UTC 2010 on sn-devel-104 | |||||
2010-10-21 | ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free" | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
Didn't realise that this is already called by "ltdb_attributes_unload". | |||||
2010-10-21 | ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codes | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-10-20 | ldb:ldb_index.c - fix some memory leaks | Matthias Dieter Wallnöfer | 1 | -1/+6 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 20 13:11:49 UTC 2010 on sn-devel-104 | |||||
2010-10-20 | ldb:ldb_index.c - let "ldb_module_oom" generate the return code | Matthias Dieter Wallnöfer | 1 | -15/+8 | |
2010-10-20 | ldb:ldb_cache.c - fix memory contexts and memory leaks | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
2010-10-20 | ldb:ldb_tdb submodule - use "ldb_msg_new" where appropriate | Matthias Dieter Wallnöfer | 2 | -12/+12 | |
It is saver than a manual "talloc". | |||||
2010-10-20 | ldb:ldb_pack.c - remove superflous "message->elements = NULL" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
It's already marked at this at the beginning of the call. | |||||
2010-10-19 | ldb:"ldb_schema_attribute_by_name_internal" - support the whole unsigned int ↵ | Matthias Dieter Wallnöfer | 1 | -7/+5 | |
range Commit 8556602b048e825b35df314d6865f997823ec2bb wasn't quite right - it only restored the functionality on the positive integer range. This one however should now really support the whole unsigned range. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Oct 19 10:52:08 UTC 2010 on sn-devel-104 | |||||
2010-10-19 | s4-ldb: increase minor version for 2 new functions | Andrew Tridgell | 2 | -1/+229 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 19 01:27:44 UTC 2010 on sn-devel-104 | |||||
2010-10-19 | s4-ldb: cope with NULL oid in controls | Andrew Tridgell | 2 | -9/+11 | |
the ldap server will mark a control with a NULL oid in order to remove it. This prevents a O(n^2) cost in control handling. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-19 | s4-ldb: added --relax cmdline option | Andrew Tridgell | 1 | -0/+9 | |
this adds the relax control | |||||
2010-10-19 | s4-ldb: added ldb_req_mark_untrusted() and ldb_req_is_untrusted() | Andrew Tridgell | 3 | -0/+30 | |
these will be used to determine if a ldb request comes from an untrusted source. We want requests over ldap:// to be marked untrusted so we can reject unregistered controls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-10-18 | ldb: always return PROTOCOL_ERROR if an operation is unsupported | Matthias Dieter Wallnöfer | 4 | -4/+4 | |
That's exactly the behaviour of various LDAP servers. | |||||
2010-10-18 | ldb:"ldb_schema_attribute_by_name_internal" - switch back to 32bit counters | Matthias Dieter Wallnöfer | 1 | -4/+5 | |
Use the signed counter for the binary search but use an unsigned one for accessing the entry. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Oct 18 19:01:31 UTC 2010 on sn-devel-104 | |||||
2010-10-18 | ldb:ldb_tdb.c - fix up counter variables | Matthias Dieter Wallnöfer | 1 | -5/+8 | |
"find_element" returns an "int" since there is also the possibility that a certain element doesn't exist - then "-1" is returned. But beside this exception treat all other return values as unsigned. | |||||
2010-10-18 | ldb:ldb_tdb.c - improve the error outputs | Matthias Dieter Wallnöfer | 1 | -13/+25 | |
- Fix indentation - Include always the failing DN - Reorder the outputs to make them consistent | |||||
2010-10-18 | s4-ldb Add LDB_REQ_SET_LOCATION to help track handler use | Andrew Bartlett | 4 | -0/+14 | |
This greatly assists in debugging what is going on with the ldb handle, as it indicates where it was created. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 18 11:54:46 UTC 2010 on sn-devel-104 | |||||
2010-10-18 | ldb Ensure we mark ongoing LDAP requests as PENDING | Andrew Bartlett | 1 | -0/+2 | |
2010-10-18 | Revert "s4:dsdb - make the RELAX control private" | Andrew Bartlett | 1 | -6/+8 | |
This must be available to the OpenLDAP backend, to set the GUID values in some situations. We need a proper ACL mechanism to control the use or abuse of this control. This reverts commit 10adee89367cee9add993869280542418fb3d370. | |||||
2010-10-16 | s4:dsdb - make the RELAX control private | Matthias Dieter Wallnöfer | 1 | -8/+6 | |
This makes our LDAP much more secure and less error-prone. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104 | |||||
2010-10-16 | ldb:ldb.h - reorder controls/extended operations | Matthias Dieter Wallnöfer | 1 | -27/+28 | |
This makes it easier to read | |||||
2010-10-16 | ldb:pyldb.c - remove pointless comment | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104 | |||||
2010-10-16 | ldb:"ldb_dn_compare_base" - use "unsigned int" counters | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 13:54:13 UTC 2010 on sn-devel-104 | |||||
2010-10-16 | ldb:"ldb_dn_add_child" - use "unsigned int" counters | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2010-10-16 | ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counter | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
2010-10-16 | ldb:"ldb_dn_canonical" - use an "unsigned int" counter | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Convert it to use an "unsigned int" counter which represents the exact length of the DN components. | |||||
2010-10-13 | ldb: Only build LIBLDB_MAIN when building ldb itself. | Jelmer Vernooij | 1 | -8/+8 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104 | |||||
2010-10-13 | ldb:ldb_match.c - fix a counter type | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-10-13 | ldb: raise minor version number for new ldb_msg_match_error() function | Andrew Tridgell | 2 | -1/+227 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104 | |||||
2010-10-13 | s4-ldb: take advantage of ldb_match_msg_error() in more places | Andrew Tridgell | 4 | -8/+32 | |
this gives better error checking |