1 /* config.c - passwd backend configuration file routine */
4 * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
5 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
12 #include <ac/socket.h>
13 #include <ac/string.h>
20 passwd_back_db_config(
28 /* alternate passwd file */
29 if ( strcasecmp( argv[0], "file" ) == 0 ) {
33 "%s: line %d: missing filename in \"file <filename>\" line\n",
37 be->be_private = ch_strdup( argv[1] );
38 #else /* HAVE_SETPWFILE */
40 "%s: line %d: ignoring \"file\" option (not supported on this platform)\n",
42 #endif /* HAVE_SETPWFILE */
47 "%s: line %d: unknown directive \"%s\" in passwd database definition (ignored)\n",
48 fname, lineno, argv[0] );