#include <gssapi.h>
#include "lcmaps_types.h"
#include <grp.h>
Include dependency graph for lcmaps_utils.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
CREDENTIAL FUNCTIONS | |
char* | lcmaps_get_dn (lcmaps_cred_id_t lcmaps_credential) |
Retrieve user DN from (LCMAPS) credential. More... | |
FILENAME FUNCTIONS | |
char* | lcmaps_genfilename (char *prefix, char *path, char *suffix) |
Generate an absolute file name. More... | |
char* | lcmaps_getfexist (int n,...) |
Picks the first existing file in argument list. More... | |
char* | lcmaps_findfile (char *name) |
Checks for file in standard directories. More... | |
Functions | |
int | lcmaps_get_gidlist (const char *username, int *ngroups, gid_t **group_list) |
Finds the list of gids for user in the group file (/etc/group). More... |
Definition in file lcmaps_utils.h.
|
Checks for file in standard directories.
The directories that are checked are:
Definition at line 389 of file lcmaps_utils.c. |
|
Generate an absolute file name.
Given a starting prefix, a relative or absolute path, and a suffix an absolute file name is generated. Uses the prefix only if the path is relative. (Copied (and modified) from GLOBUS gatekeeper.c)
Definition at line 247 of file lcmaps_utils.c. |
|
Retrieve user DN from (LCMAPS) credential.
This function takes an LCMAPS credential as input and returns the corresponding user distinguished name (DN). (Internal:) If the GLOBUS credential part of the LCMAPS credential is empty the user DN is already included in the LCMAPS credential.
Definition at line 151 of file lcmaps_utils.c. |
|
Finds the list of gids for user in the group file (/etc/group).
Returns a list of gid_t which should be freed by calling program.
Definition at line 577 of file lcmaps_utils.c. |
|
Picks the first existing file in argument list.
Definition at line 347 of file lcmaps_utils.c. |