Re: [netatalk-admins] no login except as guest


Subject: Re: [netatalk-admins] no login except as guest
From: Brian Bergstrand (bbergstrand@niu.edu)
Date: Mon Dec 15 1997 - 09:25:57 EST


>Hi!
>Iīve installed netatalk 1.4b2 on two PCs, a 486 and a 133 MHz Pentium w/
>16 MB RAM.
>Linux is from a SuSE 5.0 distribution, the kernel says itīs 2.0.30.
>
>After setting up various accounts the following problem persists: No
>matter under which name and from which
>Mac (Sys 7.6 on a II fx or 8.0 on different PowerMacs), any attempt to log
>in as user results in a message
>"Wrong password...". Logging in as guest works fine.
>This is an excerpt of /var/log/messages:
>--
>
[log snip]
>
>In a netatalk.faq I found a reference to this problem, with one
>explanation concerning "illegal shells", the
>other with shadow passwords. I did grep on all the log files I could think
>of and didnīt get an entry for
>illegal.
>As for shadow passwords, I presume itīs a default of this distribution to
>use them, there is an /etc/shadow
>file. I donīt know how this ties in with netatalk, however.
>
>Can anybody help?
>
>Sincerely, Stefan Barth

Seth, you need to turn on support for shadow passwords. In your netatalk
src directory, cd to etc/afpd. Open the makefile for that directory with
your favorite editor, and add the following to the CFLAGS option:
-DSHADOWPW

Save the change, and cd back to the root of your netatalk src dir, and do a
make clean, then make. You should be set to go.

Brian

Brian Bergstrand
Network Specialist
Northern Illinois University
815-753-8547
bbergstrand@niu.edu



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:28:28 EST