summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-02-18 11:39:39 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-02-19 16:10:06 -0500
commit953e07b7c43bc9bb7c7616180b1ba1730e22c59a (patch)
tree7a808c2773c61731df4398ede75b39e411ab48f7 /src/tests
parentd8d5cf15fe5fb71dc47d8cbab154d5bf032e9309 (diff)
downloadsssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.tar.gz
sssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.tar.xz
sssd-953e07b7c43bc9bb7c7616180b1ba1730e22c59a.zip
Remove unneeded items from struct pam_data
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/krb5_utils-tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/krb5_utils-tests.c b/src/tests/krb5_utils-tests.c
index 8676f3bfa..362daf475 100644
--- a/src/tests/krb5_utils-tests.c
+++ b/src/tests/krb5_utils-tests.c
@@ -64,8 +64,8 @@ void setup_talloc_context(void)
fail_unless(pd != NULL, "Cannot create krb5_ctx structure.");
pd->user = discard_const(USERNAME);
- pd->pw_uid = atoi(UID);
- pd->upn = PRINCIPLE_NAME;
+ kr->uid = atoi(UID);
+ kr->upn = PRINCIPLE_NAME;
pd->cli_pid = atoi(PID);
krb5_ctx->opts = talloc_zero_array(tmp_ctx, struct dp_option, KRB5_OPTS);