The server sets the ID to the ANONYMOUSID if the server
cannot resolve the name.  (or at least it should.)

What code path leads to a success return without an out parameter 
update?

On Sunday, July 22, 2012 1:50:47 PM, Garrett Wollman wrote:
> Under what conditions, if any, is it possible for ubik_PR_NameToID()
> to return zero (= success) without actually returning any IDs?  I've
> been working on the implementation of pr_SNameToId(), and it has the
> property that if ubik returns in this way, pr_SNameToId() will return
> success without updating its OUT parameter.  Comments around some
> of the callers suggest that it's expected to set *id to ANONYMOUSID,
> but it's not clear to me where that is supposed to happen.  (On the
> server side of the RPC?)
>
> -GAWollman
>
> _______________________________________________
> OpenAFS-devel mailing list
> [email protected]
> https://lists.openafs.org/mailman/listinfo/openafs-devel

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to