diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-04-23 14:27:59 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-04-23 18:27:31 +0200 |
commit | 9b64073cf733588b75c3780f2c18728ff3009500 (patch) | |
tree | 9e0a2a4b0489d3322be1a1c06ec68f594d844143 /source3/groupdb | |
parent | 90cc5e72ba0cf4b5261be2f2aa9db87bd011fbb0 (diff) | |
download | samba-9b64073cf733588b75c3780f2c18728ff3009500.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c index a162c194d6e..143f4ed6cfd 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. */ |