[Samba] About password length in solaris 8 and samba 2.2.4

Gerald Carter jerry at samba.org
Mon Jun 3 09:29:03 GMT 2002


On Mon, 3 Jun 2002, Åke Holmlund wrote:

> 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.

Hmm....on my solaris boxes (both with Sun's workshop C compiler 
and GCC), REPLACE_GETPASS is being defined, so there is not a problem.
Can you check in include/config.h and see if this is defined?
If not, I need to figure out why not....

What Solaris release is this?  and what compiler?
Also include any ./configure options you have set.







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--






More information about the samba mailing list