programming question, for samba.

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Oct 9 15:48:10 GMT 1997


On Thu, 9 Oct 1997, Luke Kenneth Casson Leighton wrote:

> help, help.  does anyone know of a generic way to convert string username 
> into a uid (user id)?

the answer to my own question is: Get_Pwnam() in samba - an upper/lower 
etc case wrapper around man (3) getpwnam().

luke


<a href="mailto:lkcl at switchboard.net"  > Luke Kenneth Casson Leighton </a>
<a href="http://mailhost.cb1.com/~lkcl"> Lynx2.7-friendly Home Page   </a>
<br><b>  "Apply the Laws of Nature to your environment before your
          environment applies the Laws of Nature to you"              </b>



More information about the samba mailing list