couple of getpwnam() questions

Gerald Carter gcarter at valinux.com
Sat Nov 25 14:28:58 GMT 2000


Gerald Carter wrote:
> 
> > My question is "Are the last two checks really necessary?"
> > For example, a lookup of "Administrator" looks like
> >
> >   o getpwnam("Administrator")
> >   o getpwnam("administrator")
> >   o getpwnam("ADMINISTRATOR")
> >   o getpwnam("Administrator")
> >   o getpwnam("AdministratoR")

Should have been getpwnam("administratoR") of course.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




More information about the samba-technical mailing list