summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij10-16/+16
2010-10-24s4: Rename LIBSECURITY{_SESSION,} to libsecurity{_session,}Jelmer Vernooij1-1/+1
2010-10-23s4: Rename LIBEVENTS to libevents.Jelmer Vernooij3-3/+3
2010-10-23s4: Rename NDR_TABLE to ndr_table.Jelmer Vernooij1-1/+1
2010-10-23s4: Rename LIBNETIF to libnetif.Jelmer Vernooij1-24/+20
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-23ldb: Support using system pyldb library.Jelmer Vernooij1-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-23ldb: Install pkg-config file for pyldb.Jelmer Vernooij2-0/+14
2010-10-23ldb: Install pyldb-util as public library.Jelmer Vernooij1-2/+3
2010-10-23ldb:ldb.h - include a comment that the relax control is mainly used by the ↵Matthias Dieter Wallnöfer1-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-23s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer2-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-23ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵Matthias Dieter Wallnöfer2-2/+2
LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
2010-10-23s4 socket: increase the debuglevel to make add interface debug messages less ↵Kai Blin1-1/+1
verbose
2010-10-21ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"Matthias Dieter Wallnöfer1-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-21s4-ldb: make ldb_options_find() publicAndrew Tridgell3-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-21s4-events: LIBEVENTS depends on LIBSAMBA-UTILAndrew Tridgell1-1/+1
it needs it for the debug code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-ldb: make pyldb_util a private libraryAndrew Tridgell1-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-waf: don't depend directly on python modulesAndrew Tridgell2-2/+2
build rules should not list dependencies on python modules. Instead, if code needs the module it should use the python API import calls to access the module. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21s4-socket: make LIBNETIF a private libraryAndrew Tridgell1-5/+6
2010-10-21s4-events: make LIBEVENTS a private libraryAndrew Tridgell1-4/+5
2010-10-21s4-lib: make SMBPASSWD a private libraryAndrew Tridgell1-4/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21waf: replace the is_bundled option with private_libraryAndrew Tridgell1-1/+1
'private_library' better captures what we are trying to get at when we bundle a library
2010-10-21ldb:ldb_modules.c - if we don't find the associated dynamic object then ↵Matthias Dieter Wallnöfer1-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-21ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free"Matthias Dieter Wallnöfer1-3/+1
Didn't realise that this is already called by "ltdb_attributes_unload".
2010-10-21ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codesMatthias Dieter Wallnöfer1-1/+1
2010-10-20ldb:ldb_index.c - fix some memory leaksMatthias Dieter Wallnöfer1-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-20ldb:ldb_index.c - let "ldb_module_oom" generate the return codeMatthias Dieter Wallnöfer1-15/+8
2010-10-20ldb:ldb_cache.c - fix memory contexts and memory leaksMatthias Dieter Wallnöfer1-3/+4
2010-10-20ldb:ldb_tdb submodule - use "ldb_msg_new" where appropriateMatthias Dieter Wallnöfer2-12/+12
It is saver than a manual "talloc".
2010-10-20ldb:ldb_pack.c - remove superflous "message->elements = NULL"Matthias Dieter Wallnöfer1-1/+0
It's already marked at this at the beginning of the call.
2010-10-19ldb:"ldb_schema_attribute_by_name_internal" - support the whole unsigned int ↵Matthias Dieter Wallnöfer1-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-19s4-ldb: increase minor version for 2 new functionsAndrew Tridgell2-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-19s4-ldb: cope with NULL oid in controlsAndrew Tridgell2-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-19s4-ldb: added --relax cmdline optionAndrew Tridgell1-0/+9
this adds the relax control
2010-10-19s4-ldb: added ldb_req_mark_untrusted() and ldb_req_is_untrusted()Andrew Tridgell3-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-18ldb: always return PROTOCOL_ERROR if an operation is unsupportedMatthias Dieter Wallnöfer4-4/+4
That's exactly the behaviour of various LDAP servers.
2010-10-18ldb:"ldb_schema_attribute_by_name_internal" - switch back to 32bit countersMatthias Dieter Wallnöfer1-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-18ldb:ldb_tdb.c - fix up counter variablesMatthias Dieter Wallnöfer1-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-18ldb:ldb_tdb.c - improve the error outputsMatthias Dieter Wallnöfer1-13/+25
- Fix indentation - Include always the failing DN - Reorder the outputs to make them consistent
2010-10-18s4:"util_ldb" - remove some really unused dependanciesMatthias Dieter Wallnöfer2-2/+2
2010-10-18s4-ldb Add LDB_REQ_SET_LOCATION to help track handler useAndrew Bartlett4-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-18ldb Ensure we mark ongoing LDAP requests as PENDINGAndrew Bartlett1-0/+2
2010-10-18Revert "s4:dsdb - make the RELAX control private"Andrew Bartlett1-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-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2-2/+2
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2-2/+2
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-17s4:ldb-samba/ldb_wrap.c - fix indentation and trailing whitespacesMatthias Dieter Wallnöfer1-36/+36
2010-10-17s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used thereMatthias Dieter Wallnöfer1-0/+9
2010-10-16s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer1-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-16ldb:ldb.h - reorder controls/extended operationsMatthias Dieter Wallnöfer1-27/+28
This makes it easier to read
2010-10-16ldb:pyldb.c - remove pointless commentMatthias Dieter Wallnöfer1-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