On Fri, 2011-04-01 at 11:12 +0400, Alexander GQ Gerasiov wrote:
> > The cause of this problem is the new regular expression based checks
> > for valid usernames. It currently rejects usernames of less than three
> > characters. This will be fixed in the next release (the minimum will
> > be two then).
>
> Well, first I suggest you to make error message more informative.

Do you have a suggestion? Currently it is:
  nslcd: [8b4567] <passwd="gq"> "gq": invalid user name
which means that it considers gq an invalid user name.

> 2nd: why do you think one letter username should be disallowed? I cant
> remember such restriction in POSIX.

I don't think there is a minimum length in POSIX either. Supporting user
names with one character however makes the regular expression overly
complicated.

-- 
-- arthur - [email protected] - http://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to