Skip to content
Snippets Groups Projects
Commit 4fdd533a authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Update LDAP_URL_ERR_ handling.

parent 17083675
No related branches found
No related tags found
No related merge requests found
......@@ -834,18 +834,42 @@ search_ldap_url(
syslog( LOG_ALERT,
"Not an LDAP URL: %s", url );
break;
case LDAP_URL_ERR_NODN:
case LDAP_URL_ERR_BADENCLOSURE:
syslog( LOG_ALERT,
"Missing DN in URL: %s", url );
"Bad Enclosure in URL: %s", url );
break;
case LDAP_URL_ERR_BADURL:
syslog( LOG_ALERT,
"Bad URL: %s", url );
break;
case LDAP_URL_ERR_BADHOST:
syslog( LOG_ALERT,
"Host is invalid in URL: %s", url );
break;
case LDAP_URL_ERR_BADATTRS:
syslog( LOG_ALERT,
"Attributes are invalid in URL: %s", url );
break;
case LDAP_URL_ERR_BADSCOPE:
syslog( LOG_ALERT,
"Scope string is invalid in URL: %s", url );
"Scope is invalid in URL: %s", url );
break;
case LDAP_URL_ERR_BADFILTER:
syslog( LOG_ALERT,
"Filter is invalid in URL: %s", url );
break;
case LDAP_URL_ERR_BADEXTS:
syslog( LOG_ALERT,
"Extensions are invalid in URL: %s", url );
break;
case LDAP_URL_ERR_MEM:
syslog( LOG_ALERT,
"Out of memory parsing URL: %s", url );
break;
case LDAP_URL_ERR_PARAM:
syslog( LOG_ALERT,
"bad parameter parsing URL: %s", url );
break;
default:
syslog( LOG_ALERT,
"Unknown error %d parsing URL: %s",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment