nametogid and nametouid
Andrew Bartlett
abartlet at samba.org
Fri May 11 02:12:26 GMT 2007
On Thu, 2007-05-10 at 17:55 -0700, Jeremy Allison wrote:
> On Wed, May 09, 2007 at 06:23:54PM -0700, Herb Lewis wrote:
> > In the file source/lib/util.c
> >
> > Is there some reason that we test for the numeric name first
> > in nametogid and last in nametouid
> >
> > Seems to me we should be consistant :-)
>
> Yes, that seems right to me. I think the lookup
> should be first I think. Do you want to patch it
> for 3.0.26 or shall I ?
Isn't the idea with allowing numbers here to allow a numeric UID/GID to
be specified without any lookup penalty.
There is the inherent conflict with numeric usernames, but having the
lookup go first seems the wrong way around.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc. http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070511/8bceb8b2/attachment.bin
More information about the samba-technical
mailing list