On Wed, 20 Oct 2004 06:56:13 -0700, martin wrote:
> Juhan Leemet <(E-Mail Removed)> wrote in message news:<pan.2004.10.19.21.11.09.110908@logicognosis. com>...
>> On Mon, 18 Oct 2004 04:23:11 -0700, martin wrote:
>> > we have an NIS problem which would appear from googling that this has
>> > been an FAQ. Shame it isn't a frequently answered question. :-)
>>
>> Sounds like you have things rather twisted up? I have setup NIS, NFS,
>> automounter on a number of systems and never seen anything like your case.
>
> In the past I've had it working on AIX without problems. The problems
> I'm experiencing are on a Fedora FC1 system.
OK, I should bow out then... no experience with Fedora. I have used NIS
and NFS (with automounter) on (Slackware? I don't remember), RedHat,
Mandrake, and (most recently) SuSE, besides my constant Solaris.
>> Did you try running ypbind on the client machine(s) with debugging...
> Yep and I get the same result. Everything works fine as root, anything
> involving the use of the password file fails as a non-root user...
Bizarre!
>> I would suggest... carefully reinstall and reconfigure your yp...
>
> Been there, done that serveral times previously. It still doesn't work.
OK, sorry, I wasn't trying to be insulting.
>> BTW, I am not sure why you were trying to look up a uid using yp? ...
>
> I'm looking up a uid just as a test. I still get the failures on a
> uname lookup. The are no inconsistances between uids and/or gids - this
> should make no difference in any case as I am trying to get users to
> authenticate against a central machine. My gut reaction is that the PAM
> authentication is getting in the way. I think that this is central to
> Linux security and I don't believe that you can remove it. In a
> nutshell, it appears as though only root is able to resolve the passwd
> maps through yp. *No regular user has access to them and as a
> consequence no one can change their password or indeed access any
> application that needs to resolve a uid to a uname. (eg open office,
> abiword, koffice, etc, etc).
Odd, is Fedora use of PAM that much different from the others (Solaris,
SuSE Linux, etc.)? Sounds like it might be a Fedora specific problem?
BTW, if you are using standard NIS, then even though you are
authenticating against a central machine (NIS server) the authentication
is actually being done locally, using ypbind supplied info (fetched from
ypserv on the central machine). Dunno if that subtlety makes a difference?
Is there some permissions problem locally? Unless you are using Kerberos?
Then you would be authenticating centrally, but it is no longer NIS.
I have nothing to add. Bowing out. Sorry to waste your time & bandwidth.
Another thought: maybe do "rpm -V" on all the nis related packages, to
make sure that nothing has gotten corrupted. Have you "hardened" machine?
--
Juhan Leemet
Logicognosis, Inc.
|