Re: [netatalk-admins] Home directory problem


Subject: Re: [netatalk-admins] Home directory problem
From: Gregor Retti (c60831@germ2.uibk.ac.at)
Date: Wed Nov 05 1997 - 04:46:26 EST


At 9:58 Uhr +0100 05.11.1997, Patrick Horsmans wrote:
>Hello to all,
>I'm new to netatalk, please pardon any dust.
>I read the online archives and found some questions that stated the same
>problem, but I could not find a statisfying answer.
>
>Here's the problem:
>
>afpd is unable to read the AppleVolumes (or .AppleVolumes) file in a
>users home directory.
>(e.g: "tilde"/ "My home" or any other volume specified is not read)
>The AppleVolumes.system file is OK and read, so is the
>AppleVolumes.default file for guests.
>
>I tried the netatalk 1.4b2 and 1.3.3 version.
>They are installed on linux slackware 3.3 running shadow passwords.
>The auth.c patch was installed to the 1.3.3 version and both versions
>were compiled with the respectif -DSHADOW ... options.
>
>After a little debugging, I found that in the .../etc/afpd/volumes.c
>file, the function call
>getpwnam always returns null from the passwd file instead of the users
>home directory.
>
>Did anyone have the same problem?
>How can I solve it?
>

I recently installed slakeware 3.3 with the shadow passwords on a new
machine and found out that:
        - top did not show usernames (unlesss run by root)
        - id neither (unlesss run by root)
        - pine refused to run "Who are you?"-something (unlesss run by root)
the reason was that /etc/passwd was set to -rw-------. I changed it to
-rw-r--r-- and everything worked fine.

hope this helps
gregor

-----------------------------------------------------------------------
 gregor retti ----------- http://germanistik.uibk.ac.at/germ/retti.html
-----------------------------------------------------------------------



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:27:57 EST