[Samba] smbpasswd and 8 character limit

Gaiseric Vandal gaiseric.vandal at gmail.com
Thu Nov 8 22:11:52 GMT 2007


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
>
> - --
>  ---- _  _ _  _ ___  _  _  _
>  |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
>
> iD8DBQFHMirImb+gadEcsb4RAm8sAKCigwww8tI4yJ/t0zeeXolrfcOLLwCfSOtt
> YXa2QVJTSMAnuGUzhtetbrc=
> =9KWD
> -----END PGP SIGNATURE-----
> --
>
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list