sysdb.h revision 3f94d6718d44185137e13b6d326dfd63e8dc61c6
398N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
398N/A#ifndef __SYS_DB_H__
398N/A#define __SYS_DB_H__
#define SYSDB_NETGR_TRIPLES_FILTER "(|("SYSDB_NAME"=%s)("SYSDB_NAME_ALIAS"=%s)("SYSDB_MEMBEROF"=%s))"
NULL}
SYSDB_GHOST, \
NULL}
NULL}
NULL}
#define SYSDB_VERSION_ERROR_HINT \
struct confdb_ctx;
struct sysdb_ctx;
struct sysdb_attrs {
int num;
struct ldb_message_element *a;
struct sysdb_subdom {
const char *realm;
const char *name;
const char *flat_name;
const char *id;
struct range_info {
char *name;
char *trusted_dom_sid;
const char *name);
const char **string);
bool *value);
const char *newname);
const char *attr_name,
const char *domain,
const char *const *list);
const char *ldap_attr,
const char **_primary);
const char *primary,
bool lowercase,
const char ***_aliases);
const char *ldap_attr,
char ***name_list);
const char *name,
const char **_cname);
const char *object_name,
const char *subtree_name);
const char *subtree_name);
int num_subdoms,
const char *name,
const char *pwd,
const char *gecos,
const char *homedir,
const char *shell,
char **remove_attrs,
const char *name,
const char *alt_db_path,
bool allow_upgrade);
const char *db_path,
const char *name,
const char *name,
struct sysdb_netgroup_ctx {
char *hostname;
char *username;
char *domainname;
} triple;
char *groupname;
} value;
const char *netgroup,
const char *name,
const char *name,
const char **attributes,
const char *netgrname,
const char **attributes,
bool ignore_not_found);
bool ignore_not_found);
int scope,
const char *filter,
const char **attrs,
const char *name,
const char **attrs,
const char **attrs,
const char *name,
const char **attrs,
const char **attrs,
const char *name,
const char **attrs,
int mod_op);
const char *name,
int mod_op);
const char *name,
int mod_op);
const char *name,
int mod_op);
const char *name,
const char *gecos,
const char *homedir,
const char *shell);
const char *name,
const char *gecos,
const char *homedir,
const char *shell,
const char *orig_dn,
int cache_timeout,
int cache_timeout,
const char *name,
const char *name,
const char *description,
char **missing,
int cache_timeout,
int mod_op);
const char *name,
const char *pwd,
const char *gecos,
const char *homedir,
const char *shell,
const char *orig_dn,
char **remove_attrs,
const char *name,
enum sysdb_member_type {
const char *group,
const char *member,
const char *group,
const char *member,
const char *member,
const char *const *add_groups,
const char *const *del_groups);
const char *username,
const char *password);
const char *name,
const char *password,
bool just_check,
const char *object_name,
const char *subtree_name,
const char *filter,
const char *subtree_name,
const char **attrs,
const char *object_name,
const char *subtree_name,
const char **attrs,
const char *object_name,
const char *subtree_name);
const char *expression,
const char *asq_attribute,
const char **attrs,
const char *sub_filter,
const char **attrs,
const char *sub_filter,
const char **attrs,
const char *sub_filter,
const char **attrs,
const char *name);
int attr_count,
const char *attr_name,
char ***_list);
char **sanitized);
const char *attr_name,
bool *value);
const char *cn_value,
const char *attr_name,
bool value);
bool *has_enumerated);
bool enumerated);
const char *name,
char **remove_attrs);
const char *name,
char ***_direct_parents);
#define SYSDB_IDMAP_ATTRS { \
SYSDB_NAME, \
NULL }
const char *object_sid);
const char *dom_name,
const char *dom_sid,