summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-06 09:32:16 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2016-11-06 09:32:16 +0000
commit26c8879d2888a8e012e17556b4cb9b55ddb44efa (patch)
treeb9cee456d3eceea7a2cc0c7d28bed745584b0292 /app
parent3709dad0ebbe6cb0442728271b5cbb23dc6b9fae (diff)
Remove special handling of Kerberos auth that will never happen.
Diffstat (limited to 'app')
-rw-r--r--app/xenodm/xenodm/auth.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/xenodm/xenodm/auth.c b/app/xenodm/xenodm/auth.c
index cea148fe2..5a5dee540 100644
--- a/app/xenodm/xenodm/auth.c
+++ b/app/xenodm/xenodm/auth.c
@@ -871,23 +871,6 @@ SetUserAuthorization (struct display *d, struct verify_info *verify)
break;
}
}
- /* now write other authorizations */
- /* XXX This is a no-op on xenodm */
- for (i = 0; i < d->authNum; i++)
- {
- if (i != magicCookie)
- {
- data_len = auths[i]->data_length;
- /* client will just use default Kerberos cache, so don't
- * even write cache info into the authority file.
- */
- if (auths[i]->name_length == 14 &&
- !strncmp (auths[i]->name, "MIT-KERBEROS-5", 14))
- auths[i]->data_length = 0;
- writeLocalAuth (new, auths[i], d->name);
- auths[i]->data_length = data_len;
- }
- }
if (old) {
if (fstat (fileno (old), &statb) != -1)
chmod (new_name, (int) (statb.st_mode & 0777));