Subject: Re: [netatalk-admins] Home directory problem
From: Patrick Horsmans (root@ogbl.healthnet.lu)
Date: Wed Nov 05 1997 - 06:12:17 EST
Gregor Retti wrote:
> 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
> -----------------------------------------------------------------------
Thank you very much Gregor, it works now.
This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:27:58 EST