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

Åke Holmlund holm at informatik.umu.se
Mon Jun 3 04:59:02 GMT 2002


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

-----------------------------------------------------------------------------
Åke Holmlund					Tel:  +46 - 90 786 57 16
Umeå University					Fax:  +46 - 90 786 65 50
Dept of informatics				Email: holm at informatik.umu.se
SE-901 87 Umeå
Sweden





More information about the samba mailing list