SUMMARY: Bug in /usr/lib/netsvc/yp/ypstart

From: Pavic, Aleksander <Aleksander.Pavic_at_t-systems.com>
Date: Thu Jan 18 2007 - 07:54:13 EST
> Hello List,
> I noticed that our NIS System doesn't allow a user to change
> his own password.
> Google showes me a Summary from this list that says that
> rpc.yppasswdd is needed for that.
> After some reading I noticed one line in /usr/lib/netsvc/yp/ypstart:
>
> --
> if [ "$master" = "$hostname" -a X$YP_SERVER = "XTRUE" ]; then
> --
>
> You have to know that the `hostname` of this machine contains
> only capital characters.
> The line above make sure that yppasswdd, ypxfrd and
> ypupdatedd will never start on machines
> with only capital characters in their hostname, since
> $hostname is translated to a lowercase
> string and $master is not.
>
> I know that I can fix this very easy with one additional
> line, but a few years ago sun tells
> us that we will lose support for that system if we change
> anything within the sun startup scripts.
>
> So what should I do now? Is there anyone who knows how to
> handle that Problem without changing
> the hostname and without loosing support? Maybe Casper?
>
> Regards,
> Aleks

Hello List,
it seems that there is no "short" way to fix that problem.
I will send the patch to sun and wait for an official patch from sun..

Regards,
Aleks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Jan 18 07:54:50 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:03 EST