summaryrefslogtreecommitdiff
path: root/server/responder/nss/nsssrv.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-04-16 18:35:06 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-17 14:58:46 -0400
commit65951186e13fea410d087c84f7332b04d116f8fc (patch)
treeafc9a8c181d068d518e9e5f75fb7c30ff6db2f53 /server/responder/nss/nsssrv.h
parent8f209f1cee137e410386b68f82a31c9ba862fe19 (diff)
downloadsssd-65951186e13fea410d087c84f7332b04d116f8fc.tar.gz
sssd-65951186e13fea410d087c84f7332b04d116f8fc.tar.bz2
sssd-65951186e13fea410d087c84f7332b04d116f8fc.zip
Force user check and discover user's domain
Force a user lookup against the users domain provider. If a user domain is not specified search though all non fully qualifying domains. Perform authentication against the corrent domain auth backend, based on the user's domain found in the lookup if one was not specified. Also move the NSS-DP functions in COMMON-DP as they are reused by the PAM responder too now.
Diffstat (limited to 'server/responder/nss/nsssrv.h')
-rw-r--r--server/responder/nss/nsssrv.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/responder/nss/nsssrv.h b/server/responder/nss/nsssrv.h
index 37d3735d..cbbb9cc6 100644
--- a/server/responder/nss/nsssrv.h
+++ b/server/responder/nss/nsssrv.h
@@ -68,24 +68,7 @@ struct nss_packet;
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);
-
-int nss_dp_send_acct_req(struct resp_ctx *rctx, TALLOC_CTX *memctx,
- nss_dp_callback_t callback, void *callback_ctx,
- int timeout, const char *domain, int type,
- const char *opt_name, uint32_t opt_id);
-
struct sbus_method *get_nss_dp_methods(void);
struct sss_cmd_table *get_nss_cmds(void);
-int nss_parse_name(TALLOC_CTX *memctx,
- struct nss_ctx *nctx,
- const char *origname,
- const char **domain, const char **name);
-
#endif /* __NSSSRV_H__ */