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]