Terja Antola
2002-May-31 00:04 UTC
[Samba] About password length in solaris 8 and samba 2.2.4
Hello You wrote as below in samba-list: Message: 19 Date: Tue, 28 May 2002 22:13:35 -0500 (CDT) From: "Gerald (Jerry) Carter" <jerry@samba.org> To: Carl Vincent <c.a.vincent@ncl.ac.uk> Cc: samba@lists.samba.org Subject: Re: [Samba] Password Length Conundrum 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. ... Have you found any solution to problem above? I have the same problem. We change our smb-passwords in solaris 8 / samba 2.2.4 machine and now when users authenticate themselves to our domain it accepts only first 8 characters of the password. It happens also in authentication server where we have solaris 2.6 and samba 2.0.5a... only that we allways change our domain passwords in solaris 8/samba 2.2.4 machine. So I thing there is something wrong with changeing passwords with smbpasswd command??? -- ----------------- :=) ---------------------------- Terja Antola, Univercity of Turku Puhelin: 02 333 6516, Telefax: 02 333 6040 Internet: terja.antola@utu.fi
Gerald Carter
2002-Jun-01 18:46 UTC
[Samba] About password length in solaris 8 and samba 2.2.4
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. 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--
Åke Holmlund
2002-Jun-03 04:59 UTC
[Samba] About password length in solaris 8 and samba 2.2.4
> 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@informatik.umu.se SE-901 87 Ume? Sweden
Åke Holmlund
2002-Jun-03 10:02 UTC
[Samba] About password length in solaris 8 and samba 2.2.4
> > 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....No, it's not. Checked include/config.h and also ran configure: checking whether getpass should be replaced... no> What Solaris release is this? and what compiler? > Also include any ./configure options you have set.Solaris 8, Sun Workshop 6, update 1. My "configuration": env CC=cc \ CPPFLAGS="-DHACK" \ CFLAGS="-xO3" \ ../configure \ --prefix=/opt/Samba \ --sysconfdir=/var/conf/Samba \ --localstatedir=/var/conf/Samba \ --with-privatedir=/var/conf/Samba/private \ --with-lockdir=/var/conf/Samba/locks \ --with-configdir=/var/conf/Samba \ --with-logfilebase=/var/log \ --with-ldapsam \ --with-quotas \ --without-winbind The -DHACK thing is some LDAP modifications primarily to be able to use Solaris LDAP libraries. ----------------------------------------------------------------------------- ?ke Holmlund Tel: +46 - 90 786 57 16 Ume? University Fax: +46 - 90 786 65 50 Dept of informatics Email: holm@informatik.umu.se SE-901 87 Ume? Sweden
Possibly Parallel Threads
- Interactive Rsync Authentication Problem
- Fix for smbpasswd Samba 2.2.4 on Solaris only taking 8 character passwords
- Expired passwords on Solaris with PAM
- [LLVMdev] [3.7 Release] RC2 has been tagged, Testing Phase II begins
- [LLVMdev] [3.7 Release] RC1 has been tagged, Testing Phase I begins