projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ad970f
)
Print out better message on operations error
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 19 Feb 2013 14:54:57 +0000
(09:54 -0500)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 19 Feb 2013 18:18:02 +0000
(13:18 -0500)
src/modules/rlm_ldap/rlm_ldap.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_ldap/rlm_ldap.c
b/src/modules/rlm_ldap/rlm_ldap.c
index
41e5967
..
58c7955
100644
(file)
--- a/
src/modules/rlm_ldap/rlm_ldap.c
+++ b/
src/modules/rlm_ldap/rlm_ldap.c
@@
-399,6
+399,11
@@
static int process_ldap_errno(ldap_instance *inst, LDAP_CONN **pconn,
case LDAP_CONSTRAINT_VIOLATION:
return LDAP_PROC_REJECT;
+ case LDAP_OPERATIONS_ERROR:
+ DEBUGW("Please set 'chase_referrals=yes' and 'rebind=yes'");
+ DEBUGW("See the ldap module configuration for details");
+ /* FALL-THROUGH */
+
default:
radlog(L_ERR, "rlm_ldap (%s): %s failed: %s",
inst->xlat_name, operation, ldap_err2string(ldap_errno));