summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/responder/common/negcache.c1
-rw-r--r--src/responder/common/negcache.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/common/negcache.c b/src/responder/common/negcache.c
index 1f95b1b6..62c1537f 100644
--- a/src/responder/common/negcache.c
+++ b/src/responder/common/negcache.c
@@ -25,6 +25,7 @@
#include <fcntl.h>
#include <time.h>
#include "tdb.h"
+#include "responder/common/negcache.h"
#define NC_ENTRY_PREFIX "NCE/"
#define NC_USER_PREFIX NC_ENTRY_PREFIX"USER"
diff --git a/src/responder/common/negcache.h b/src/responder/common/negcache.h
index 0b7e00b0..b8d385a9 100644
--- a/src/responder/common/negcache.h
+++ b/src/responder/common/negcache.h
@@ -33,7 +33,7 @@ int sss_ncache_check_user(struct sss_nc_ctx *ctx, int ttl,
int sss_ncache_check_group(struct sss_nc_ctx *ctx, int ttl,
struct sss_domain_info *dom, const char *name);
int sss_ncache_check_netgr(struct sss_nc_ctx *ctx, int ttl,
- const char *domain, const char *name);
+ struct sss_domain_info *dom, const char *name);
int sss_ncache_check_uid(struct sss_nc_ctx *ctx, int ttl, uid_t uid);
int sss_ncache_check_gid(struct sss_nc_ctx *ctx, int ttl, gid_t gid);
int sss_ncache_check_sid(struct sss_nc_ctx *ctx, int ttl, const char *sid);