]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-passwd/config.c
Sync with HEAD
[openldap] / servers / slapd / back-passwd / config.c
index 487cabc8d82a5c6cacc3b71fd1e6107378e9745e..a038c7034f4b4716e7f37e418b32ebcf9369d1da 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -37,7 +37,7 @@
 #include <ac/time.h>
 
 #include "slap.h"
-#include "external.h"
+#include "back-passwd.h"
 
 int
 passwd_back_db_config(
@@ -66,9 +66,7 @@ passwd_back_db_config(
 
        /* anything else */
        } else {
-               fprintf( stderr,
-"%s: line %d: unknown directive \"%s\" in passwd database definition (ignored)\n",
-                   fname, lineno, argv[0] );
+               return SLAP_CONF_UNKNOWN;
        }
 
        return( 0 );