userdb.c revision 12aad74464367f7e8be11eafe1af985bf7b1adec
/* Copyright (C) 2002-2003 Timo Sirainen */
#include "common.h"
#include "auth-module.h"
#include "userdb.h"
#include <stdlib.h>
#include <pwd.h>
#include <grp.h>
#ifdef HAVE_MODULES
#endif
struct userdb_module *userdbs[] = {
#ifdef USERDB_PASSWD
#endif
#ifdef USERDB_PASSWD_FILE
#endif
#ifdef USERDB_STATIC
#endif
#ifdef USERDB_VPOPMAIL
#endif
#ifdef USERDB_LDAP
#endif
#ifdef USERDB_SQL
#endif
};
struct userdb_module *userdb;
static char *userdb_args;
{
i_error("userdb(%s): Invalid UID field '%s'",
}
return (uid_t)-1;
}
}
{
i_error("userdb(%s): Invalid GID field '%s'",
}
return (gid_t)-1;
}
}
void userdb_preinit(void)
{
struct userdb_module **p;
i_fatal("USERDB environment is unset");
args++;
userdb = *p;
break;
}
}
#ifdef HAVE_MODULES
if (userdb_module != NULL) {
}
#endif
}
void userdb_init(void)
{
}
void userdb_deinit(void)
{
#ifdef HAVE_MODULES
if (userdb_module != NULL)
#endif
}