diff options
Diffstat (limited to 'server/nss/nsssrv.h')
-rw-r--r-- | server/nss/nsssrv.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/nss/nsssrv.h b/server/nss/nsssrv.h index 795b8fa7..2352a505 100644 --- a/server/nss/nsssrv.h +++ b/server/nss/nsssrv.h @@ -41,6 +41,10 @@ #define NSS_DOMAIN_DELIM '@' #endif +#define NSS_ENUM_USERS 0x01 +#define NSS_ENUM_GROUPS 0x02 +#define NSS_ENUM_ALL 0x03 + struct sysdb_ctx; struct getent_ctx; @@ -69,6 +73,13 @@ struct cli_ctx { struct getent_ctx *gctx; }; +struct nss_domain_info { + char *basedn; + int enumerate; + bool has_provider; + bool legacy; +}; + struct nss_packet; struct cli_request { @@ -97,6 +108,7 @@ int nss_cmd_execute(struct cli_ctx *cctx); /* from nsssrv_dp.c */ #define NSS_DP_USER 1 #define NSS_DP_GROUP 2 +#define NSS_DP_INITGROUPS 3 typedef void (*nss_dp_callback_t)(uint16_t err_maj, uint32_t err_min, const char *err_msg, void *ptr); |