Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 15:49:26 -0700 (PDT)
From:      Jim Pirzyk <Jim.Pirzyk@disney.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/31462: rdist6 does not like accounts with '.' in the login name.
Message-ID:  <200110232249.f9NMnQB88966@snoopy.fan.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         31462
>Category:       ports
>Synopsis:       rdist6 does not like accounts with '.' in the login name.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 23 15:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD snoopy 4.4-RELEASE FreeBSD 4.4-RELEASE #2: Fri Sep 21 11:16:23 PDT 2001 root@snoopy:/auto/roy/dist/pub/FreeBSD/4.4-RELEASE/sys/compile/UP_WORKSTATION i386


	Using the rdist-6.1.5 package from the ports tree.

>Description:
	rdist6 thinks accounts with '.' are invalid.

>How-To-Repeat:
	create a distfile with a machine target of foo.bar@host, then you will
	get this error message:

	LOCAL ERROR: Invalid user name "foo.bar"

>Fix:

--- docmd.c.orig	Mon Nov  9 20:08:32 1998
+++ docmd.c	Tue Oct 23 14:32:06 2001
@@ -611,7 +624,7 @@
 		c = *cp;
 		if (c & 0200)
 			isbad = TRUE;
-		if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
+		if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.' )
 			isbad = TRUE;
 	}
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110232249.f9NMnQB88966>