Solved

Linux and Appletalk - wrong password

Posted on 1998-02-04
4
196 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now