]> git.sur5r.net Git - openldap/commitdiff
Update LDAP_URL_ERR_ handling.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 19 Jul 1999 19:48:23 +0000 (19:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 19 Jul 1999 19:48:23 +0000 (19:48 +0000)
clients/mail500/main.c

index 45676568f16747a01de3c16a0eca926f581fa06d..a5b7e77ab7ede2bcbd19eafa99499d9963e1e76f 100644 (file)
@@ -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",