RE: Sorry, the password you entered is incorrect. Pleasereenterit.


Subject: RE: Sorry, the password you entered is incorrect. Pleasereenterit.
From: Chris Herrmann (chris@faredge.com.au)
Date: Sun Aug 26 2001 - 21:17:47 EDT


what you have below looks fine - client reads / writes data, connection is
closed. doesn't have a disconnection error message in the log though...

to debug, i'd try:

delete your source tree for netatalk:
#rm -rf /usr/src/netatalk-1.5pre6

extract it again from the tarball, and try the following configure:

# ./configure --prefix=/usr/local/netatalk --sysconfdir=/etc/netatalk \
--with-config-dir=/etc/netatalk --with-pam --with-shadow \
--with-ssl-dir=/usr/local/openssl --enable-timelord \
--with-flock-locks --with-tcp-wrappers --enable-lastdid

Once it's configured happily, make, make install. Try plugging in the
following config files in /etc/netatalk/ - if they work, they'll at least
give you a starting point, from where you can tweak them to make them work
for you.

The above config is what I needed to get it working correctly with file
locking for quark xpress users, using a 2.4 kernel. it behaves differently
with a 2.2 kernel.

Note that I don't use a netatalk.conf file - i found it worked better
without it (go figure).

Cheers,

Chris

-----Original Message-----
From: xris [mailto:xris@forevermore.net]
Sent: Sunday, 26 August 2001 05:31
To: netatalk-admins@umich.edu
Subject: Re: Sorry, the password you entered is incorrect.
Pleasereenterit.

> try /var/log/messages
> #tail /var/log/messages -f

Yeah, got it. Still confused:

Aug 25 12:24:16 agni afpd[530]: ASIP started on 127.0.0.1:548(1) (1.5pre6)
Aug 25 12:24:16 agni afpd[530]: uam: uams_dhx.so loaded
Aug 25 12:24:16 agni afpd[530]: uam: "DHCAST128" available
Aug 25 12:24:38 agni afpd[532]: ASIP session:548(1) from 10.0.0.2:49181(0)
Aug 25 12:24:38 agni afpd[530]: server_child[1] 532 done
Aug 25 12:24:43 agni afpd[533]: ASIP session:548(1) from 10.0.0.2:49182(0)
Aug 25 12:24:43 agni afpd[533]: dhx login: xris
Aug 25 12:24:43 agni afpd[533]: 0.17KB read, 0.13KB written
Aug 25 12:24:43 agni afpd[530]: server_child[1] 533 done

Same thing happens with cleartxt - reads like .07KB, writes .07KB, and then
says my mac disconnected - but I'd rather force dhx.

> you should see a lot of afpd messages appearing. alternatively, start afpd
> **without** forking (ie. not as a daemon), and you should see debug
> messages appear on your terminal.

That's how I always start it when testing. No debug messages.

> in netatalk.conf, set:
> ATALK_BGROUND=no

Yeah, it is/was.

> and fire up atalkd and afpd.

No atalkd, just afpd.

> A couple of things to check: which uams are you using ie. dhx, pam (which
> uses dhx), rand, cleartxt? you can define this both in afpd.conf and
> netatalk.conf, but they won't work if you haven't compiled/made with these
> options (ie. --with-pam --with-shadow etc etc...).

Yeah, I've gone through all of this multiple times. Pretty sure it's a
config issue, but am completely lost now.







This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:49 EDT