sss_simpleifp  2.8.2
Functions
Most common use cases of SSSD InfoPipe responder.

Functions

sss_sifp_error sss_sifp_list_domains (sss_sifp_ctx *ctx, char ***_domains)
 List names of available domains. More...
 
sss_sifp_error sss_sifp_fetch_domain_by_name (sss_sifp_ctx *ctx, const char *name, sss_sifp_object **_domain)
 Fetch all information about domain by name. More...
 
sss_sifp_error sss_sifp_fetch_user_by_uid (sss_sifp_ctx *ctx, uid_t uid, sss_sifp_object **_user)
 Fetch all information about user by uid. More...
 
sss_sifp_error sss_sifp_fetch_user_by_name (sss_sifp_ctx *ctx, const char *name, sss_sifp_object **_user)
 Fetch all information about user by name. More...
 

Detailed Description

Function Documentation

◆ sss_sifp_fetch_domain_by_name()

sss_sifp_error sss_sifp_fetch_domain_by_name ( sss_sifp_ctx ctx,
const char *  name,
sss_sifp_object **  _domain 
)

Fetch all information about domain by name.

Parameters
[in]ctxsss_sifp context
[in]nameDomain name
[out]_domainDomain object

◆ sss_sifp_fetch_user_by_name()

sss_sifp_error sss_sifp_fetch_user_by_name ( sss_sifp_ctx ctx,
const char *  name,
sss_sifp_object **  _user 
)

Fetch all information about user by name.

Parameters
[in]ctxsss_sifp context
[in]nameUser name
[out]_userUser object

◆ sss_sifp_fetch_user_by_uid()

sss_sifp_error sss_sifp_fetch_user_by_uid ( sss_sifp_ctx ctx,
uid_t  uid,
sss_sifp_object **  _user 
)

Fetch all information about user by uid.

Parameters
[in]ctxsss_sifp context
[in]uidUser ID
[out]_userUser object

◆ sss_sifp_list_domains()

sss_sifp_error sss_sifp_list_domains ( sss_sifp_ctx ctx,
char ***  _domains 
)

List names of available domains.

Parameters
[in]ctxsss_sifp context
[out]_domainsList of domain names