2.2.2 swat and shadow

Gerald (Jerry) Carter jerry at samba.org
Thu Oct 25 15:02:41 GMT 2001

On Wed, 24 Oct 2001, Greg Louis wrote:

> On 20011024 (Wed) at 0916:03 -0500, Gerald (Jerry) Carter wrote:
> > On Tue, 23 Oct 2001, Greg Louis wrote:
> >
> > > Is there anything one can do to get 2.2.2 swat to work with md5
> > > passwords and without pam?
> >
> > What server OS are you running (or Linux distribution)?
> On the main server, basically Slackware 7.1 but with lots of upgrades
> compiled from source; kernel 2.2.20pre10, shortly to be pre11; glibc
> 2.2.2 and shadow version 19990827 (which I think was straight out of
> the distro).
> On the secondary and home servers it's much the same except kernel
> 2.4.12ac5 and glibc-2.2.3, and shadow version 20000826.

Speaking off the top of my head, I know slackware doesn't use PAM.
Under 2.2.1a we had a bug in detecting the crypt libraries.
I was sure we fixed this in 2.2.2.  You try the previous workaround.

Check in include/config.h for the string "#define HAVE_TRUNCATED_SALT 1"
Try commenting this line out and recompiling SWAT and see what happens.

I'll try to reproduce this on a slackware 8.0 system when I get back in
the office.

cheers, jerry
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list