Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

pam_macs.h File Reference

Declares macros and structures shared by all the module's pieces. More...

#include <pwd.h>

Go to the source code of this file.

Data Structures

struct  _pam_macs_config
 Represents MACS' configuration state. More...


Defines

#define PAM_MACS_CONFIG   "--PAM-MACS-CONFIG--"
#define MACS_DEF_METH   "NULL"
#define MACS_DEF_RES   "PAM"
#define MACS_DEF_P   1
#define MACS_DEF_D   1
#define MACS_LOGIN_PROMPT   "MACS username: "
#define MACS_START_MSG   "\nThis version of the macs pam module only allows logins if the local\npam username matches the internal macs username.\n\nThe macs pam module is alpha software. If you are using this on a\nproduction machine, STOP immediately, and check yourself into a mental\ninstitution.\n\nOtherwise, enjoy!\n\n"
#define MACS_DEF_V   1
#define _pam_overwrite(x)
 Overwrites a chunk of memory. Copied from Linux-PAM for source portability.

#define _pam_drop_reply(reply, replies)
 Overwrites pam reply structures, so passwords don't stay in core. Copied from Linux-PAM for source portability.


Functions

void _pam_macs_cleanup (pam_handle_t *, void *, int)
 Cleanup data items.

int _pam_macs_getopt (_pam_macs_config *, int, int, const char **)
 Parse the "command-line" options from pam.conf.


Detailed Description

Declares macros and structures shared by all the module's pieces.

Id
pam_macs.h,v 1.6 2003/07/01 06:18:43 santana Exp

Function Documentation

void _pam_macs_cleanup pam_handle_t *   ,
void *   ,
int   
 

Cleanup data items.

int _pam_macs_getopt _pam_macs_config  ,
int   ,
int   ,
const char **   
 

Parse the "command-line" options from pam.conf.


Generated on Mon Jul 14 14:27:02 2003 for MACS Client PAM Module by doxygen1.3-rc3