OpenBSD CVS

CVS log for src/libexec/login_krb5/Attic/login_krb5.c


[BACK] Up to [local] / src / libexec / login_krb5

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28, Tue Apr 22 11:06:22 2014 UTC (10 years, 1 month ago) by reyk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED

Remove the kerberos login methods.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jun 21 13:35:26 2013 UTC (10 years, 11 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.26: +7 -5 lines
Diff to previous 1.26 (colored)

Stop using deprecated Kerberos functions.
ok millert@

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jun 1 01:43:19 2012 UTC (12 years ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.25: +9 -3 lines
Diff to previous 1.25 (colored)

add a krb5-noverify option for login.conf that disables verification
of the server against a local host keytab file when you're authing
users with login_krb5. useful for when you need to auth users but
dealing with the domain admins is painful...

ok sthen@ jj@ millert@

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 14 14:53:44 2009 UTC (15 years, 4 months ago) by jacekm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

context could be used after being freed by krb5_free_context; ok millert@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 24 14:04:19 2008 UTC (16 years, 1 month ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

compare strings with reality for expected behavior; ok millert@

Revision 1.23 / (download) - annotate - [select for diffs], Sun Nov 13 00:27:56 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.22: +6 -2 lines
Diff to previous 1.22 (colored)

handle asprintf() failure; from dhill@mindcry.org

Revision 1.22 / (download) - annotate - [select for diffs], Sat Nov 12 13:28:00 2005 UTC (18 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +2 -4 lines
Diff to previous 1.21 (colored)

use snprintf; ok cloder dhill@mindcry.org

Revision 1.21 / (download) - annotate - [select for diffs], Wed Apr 13 18:46:03 2005 UTC (19 years, 2 months ago) by biorn
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.20: +7 -1 lines
Diff to previous 1.20 (colored)


Do as login_krb5-or-pwd(8) says: "When root tries to login,
     login_krb5-or-pwd skips KerberosV authentication,"

ok beck@ some time ago

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 6 10:47:27 2005 UTC (19 years, 3 months ago) by biorn
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)


don't use invokinguser if its empty
sync man page with reality

spelling corrected by jmc@, ok beck@

Revision 1.19 / (download) - annotate - [select for diffs], Thu Aug 7 11:12:38 2003 UTC (20 years, 10 months ago) by hin
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.18: +1 -4 lines
Diff to previous 1.18 (colored)

krb4 bye bye.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 6 21:57:27 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

bring protos into scope

Revision 1.17 / (download) - annotate - [select for diffs], Fri Sep 6 18:45:06 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

ansi; ok millert pvalchev

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 30 06:09:21 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.15: +41 -47 lines
Diff to previous 1.15 (colored)

KNF

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 22 06:35:44 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

a bunch more strcpy -> strlcpy and sprintf -> snprintf

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 27 09:52:45 2002 UTC (22 years, 3 months ago) by hin
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Small fix from Bjorn Sandell <biorn@dce.chalmers.se> that makes it compile
when KRB524 is not defined.

Closes PR #2305

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 6 09:18:31 2002 UTC (22 years, 4 months ago) by hin
Branch: MAIN
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Fix for heimdal-0.4e

Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 12 21:55:46 2001 UTC (22 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.11: +20 -20 lines
Diff to previous 1.11 (colored)

some KNF

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 26 05:03:27 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.10: +2 -182 lines
Diff to previous 1.10 (colored)

Cleanup and unify login_passwd, login_krb4, login_krb4-or-pwd, login_krb5 and
login_krb5-or-pwd.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 25 22:02:13 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

#ifdef KRB4  ->  #ifdef KRB524

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 25 21:36:49 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.8: +20 -33 lines
Diff to previous 1.8 (colored)

Support su'ing with local root password or with a root instance.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 25 18:58:59 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.7: +132 -96 lines
Diff to previous 1.7 (colored)

Lots of changes and cleanup.
 - Make a separate function for ticket storing.
 - Support challenge mode.
 - Use hints passed from login and su that this is a user actually logging in.

This means login_krb5 and login_krb5-or-pwd is ready for prime-time.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 25 15:49:21 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.6: +72 -5 lines
Diff to previous 1.6 (colored)

Support for checking local passwords, for login_krb5-or-pwd.

Support the response protocol, used for terminal locking etc.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 25 14:21:30 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.5: +77 -58 lines
Diff to previous 1.5 (colored)

Move the password checking into a separare function to make the code more
readable, and easier to extend.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 25 05:23:13 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.4: +10 -4 lines
Diff to previous 1.4 (colored)

Use getpass() to read password instead of libkrb5, just to make sure that
login_krb5 _always_ behave like the other BSD Auth login scripts.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 25 02:54:02 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

close_log()

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 25 02:52:41 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

Silently ignore -v options.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 25 01:04:41 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN
Changes since 1.1: +53 -25 lines
Diff to previous 1.1 (colored)

Rework errrorhandling so that it syslogs any error, instead of writing them
to stderr.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 25 00:07:08 2001 UTC (22 years, 11 months ago) by hin
Branch: MAIN

BSD Auth login script for KerberosV. Written by me with assistance from
millert@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.