diff options
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/README_gcov.txt | 2 | ||||
-rw-r--r-- | source4/lib/ldb/samba/ldb_samba3.c | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/source4/lib/ldb/README_gcov.txt b/source4/lib/ldb/README_gcov.txt index 02f090f69f..9684379c6e 100644 --- a/source4/lib/ldb/README_gcov.txt +++ b/source4/lib/ldb/README_gcov.txt @@ -25,7 +25,7 @@ You can also combine steps 2 to 4 like this: make -sf Makefile.ldb clean all test-tdb gcov Note that you should not expect 100% coverage, as some error paths -(such as memory allocation failures) are verr hard to trigger. There +(such as memory allocation failures) are very hard to trigger. There are ways of working around this, but they are quite tricky (they involve allocation wrappers that "fork and fail on malloc"). diff --git a/source4/lib/ldb/samba/ldb_samba3.c b/source4/lib/ldb/samba/ldb_samba3.c new file mode 100644 index 0000000000..6a7bfc6298 --- /dev/null +++ b/source4/lib/ldb/samba/ldb_samba3.c @@ -0,0 +1,29 @@ +/* + ldb database library - Samba3 compatibility backend + + Copyright (C) Jelmer Vernooij 2005 + + ** NOTE! The following LGPL license applies to the ldb + ** library. This does NOT imply that all of Samba is released + ** under the LGPL + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#include "includes.h" +#include "ldb/ldb_map/ldb_map.h" +#include "ldb/include/ldb.h" +#include "ldb/include/ldb_private.h" + |