Use reserved port only when required for NIS look-ups

Honza Horak hhorak@redhat.com
Mon Aug 13 12:27:00 GMT 2012


On 08/13/2012 01:30 PM, Honza Horak wrote:
>> How did they handle the client side configuration for hpux11?  Did we
>> ever get information from HP about that?
>
> I haven't found any info by myself, but asked Paul in
> https://bugzilla.redhat.com/show_bug.cgi?id=689424.

A colleague of mine suggested another approach:

On 08/13/2012 01:57 PM, Tomas Mraz wrote:
 > Also I think that the real reason why the privileged port is used
 > for all lookups in the current glibc is that the information which
 > database is secured and which not is not available from the server
 > and making it necessity to configure this information explicitly on
 > all clients was considered as user unfriendly. Would it be possible
 > to make the code do some heuristics and fallbacks? For example for
 > the shadow and gshadow db default with privileged port and for the
 > rest default as non-privileged and if the server returns failure try
 > to use the privileged port?

I think that would be possible if we accepted slightly worse performance 
because of the second request, but generally I like that idea.

Regards,
Honza



More information about the Libc-alpha mailing list