view src/auth/common.h @ 1035:fe49ece0f3ea HEAD

We have now separate "userdb" and "passdb". They aren't tied to each others in any way, so it's possible to use whatever user database with whatever password database. Added "static" userdb, which uses same uid/gid for everyone and generates home directory from given template. This could be useful with PAM, although insecure since everyone uses same uid. Not too well tested, and userdb/passdb API still needs to be changed to asynchronous for sql/ldap/etc lookups.
author Timo Sirainen <tss@iki.fi>
date Mon, 27 Jan 2003 03:33:40 +0200
parents d0845dca7eca
children bf89319ec557
line wrap: on
line source

#ifndef __COMMON_H
#define __COMMON_H

#include "lib.h"

#define MASTER_SOCKET_FD 0
#define LOGIN_LISTEN_FD 3

extern struct ioloop *ioloop;
extern int verbose;

#endif