bin/158652: .csup/auth isn't read if the server name is not all
lowercase.
Stephen Montgomery-Smith
stephen at FreeBSD.org
Tue Jul 5 01:20:09 UTC 2011
>Number: 158652
>Category: bin
>Synopsis: .csup/auth isn't read if the server name is not all lowercase.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 05 01:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Stephen Montgomery-Smith
>Release: FreeBSD 8.2-STABLE i386
>Organization:
>Environment:
FreeBSD Current
>Description:
If you have something like "FreeBSD" in your .csup/auth file, then csup will claim that your auth file is faulty:
Parsing supfile "/usr/home/library/ctm/FreeBSD/CVSup_file"
Connecting to xxxxxxxx.freebsd.org
Cannot connect to ::::: Protocol not supported
Connected to ??.??.??.??
Server software version: SNAP_16_1h
MD5 authentication started
Unknown server "xxxxxxxx.freebsd.org". Fix your /home/library/.csup/auth
>How-To-Repeat:
>Fix:
--- csup/auth.c-old 2011-07-04 19:06:40.000000000 -0500
+++ csup/auth.c 2011-07-04 19:07:46.000000000 -0500
@@ -192,7 +192,7 @@
goto close;
}
/* Skip the rest of this line, it isn't what we are looking for. */
- if (strcmp(auth->server, server) != 0)
+ if (strcasecmp(auth->server, server) != 0)
continue;
error = auth_parsetoken(&line, auth->client,
sizeof(auth->client));
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list