[Samba] Password Length Conundrum

Grietens, Marc Marc.Grietens at eu.sony.com
Wed May 29 03:02:03 GMT 2002

> > On Fri, 24 May 2002, Carl Vincent wrote:
> > 
> > > I've jsut installed Samba-2.2.4, from source on a Solaris 2.6 box.
> > > I'm looking to upgrade from some 2.0.x versions I'm running. 
> > > 
> > > I've createed a password entry using smbpasswd -a and added 
> > my password.
> > > My password has 9 characters in it. Using smbclient on the 
> > Solaris box,
> > > I can access the share, but I can't from Win95 or Win2000 clients
> > > (encryption is on). If I try to access using only the first 
> > 8 characters
> > > from my password (without changing the password on the 
> > server) it works
> > > on all three platforms.
> > 
> > Probably Solaris' getpass() routine or something we use.  
> > I'll add it to
> > my list of stuff to look at when I can.

On Solaris only the first 8 characters are significat when it 
comes to passwords. He'll just forget everything else.
Had the same behaviour on Solaris 2.7
You can find that somewhere in the man page of passwd (if i'm 
not mistaken).
my guess would be that win95-2k encrypts the password using 
all the characters
and solaris will only use the first 8 during the encryption..


Marc.Grietens at eu.sony.com

The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony United Kingdom Limited.

More information about the samba mailing list