summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-04-16 10:48:17 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-02 19:33:56 +0200
commitf427b36b0cecc426856ab3f77a9c684ac355659d (patch)
treeaffce4dbe27b9dfc3d66639b35f4a42da04db058 /src/responder/nss/nsssrv.h
parentf0944fdd627bd684ff36c9670dc857ffdedc343f (diff)
downloadsssd-f427b36b0cecc426856ab3f77a9c684ac355659d.tar.gz
sssd-f427b36b0cecc426856ab3f77a9c684ac355659d.tar.xz
sssd-f427b36b0cecc426856ab3f77a9c684ac355659d.zip
Add idmap context to nss context
This allows the nss responder to use libsss_idmap to convert between different SID representations.
Diffstat (limited to 'src/responder/nss/nsssrv.h')
-rw-r--r--src/responder/nss/nsssrv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv.h b/src/responder/nss/nsssrv.h
index 354782b98..b279f8a76 100644
--- a/src/responder/nss/nsssrv.h
+++ b/src/responder/nss/nsssrv.h
@@ -32,6 +32,7 @@
#include "sbus/sssd_dbus.h"
#include "responder/common/responder_packet.h"
#include "responder/common/responder.h"
+#include "lib/idmap/sss_idmap.h"
#define NSS_PACKET_MAX_RECV_SIZE 1024
@@ -68,6 +69,8 @@ struct nss_ctx {
struct sss_mc_ctx *pwd_mc_ctx;
struct sss_mc_ctx *grp_mc_ctx;
+
+ struct sss_idmap_ctx *idmap_ctx;
};
struct nss_packet;