[Samba] smbpasswd and 8 character limit

Ryan Novosielski novosirj at umdnj.edu
Thu Nov 8 22:29:36 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is the most current, I would think, source of information on
Solaris (since it is newer than Solaris 10, even). There would be a
rather large implication here that larger than 8 character names will
present a problem:

http://www.opensolaris.org/os/community/security/library/long_usernames/

Gaiseric Vandal wrote:
> The problem is with passwords that exceed 8 characters, not usernames.
>  Solaris (at least Solaris 9 ) will let you create usernames with more
> than 8 characters-  (although it complains about.)  Most of the
> usernames are 8 characters or less, including the test account.    And
> I would think that the unix password store is usually irrelevant to
> samba anyway (with the exception of password syncing.)
> 
> Older versions of Solaris did have an issue with unix passwd length
> (basically any characters beyond 8 were ignored.)    Switching from
> DES to MD5 password encryption seems to have fixed this.
> 
> 
> I will try compiling 3.026a on a linux box  (or 3.024 on solaris) and
> see if it really is Solaris specific.
> 
> 
> 
> On Nov 7, 2007 4:14 PM, Ryan Novosielski <novosirj at umdnj.edu> wrote:
> I can confirm that Solaris only allows 8 character usernames (just
> looked this up last week). As such, your usage of /etc/passwd (or
> whatever other PAM backend) is likely the problem.
> 
> Eric Diven wrote:
>>>> I'm pretty sure it's Solaris specific, I didn't have problems on my
>>>> CentOS box I've been using as a reference machine.  See this bug in
>>>> bugzilla: https://bugzilla.samba.org/show_bug.cgi?id=4863
>>>>
>>>> ~Eric
>>>>
>>>> -----Original Message-----
>>>> From: samba-bounces+eric.diven=edsiohio.com at lists.samba.org
>>>> [mailto:samba-bounces+eric.diven=edsiohio.com at lists.samba.org] On Behalf
>>>> Of Gaiseric Vandal
>>>> Sent: Friday, November 02, 2007 5:04 PM
>>>> To: Samba
>>>> Subject: [Samba] smbpasswd and 8 character limit
>>>>
>>>> The smbpasswd on my PDC (Solaris 9, Samba 3.026a) will truncate or
>>>> corrupt passwords over 8 chars.
>>>>
>>>> The smbpasswd command on the linux clients (Samba 3.024a) is OK.
>>>> Anyone know if this is a samba version issue or something solaris
>>>> specific.
>>>>
>>>> Thanks
>>>> --
>>>> To unsubscribe from this list go to the following URL and read the
>>>> instructions:  https://lists.samba.org/mailman/listinfo/samba
>>>> o/samba
- --
>>
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
>>

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHM427mb+gadEcsb4RAsK9AJ9ZY/kE5OjI4A1qrbW1wxXkHxiVbwCeL8Hp
o1D3lKlSH4Lqa5r7ELl85cU=
=WMed
-----END PGP SIGNATURE-----


More information about the samba mailing list