[1564] in Moira

home help back first fref pref prev next nref lref last post

Re: access_list() fixes

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Fri Jun 2 00:16:22 2000

Message-Id: <200006020416.AAA23156@speaker-for-the-dead.mit.edu>
From: Jonathon Weiss <jweiss@MIT.EDU>
To: Garry Zacheiss <zacheiss@MIT.EDU>
cc: moiradev@MIT.EDU
In-reply-to: Your message of "Wed, 31 May 2000 20:47:05 EDT."
             <200006010047.UAA24655@sweet-transvestite.mit.edu> 
Date: Fri, 02 Jun 2000 00:16:17 -0400

> + 	    /* Check that it doesn't conflict with the Grouper namespace. */
> + 	    if (strlen(newname) > 4 && isdigit(newname[2]) && 
> + 		isdigit(newname[3]) && newname[4] == '-')

Shouldn't that be strlen(newname)>5  ?  (including the hyphen)


> + ec	MR_RESERVED,
> + 	"That name is reserved"
> + 

What happens if MR_RESERVED is returned to an old client that doesn't
know what it means?  Or is the explanatory string the thinng that is
actually sent over the net?

	Jonathon


home help back first fref pref prev next nref lref last post