]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/referral.c
Add ability to cache negative results and specify negative TTL on templates
[openldap] / servers / slapd / referral.c
index ce3e4529f216c8a5e5b43e64c8cfad39e1da21c6..4537420f3e54c55a82303a3ff8c30c0b9147c5f0 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2005 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -153,6 +153,7 @@ int validate_global_referral( const char *url )
 
        case LDAP_URL_ERR_BADSCHEME:
                /* not LDAP hence valid */
+               Debug( LDAP_DEBUG_CONFIG, "referral \"%s\": not LDAP.\n", url, 0, 0 );
                return 0;
 
        default: