[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4747) Function nisNetgroupTripleValidate fails on underscores



At 09:26 PM 11/12/2006, temp1@ips.gov.au wrote:
>Full_Name: IT Manager 2
>Version: 2.3 & 2.4
>OS: FreeBSD 6.2-PRERELEASE #0: Thu Oct 19 11:23:22 EST 2006
>URL: 
>Submission from: (NULL) (220.233.132.66)
>
>
>Src ./servers/slapd/schema_init.c
>Function nisNetgroupTripleValidate
>
>Fails validate of NIS Netgroup triplet when an underscore is used in a username,
>hostname or domainname.

I believe this is the intended behavior.

>Which is allowable ie username bad chars are " ,\t:+&#%$^()!@~*?<>=|\\/\"".

RFC 2307 is more restrictive.


>suggest change line
>               } else if ( !AD_CHAR( *p ) ) {
> to 
>               } else if ( !(AD_CHAR( *p ) || (*p) == '_' ) ) {
>
>Regards
>IT Manager 2