diff options
Diffstat (limited to 'server/nss/nsssrv_ldb.h')
-rw-r--r-- | server/nss/nsssrv_ldb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/nss/nsssrv_ldb.h b/server/nss/nsssrv_ldb.h index ebb97255..8cc7ebca 100644 --- a/server/nss/nsssrv_ldb.h +++ b/server/nss/nsssrv_ldb.h @@ -6,7 +6,7 @@ #define NSS_PW_HOMEDIR "HomeDirectory" #define NSS_PW_SHELL "loginShell" -#define NSS_GR_NAME "gid" +#define NSS_GR_NAME "cn" #define NSS_GR_GIDNUM "gidNumber" #define NSS_GR_MEMBER "member" @@ -45,3 +45,8 @@ int nss_ldb_getgrgid(TALLOC_CTX *mem_ctx, uint64_t gid, nss_ldb_callback_t fn, void *ptr); +int nss_ldb_enumgrent(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct ldb_context *ldb, + nss_ldb_callback_t fn, void *ptr); + |