Solved

Linux and Appletalk - wrong password

Posted on 1998-02-04
4
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

738 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