[OpenAFS-devel] ubik_PR_NameToID return value

Garrett Wollman wollman@csail.mit.edu
Sun, 22 Jul 2012 13:50:47 -0400


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