[OpenAFS-devel] ubik_PR_NameToID return value

Jeffrey Altman jaltman@secure-endpoints.com
Sun, 22 Jul 2012 17:32:43 -0400


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8CFEA5EAE157D9D5CECA0DCB
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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=20
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 (=3D 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
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel


--------------enig8CFEA5EAE157D9D5CECA0DCB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJQDHF9AAoJENxm1CNJffh4o9oIAKs4+Y+twmHiYv1Dp1o3ZUsQ
z2Y4cb2UWmr4KL2V3UJn36LSg5lLR17xFFyK5DZ9P1q1sQGDe+gTqVW5dCNRuKfY
xDfImkIkc3eijK8/vru6+59NzvrTGSnd/W52KeT3CgxxeMOw8BZyVlOm77BrVDGW
V7fkO6mdKCTkGQDujrqlskCiI3CJNHXGtoIAoHJAlHvVFGNLR+pNCSO1pqtvd8tT
DsNuOPpuuHkW4w0khmtrycGrqEpo0f2WWf5PYfrcTBs+cKYDVM7TRYiYiQPEHiTw
/qeervmuYrQH9M4xGi8XTcD5MdyZGY6ClRSkNQqhOF2cjZpWrDRweMlITsiMynM=
=Fa1R
-----END PGP SIGNATURE-----

--------------enig8CFEA5EAE157D9D5CECA0DCB--