summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-24 17:01:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:33 -0500
commit47843f2b64001552b4606b2a2ecd6cefbf3971ba (patch)
tree5ed6ade22373e758ff90f8e007a0c40fc938d4d6 /source4/lib/ldb
parentcdf218e270bb6e0e3e04419279292c80ed39fb98 (diff)
downloadsamba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.tar.gz
samba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.tar.bz2
samba-47843f2b64001552b4606b2a2ecd6cefbf3971ba.zip
r9591: - Remove empty file
- Fix a couple of typo's - Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h... (This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/README_gcov.txt2
-rw-r--r--source4/lib/ldb/samba/ldb_samba3.c29
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"
+