Linux and Appletalk - wrong password

Hi!
I´m having some problem with appletalk and Linux. When I try to mount from the chooser and appleshare and login to the server I get "Wrong password". I have modified afpd with support for shadow password. I have read somewhere that linux asks for a shell in the file etc/passwd and that the problem is there, but how do I solve it.
I´m using netatalk 1.4b2, slakware 3.4, kernel 2.0.30.

Regards
Claes Lindvall
Sweden
cl071997Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cl071997Author Commented:
Edited text of question
0
cl071997Author Commented:
Edited text of question
0
jhanceCommented:
Check the length of your linux password.  It seems to me that you have have long password in linux but the dialog on the Mac where it asks you for the password is limited to 7 or 8 chars.  If linux is expecting more than that, then the password ends up being wrong.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cl071997Author Commented:
Thank you for your answer, but no, I have just 5 characters in my  passwords. I did send a question to a newsgroup also and there one fellow showed me this, and that helped.

============
In auth.c I had to make it recognize linux similar to solaris.
This plus the change to the makefile solved my problem.
Apply this in the etc/afpd directory.

--- auth.c~     Fri Feb  7 16:42:12 1997
+++ auth.c      Fri Feb  7 16:42:12 1997
@@ -24,6 +24,10 @@
 #define SHADOWPW
 #endif SOLARIS

+#ifdef LINUX
+#define SHADOWPW
+#endif LINUX
+
 #ifdef SHADOWPW
 #include <shadow.h>
 #endif SHADOWPW
===============

Thank you once again for your support.

Regards
Claes Lindvall
Sweden
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.