summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-17 12:48:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-18 14:28:40 +0200
commit2d89b52be8104261aa8f028f49210f016cbf4742 (patch)
treea8fa58b07b0efc5dae0652d7dbc79f99b88e5db4 /source3/groupdb
parent519458a2fa01ae7e8eadebbe1d7895740861c468 (diff)
downloadsamba-2d89b52be8104261aa8f028f49210f016cbf4742.tar.gz
samba-2d89b52be8104261aa8f028f49210f016cbf4742.tar.bz2
samba-2d89b52be8104261aa8f028f49210f016cbf4742.zip
Use separate make variables for libutil and libcrypto.
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping_ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/groupdb/mapping_ldb.c b/source3/groupdb/mapping_ldb.c
index 7ce879fb6e..1a6b99fa18 100644
--- a/source3/groupdb/mapping_ldb.c
+++ b/source3/groupdb/mapping_ldb.c
@@ -63,7 +63,7 @@ static bool init_group_mapping(void)
/* Ensure this db is created read/write for root only. */
ldb_set_create_perms(ldb, 0600);
- existed = file_exist(db_path, NULL);
+ existed = file_exist(db_path);
if (lp_parm_bool(-1, "groupmap", "nosync", False)) {
flags |= LDB_FLG_NOSYNC;
@@ -99,7 +99,7 @@ static bool init_group_mapping(void)
/* possibly upgrade */
tdb_path = state_path("group_mapping.tdb");
- if (file_exist(tdb_path, NULL) && !mapping_upgrade(tdb_path)) {
+ if (file_exist(tdb_path) && !mapping_upgrade(tdb_path)) {
unlink(state_path("group_mapping.ldb"));
goto failed;
}