Re: UID defined on an NIS server.



Actually this is not my system but a relay of bug reports from various
people using linux EiffelVision 2.  Under what circumstances should this
fail?  I presumed that both bug submitters were using NIS but actually it is
only one that seems to be,  how could this possibly fail anyway?  If a user
manages to login and is assigned a UID, then surely getpwuid_r will never
fail?

Ian King


----- Original Message -----
From: "Owen Taylor" <otaylor redhat com>
To: "Ian King" <king eiffel com>
Cc: <gtk-list gnome org>
Sent: Monday, May 14, 2001 9:15 AM
Subject: Re: UID defined on an NIS server.


>
> "Ian King" <king eiffel com> writes:
>
> > GLib-WARNING **: getpwuid_r(): failed due to: No such user 500.
> >
> > If my user credentials are retrieved from an NIS server but are not
present
> > on my local machine, I get this error when attempting to run a gtk
example.
> > Does anyone know of a way of fixing this or a hack around it?
>
> This says to me "system configuration problem."
>
> >From the perspective of an application, there should be no difference
> between having information in /etc/passwd, and on an NIS
> server. That's why there are functions like getpwuid() - to cover up
> the details of where user information is coming from.
>
> So, I think the answer here is "fix your system" ;-)
>
>                                         Owen
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]