Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 18:42:04 +1000 (EST)
From:      Phil Homewood <pdh@minotaur.bit.net.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20499: [PATCH] conserver port doesn't like MD5 crypto
Message-ID:  <200008090842.SAA08465@minotaur.bit.net.au>

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

>Number:         20499
>Category:       ports
>Synopsis:       [PATCH] conserver port doesn't like MD5 crypto
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 09 01:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Phil Homewood
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

	conserver-5.21, FreeBSD 4.1-STABLE

>Description:

	There's a hardcoded limit of 16 on encrypted password length
	in conserver, which means passwords encrypted with MD5 don't
	work.

>How-To-Repeat:

	Use MD5 crypto in conserver.cf.

>Fix:

	Correct fix would be to get this info from <pwd.h> or <limits.h>
	but as I'm not sure which of those is best (or if I should look
	get the limit from there - or
	elsewhere even...)

--- ports/comms/conserver/work/conserver/group.h.orig   Wed Aug  9 18:35:58 2000
+++ ports/comms/conserver/work/conserver/group.h        Wed Aug  9 18:36:32 2000
@@ -26,7 +26,7 @@
  * 4. This notice may not be removed or altered.
  */
 
-#define MAXPSWDLEN     16      /* max length of encrypted password     */
+#define MAXPSWDLEN     32      /* max length of encrypted password     */
 
 typedef struct grpent {                /* group info                          */
        int port;               /* port group listens on                */


>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?200008090842.SAA08465>