[Samba] Fix for smbpasswd Samba 2.2.4 on Solaris only taking 8 character passwords

Gerald Carter jerry at samba.org
Wed Jun 19 06:31:03 GMT 2002


On Wed, 19 Jun 2002, Andrew Bartlett wrote:

> Jeremy Allison wrote:
> > 
> > On Tue, Jun 18, 2002 at 10:25:00AM -0700, Andrew Gray wrote:
> > > But it doesn't under Solaris.  getpass() on Solaris only takes the first 8
> > > characters.  In the man page under Solaris for getpass() it specifically
> > > mentions getpassphrase():
> > 
> > getpassphrase is a Solaris specific call. No other UNIX uses it.
> > 
> > Therefore we should just replace the broken Solaris getpass() with
> > a working one of our own. We now do, so there should be no more
> > problems.
>  
> So why don't we always replace it? 

It was a bad autoconf test.  If we can compile lib/getsmbpass.c,
then we replace it.  The bug in 2.2.4 was the missing popt headers in
the configure compile test.  





cheers, jerry





More information about the samba mailing list