Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Linux and Appletalk - wrong password

Posted on 1998-02-04
4
Medium Priority
?
204 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 300 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 is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

688 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