summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 14:27:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-23 18:27:31 +0200
commit9b64073cf733588b75c3780f2c18728ff3009500 (patch)
tree9e0a2a4b0489d3322be1a1c06ec68f594d844143 /source3/groupdb
parent90cc5e72ba0cf4b5261be2f2aa9db87bd011fbb0 (diff)
downloadsamba-9b64073cf733588b75c3780f2c18728ff3009500.tar.gz
samba-9b64073cf733588b75c3780f2c18728ff3009500.tar.bz2
samba-9b64073cf733588b75c3780f2c18728ff3009500.zip
ldb/samba3: Support event context argument to ldb_init().
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c
index a162c194d6..143f4ed6cf 100644
--- a/source3/groupdb/mapping_ldb.c
+++ b/source3/groupdb/mapping_ldb.c
@@ -57,7 +57,7 @@ static bool init_group_mapping(void)
db_path = state_path("group_mapping.ldb");
- ldb = ldb_init(NULL);
+ ldb = ldb_init(NULL, NULL);
if (ldb == NULL) goto failed;
/* Ensure this db is created read/write for root only. */