]> Pileus Git - ~andy/fetchmail/commitdiff
auth -> preauth.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 16 Sep 1999 07:27:41 +0000 (07:27 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 16 Sep 1999 07:27:41 +0000 (07:27 -0000)
svn path=/trunk/; revision=2564

NEWS
fetchmail-FAQ.html
fetchmail.man
options.c
rcfile_l.l
rcfile_y.y

diff --git a/NEWS b/NEWS
index ed0dc7ac6cd65931a2c88e62b09440b5d6e6e524..89156f8d168f8c83d84c0b06b00402b2ad184e02 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ fetchmail-5.0.8 (Tue Sep 14 06:56:50 EDT 1999):
   probably fail (the RFCs don't support quoting) but it's better than nothing
   and works with at least one server.
 * Federico G. Schwindt's fix for NetBSD/OpenBSD --with-kerberos.
+* auth keyword and option changed to preauth.
 
 There are 264 people on fetchmail-friends and 441 on fetchmail-announce.
 
index ca28c90bdbcf3eab847269ff5e6ff8a64794386a..9a83608ce2b2e49a723a5ffe9efb63ab8edda170 100644 (file)
@@ -10,7 +10,7 @@
 <table width="100%" cellpadding=0><tr>
 <td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
 <td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/09/14 10:51:05 $
+<td width="30%" align=right>$Date: 1999/09/16 07:27:40 $
 </table>
 <HR>
 <H1>Frequently Asked Questions About Fetchmail</H1>
@@ -589,6 +589,11 @@ once you have installed the `bind' package.<P>
 <hr>
 <h2><a name="F1">F1. Why does my old .fetchmailrc file no longer work?</a></h2>
 
+<h3>If your file predates 5.0.8</h3>
+
+In 5.0.8, the <tt>auth</tt> keyword and option were changed to
+<tt>preauth</tt>.<p>
+
 <h3>If your file predates 4.5.5</h3>
 
 If the <code>dns</code> option is on (the default), you may need to
@@ -2467,7 +2472,7 @@ inactivity timeout.<p>
 <table width="100%" cellpadding=0><tr>
 <td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
 <td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1999/09/14 10:51:05 $
+<td width="30%" align=right>$Date: 1999/09/16 07:27:40 $
 </table>
 
 <P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>
index 6747ab400600c0ab509b247db434778576c7cdb3..f6d2c24d4f7e2941bf3801e55f48230129dd19a6 100644 (file)
@@ -179,17 +179,17 @@ Use POP3 with MD5 authentication.
 .IP RPOP
 Use POP3 with RPOP authentication.
 .IP KPOP
-Use POP3 with Kerberos V4 authentication on port 1109.
+Use POP3 with Kerberos V4 preauthentication on port 1109.
 .IP SDPS
 Use POP3 with Demon Internet's SDPS extensions.
 .IP IMAP
 IMAP2bis, IMAP4, or IMAP4rev1 (\fIfetchmail\fR autodetects their capabilities).
 .IP IMAP-K4
 IMAP4, or IMAP4rev1 (\fIfetchmail\fR autodetects their capabilities)
-with RFC 1731 Kerberos v4 authentication.
+with RFC 1731 Kerberos v4 preauthentication.
 .IP IMAP-GSS
 IMAP4, or IMAP4rev1 (\fIfetchmail\fR autodetects their capabilities)
-with RFC 1731 GSSAPI authentication.
+with RFC 1731 GSSAPI preauthentication.
 .IP ETRN
 Use the ESMTP ETRN option.
 .RE
@@ -259,7 +259,7 @@ mailserver is asked to ship mail to.  Hosts are tried in list order;
 the first one that is up becomes the forwarding or ETRN target for the
 current run.  Normally, `localhost' is added to the end of the list as
 an invisible default.  However, when using ETRN mode or Kerberos
-authentication, the FQDN of the machine running fetchmail is added to
+preauthentication, the FQDN of the machine running fetchmail is added to
 the end of the list as an invisible default. Each hostname may have a 
 port number following the host name.  The port number is separated from
 the host name by a slash; the default port is 25 (or ``smtp'' under IPv6).
@@ -440,8 +440,8 @@ fetchmail runs with the effective GID set to that of the kmem group
 .I only
 when interface data is being collected.
 .TP
-.B \-A, --auth
-(Keyword: auth[enticate]) 
+.B \-A, --preauth
+(Keyword: preauth[enticate]) 
 This option permits you to specify a preauthentication type (see USER
 AUTHENTICATION below for details).  The possible values are
 \&`\fBpassword\fR', `\fBkerberos_v5\fR' and `\fBkerberos\fR' (or, for
index 5172657dc7c59b98f52a45bb5aabfacf5714fb12..633629978ab4ad41559c5d29a7301782b5d8fa20 100644 (file)
--- a/options.c
+++ b/options.c
@@ -41,7 +41,7 @@
 #define LA_PROTOCOL    17
 #define LA_UIDL                18
 #define LA_PORT                19
-#define LA_AUTHENTICATE        20
+#define LA_PREAUTH     20
 #define LA_TIMEOUT     21
 #define LA_ENVELOPE    22
 #define LA_QVIRTUAL     23
@@ -98,7 +98,7 @@ static const struct option longoptions[] = {
   {"proto",    required_argument, (int *) 0, LA_PROTOCOL    },
   {"uidl",     no_argument,       (int *) 0, LA_UIDL        },
   {"port",     required_argument, (int *) 0, LA_PORT        },
-  {"auth",     required_argument, (int *) 0, LA_AUTHENTICATE},
+  {"preauth",  required_argument, (int *) 0, LA_PREAUTH},
   {"timeout",  required_argument, (int *) 0, LA_TIMEOUT     },
   {"envelope", required_argument, (int *) 0, LA_ENVELOPE    },
   {"qvirtual", required_argument, (int *) 0, LA_QVIRTUAL    },
@@ -366,7 +366,7 @@ struct query *ctl;  /* option record to be initialized */
 #endif /* INET6 */
            break;
        case 'A':
-       case LA_AUTHENTICATE:
+       case LA_PREAUTH:
            if (strcmp(optarg, "password") == 0)
                ctl->server.preauthenticate = A_PASSWORD;
            else if (strcmp(optarg, "kerberos") == 0)
@@ -581,7 +581,7 @@ struct query *ctl;  /* option record to be initialized */
        P(_("  -p, --protocol    specify retrieval protocol (see man page)\n"));
        P(_("  -U, --uidl        force the use of UIDLs (pop3 only)\n"));
        P(_("  -P, --port        TCP/IP service port to connect to\n"));
-       P(_("  -A, --auth        authentication type (password or kerberos)\n"));
+       P(_("  -A, --preauth     preauthentication type (password or kerberos)\n"));
        P(_("  -t, --timeout     server nonresponse timeout\n"));
        P(_("  -E, --envelope    envelope address header\n"));
        P(_("  -Q, --qvirtual    prefix to remove from local user id\n"));
index f5c89b7c0bdc9436136068ec4df695f17defa77d..06bda95067f295fc813c1c3c88f3a36472abc298 100644 (file)
@@ -19,7 +19,7 @@ int prc_lineno = 1;
 %a 4000
 %p 3000
 
-%s NAME AUTHKIND
+%s NAME PREAUTH
 
 %%
 
@@ -74,11 +74,11 @@ proto(col)?         { return PROTOCOL; }
 service                { return SERVICE; }
 port           { return PORT; }
 interval       { return INTERVAL; }
-auth(enticate)?        { BEGIN(AUTHKIND); return AUTHENTICATE; }
+preauth(enticate)?     { BEGIN(PREAUTH); return PREAUTHENTICATE; }
 kerberos(_v)?4 { BEGIN(0); return KERBEROS4; }
 kerberos(_v)?5 { BEGIN(0); return KERBEROS5; }
 kerberos       { BEGIN(0); return KERBEROS; }
-<AUTHKIND>password { BEGIN(0); return PASSWORD; }
+<PREAUTH>password { BEGIN(0); return PASSWORD; }
 timeout                { return TIMEOUT;}
 envelope       { return ENVELOPE; }
 qvirtual       { return QVIRTUAL; }
index 848ebbb7eb8a89968a69e588e17afae2c58cf751..1c56cc96cc5829b1995487e7a64c5c046ddef966 100644 (file)
@@ -58,7 +58,7 @@ extern char * yytext;
 }
 
 %token DEFAULTS POLL SKIP VIA AKA LOCALDOMAINS PROTOCOL
-%token AUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS
+%token PREAUTHENTICATE TIMEOUT KPOP SDPS KERBEROS4 KERBEROS5 KERBEROS
 %token ENVELOPE QVIRTUAL USERNAME PASSWORD FOLDER SMTPHOST MDA BSMTP LMTP
 %token SMTPADDRESS SPAMRESPONSE PRECONNECT POSTCONNECT LIMIT WARNINGS
 %token NETSEC INTERFACE MONITOR PLUGIN PLUGOUT
@@ -167,10 +167,10 @@ serv_option       : AKA alias_list
 #endif /* !INET6 */
                                        }
                | INTERVAL NUMBER               {current.server.interval = $2;}
-               | AUTHENTICATE PASSWORD {current.server.preauthenticate = A_PASSWORD;}
-               | AUTHENTICATE KERBEROS4        {current.server.preauthenticate = A_KERBEROS_V4;}
-                | AUTHENTICATE KERBEROS5       {current.server.preauthenticate = A_KERBEROS_V5;}
-                | AUTHENTICATE KERBEROS         {
+               | PREAUTHENTICATE PASSWORD      {current.server.preauthenticate = A_PASSWORD;}
+               | PREAUTHENTICATE KERBEROS4     {current.server.preauthenticate = A_KERBEROS_V4;}
+                | PREAUTHENTICATE KERBEROS5    {current.server.preauthenticate = A_KERBEROS_V5;}
+                | PREAUTHENTICATE KERBEROS         {
 #ifdef KERBEROS_V5
                    current.server.preauthenticate = A_KERBEROS_V5;
 #else