summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-22 16:36:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 18:18:30 +0200
commit507521d5a753aaa800bd0ca25beb509c0f20b9b4 (patch)
tree91c647f524088673a23277e338455014a1f9d6cf /src/providers/ldap
parent7ac513a054d76fa8b758fefbee5ba3467aeab48a (diff)
downloadsssd-507521d5a753aaa800bd0ca25beb509c0f20b9b4.tar.gz
sssd-507521d5a753aaa800bd0ca25beb509c0f20b9b4.tar.xz
sssd-507521d5a753aaa800bd0ca25beb509c0f20b9b4.zip
AUTOFS: Do not fail if search base is not provided
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/ldap_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index f0095b546..6484556bd 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -429,8 +429,8 @@ int ldap_get_autofs_options(TALLOC_CTX *memctx,
dp_opt_get_string(opts->basic, SDAP_AUTOFS_SEARCH_BASE)));
}
} else {
- DEBUG(SSSDBG_OP_FAILURE, ("Error: no autofs search base set\n"));
- return ENOENT;
+ DEBUG(SSSDBG_TRACE_FUNC, ("Search base not set, trying to discover it later "
+ "connecting to the LDAP server.\n"));
}
ret = sdap_parse_search_base(opts, opts->basic,