Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 10:17:42 -0700 (PDT)
From:      Jim Pirzyk <pirzyk@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42723: rdist does not support '.' in login name
Message-ID:  <200209121717.g8CHHgFm004710@zephyr.pirzyk.org>

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

>Number:         42723
>Category:       ports
>Synopsis:       rdist does not support '.' in login name
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 21:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD zephyr.pirzyk.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Fri Aug 16 09:46:23 PDT 2002 root@zephyr.pirzyk.org:/usr/src/sys/compile/ZEPHYR_KERNEL i386


>Description:
	rdist no longer supports a '.' in a  login name.  I submitted a patch
	a while ago to solve this and it seems to have been lost.  
>How-To-Repeat:
	Have a unix login with a '.' (which is valid based on the POSIX standards)
	and then try to rdist to it from another system.
>Fix:

*** src/docmd.c.orig	Thu Sep 12 10:11:38 2002
--- src/docmd.c	Thu Sep 12 10:11:59 2002
***************
*** 624,630 ****
  		c = *cp;
  		if (c & 0200)
  			isbad = TRUE;
! 		if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
  			isbad = TRUE;
  	}
  
--- 624,630 ----
  		c = *cp;
  		if (c & 0200)
  			isbad = TRUE;
! 		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?200209121717.g8CHHgFm004710>