#include <sys/types.h>
#include <glib.h>
Go to the source code of this file.
Defines | |
#define | LU_OBJECTCLASS "objectClass" |
#define | LU_CN "cn" |
#define | LU_USERNAME "uid" |
#define | LU_GROUPNAME "cn" |
#define | LU_UID "uid" |
#define | LU_USERPASSWORD "userPassword" |
#define | LU_UIDNUMBER "uidNumber" |
#define | LU_GIDNUMBER "gidNumber" |
#define | LU_GECOS "gecos" |
#define | LU_HOMEDIRECTORY "homeDirectory" |
#define | LU_LOGINSHELL "loginShell" |
#define | LU_GID "gid" |
#define | LU_MEMBERUID "memberUid" |
#define | LU_ADMINISTRATORUID "administratorUid" |
#define | LU_SHADOWLASTCHANGE "shadowLastChange" |
#define | LU_SHADOWMIN "shadowMin" |
#define | LU_SHADOWMAX "shadowMax" |
#define | LU_SHADOWWARNING "shadowWarning" |
#define | LU_SHADOWINACTIVE "shadowInactive" |
#define | LU_SHADOWEXPIRE "shadowExpire" |
#define | LU_SHADOWFLAG "shadowFlag" |
#define | LU_GIVENNAME "givenName" |
#define | LU_SN "sn" |
#define | LU_ROOMNUMBER "roomNumber" |
#define | LU_TELEPHONENUMBER "telephoneNumber" |
#define | LU_HOMEPHONE "homePhone" |
Typedefs | |
typedef struct lu_ent | lu_ent_t |
Functions | |
struct lu_ent* | lu_ent_new (void) |
void | lu_ent_copy (struct lu_ent *source, struct lu_ent *dest) |
void | lu_ent_revert (struct lu_ent *ent) |
void | lu_ent_free (struct lu_ent *ent) |
GList* | lu_ent_get_original (struct lu_ent *ent, const char *attribute) |
void | lu_ent_set_original (struct lu_ent *ent, const char *attr, const char *val) |
void | lu_ent_set_numeric_original (struct lu_ent *ent, const char *attr, long val) |
void | lu_ent_add_original (struct lu_ent *ent, const char *attr, const char *val) |
void | lu_ent_clear_original (struct lu_ent *ent, const char *attr) |
GList* | lu_ent_get (struct lu_ent *ent, const char *attribute) |
gboolean | lu_ent_has (struct lu_ent *ent, const char *attribute) |
void | lu_ent_set (struct lu_ent *ent, const char *attr, const char *val) |
void | lu_ent_set_numeric (struct lu_ent *ent, const char *attr, long val) |
void | lu_ent_add (struct lu_ent *ent, const char *attr, const char *val) |
void | lu_ent_clear (struct lu_ent *ent, const char *attr) |
void | lu_ent_clear_all (struct lu_ent *ent) |
void | lu_ent_del (struct lu_ent *ent, const char *attr, const char *val) |
GList* | lu_ent_get_attributes (struct lu_ent *ent) |
|
The name of a user who is allowed to administer (add users to and remove users from) this group. |
|
The name of entity, regardless of whether it is a user or a group. |
|
Extra information about the user. |
|
The name of this group. |
|
The primary GID of this user, or the GID of this group. |
|
A user's given name. |
|
The attribute which normally holds the group name for a group entity. |
|
The location of the user's home directory. |
|
Home phone number for a user. |
|
The shell which the user uses. |
|
The name of a member of this group. |
|
An object class. Used primarily by the LDAP back-end. |
|
Office number for a user. |
|
The date when the account expires. |
|
Reserved. |
|
The number of days after which the account is considered inactive. |
|
Date of last password change. |
|
Maximum number of days after a password change which are allowed to pass before the user must change her password again. |
|
Minimum number of days which must pass before the user can change her password again. |
|
The number of days before the maximum when the user is given a warning that a password change will soon be needed. |
|
A user's family's name. |
|
Office phone number for a user. |
|
The login name of this user. |
|
The UID of this user. |
|
The attribute which normally holds the login ID associated with a user account. |
|
The user or group's password. |
|
A memory structure which holds the attributes of a user or group. |
|
lu_ent_add:
|
|
lu_ent_add_original:
|
|
lu_ent_clear:
|
|
lu_ent_clear_all:
|
|
lu_ent_clear_original:
|
|
lu_ent_copy:
|
|
lu_ent_del:
|
|
lu_ent_free:
|
|
lu_ent_get:
|
|
lu_ent_get_attributes:
|
|
lu_ent_get_original:
|
|
lu_ent_has:
|
|
lu_ent_new: This function creates and returns a new entity structure, suitable for passing into other functions provided by the library.
|
|
lu_ent_revert:
|
|
lu_ent_set:
|
|
lu_ent_set_numeric:
|
|
lu_ent_set_numeric_original:
|
|
lu_ent_set_original:
|