#include <pwd.h>#include <stdarg.h>Go to the source code of this file.
Data Structures | |
| struct | uam_export |
| struct | session_info |
Functions | |
| UAM_MODULE_EXPORT int | uam_register (const int, const char *, const char *,...) |
| UAM_MODULE_EXPORT void | uam_unregister (const int, const char *) |
| UAM_MODULE_EXPORT struct passwd * | uam_getname (void *, char *, const int) |
| helper functions for plugin uams | |
| UAM_MODULE_EXPORT int | uam_checkuser (void *, const struct passwd *) |
| UAM_MODULE_EXPORT int | uam_afp_read (void *, char *, size_t *, int(*)(void *, void *, const int)) |
| UAM_MODULE_EXPORT int | uam_afpserver_option (void *, const int, void *, size_t *) |
| #define SESSIONKEY_LEN 64 |
| #define SESSIONTOKEN_LEN 8 |
| #define UAM_MODULE_CLIENT 2 |
| #define UAM_MODULE_EXPORT |
| #define UAM_MODULE_SERVER 1 |
| #define UAM_MODULE_VERSION 1 |
| #define UAM_NEED_LIBGCRYPT_VERSION NULL |
| #define UAM_OPTION_CLIENTNAME (1 << 8) |
get client IP address
| #define UAM_OPTION_COOKIE (1 << 6) |
cookie handle
| #define UAM_OPTION_FQDN (1 << 14) |
fully qualified name
| #define UAM_OPTION_GUEST (1 << 1) |
get guest user
| #define UAM_OPTION_HOSTNAME (1 << 5) |
get host name
| #define UAM_OPTION_KRB5REALM (1 << 13) |
krb realm
| #define UAM_OPTION_KRB5SERVICE (1 << 9) |
service name for krb5 principal
| #define UAM_OPTION_MACCHARSET (1 << 10) |
mac charset handle
| #define UAM_OPTION_PASSWDOPT (1 << 2) |
get the password file
| #define UAM_OPTION_RANDNUM (1 << 4) |
request a random number
| #define UAM_OPTION_SESSIONINFO (1 << 12) |
unix charset handle
| #define UAM_OPTION_SIGNATURE (1 << 3) |
get server signature
| #define UAM_OPTION_UNIXCHARSET (1 << 11) |
unix charset handle
| #define UAM_OPTION_USERNAME (1 << 0) |
get space for username
| #define UAM_PASSWD_EXPIRETIME (1 << 3) |
not implemented yet.
| #define UAM_PASSWD_FILENAME (1 << 0) |
| #define UAM_PASSWD_MINLENGTH (1 << 1) |
| #define UAM_SERVER_CHANGEPW (1 << 1) |
| #define UAM_SERVER_LOGIN (1 << 0) |
| #define UAM_SERVER_LOGIN_EXT (1 << 3) |
| #define UAM_SERVER_PRINTAUTH (1 << 2) |
| #define UAM_USERNAMELEN 255 |
|
extern |
|
extern |
|
extern |
|
extern |
helper functions for plugin uams
| private | pointer to AFPObj |
| name | user name |
| len | size of name buffer. |
|
extern |
|
extern |