On Mon, 3 Jun 2002, Åke Holmlund wrote: > > On Fri, 31 May 2002, Terja Antola wrote: > > > > > Probably Solaris' getpass() routine or something we use. I'll add it to > > > my list of stuff to look at when I can. > > > > > > > > > ... > > > Have you found any solution to problem above? > > > > Haven't had a chance to look at it yet. > > Aha, explains why passwords set with smbpasswd gets truncated. getpass() > returns, at most, PASS_MAX bytes (8). getpassphrase(), on the other hand, > returns up to 256 characters.
Fixing this now by wrapping calls to getpass() in a sys_getpass() function used by Samba. On solaris, we will use getpassphrase() instead. Testing code now. Will send a patch to the list in about an hour. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba