userdb-passdb.c revision b42f37ae6f65ed986315b6885568d32115e589b1
/* Copyright (C) 2004 Timo Sirainen */
#include "common.h"
#ifdef USERDB_PASSDB
#include "str.h"
#include "var-expand.h"
#include "userdb.h"
#include <stdlib.h>
{
const char *const *args;
"passdb didn't return userdb entries");
return;
}
t_push();
/* export the request. keep all keys starting with userdb_ but strip
the userdb_ away. */
"\t");
continue;
arg += 7;
break;
break;
} else {
}
}
if (!uid_seen) {
"userdb_uid not returned");
}
if (!gid_seen) {
"userdb_gid not returned");
}
else {
struct auth_stream_reply *reply;
/* import the string into request. since the values were
exported they are already in escaped form in the string. */
}
t_pop();
}
struct userdb_module_interface userdb_passdb = {
"passdb",
NULL,
NULL,
NULL,
};
#endif