summaryrefslogtreecommitdiffstats
path: root/src/responder/pac/pacsrv.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-15 22:08:05 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-11-05 00:14:05 +0100
commitdcc133e6357e321d101cf39a2999901e33ae988e (patch)
treeb6b0a95c11a56695ea3fea9d1460ca947fae48cf /src/responder/pac/pacsrv.h
parent09d59c60dc9fae1fdc70ea4f1a073591a4eff456 (diff)
downloadsssd-dcc133e6357e321d101cf39a2999901e33ae988e.tar.gz
sssd-dcc133e6357e321d101cf39a2999901e33ae988e.tar.xz
sssd-dcc133e6357e321d101cf39a2999901e33ae988e.zip
pac responder: add user principal and name alias to cached user object
The principal name for the user is generated with the user name and the domain from the PAC. It is stored in the cache so that if e.g. can be used by password authentication. Additionally the name alias is stored to allow case-insensitive searches.
Diffstat (limited to 'src/responder/pac/pacsrv.h')
-rw-r--r--src/responder/pac/pacsrv.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/responder/pac/pacsrv.h b/src/responder/pac/pacsrv.h
index 08b4461f4..e088e212a 100644
--- a/src/responder/pac/pacsrv.h
+++ b/src/responder/pac/pacsrv.h
@@ -104,5 +104,6 @@ errno_t get_pwd_from_pac(TALLOC_CTX *mem_ctx,
struct pac_ctx *pac_ctx,
struct sss_domain_info *dom,
struct PAC_LOGON_INFO *logon_info,
- struct passwd **_pwd);
+ struct passwd **_pwd,
+ struct sysdb_attrs **_attrs);
#endif /* __PACSRV_H__ */