Solved

Linux and Appletalk - wrong password

Posted on 1998-02-04
4
200 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:cl071997
  • 3
4 Comments
 

Author Comment

by:cl071997
ID: 1587471
Edited text of question
0
 

Author Comment

by:cl071997
ID: 1587472
Edited text of question
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1587473
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
 

Author Comment

by:cl071997
ID: 1587474
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

Featured Post

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question