This function registers a service principal which will be used to authenticate RPCSEC_GSS security contexts for a given RPC program and version.

A string representing the service principal in the form

The name of the security mechanism

The time in seconds that the service credentials should remain valid. See

for more details. principal.

RPC program number for this service

RPC program version for this service

Returns

if the service principal was registered or

otherwise.

The

function is part of libtirpc.

This manual page was written by