Re: AFP 3.2 FPMapID missing Documentation Bug
Re: AFP 3.2 FPMapID missing Documentation Bug
- Subject: Re: AFP 3.2 FPMapID missing Documentation Bug
- From: "Frank Lahm" <email@hidden>
- Date: Thu, 11 Dec 2008 07:08:24 +0100
2008/12/11 Quinn <email@hidden>:
> At 19:24 +0100 10/12/08, Frank Lahm wrote:
>>
>> FPMapID subfunctions 5+6 "get user|group name for UUID" are not
>> documented. From traces I guess the reply packet is:
>>
>> 4 bytes user-/groupflag | 4 bytes user-/group-id | utf8-name
>>
>> bytes user-/groupflag:
>> 0x00000001 = user
>> 0x00000002 = group
>
> That's basically correct.
>
>> It doesn't seem to matter whether you use subfunc 5 or 6 as the uuid
>> is always resolved to a name and the first four bytes in the reply
>> packet indicate which type it really is.
>
> Indeed. I took a look at the AFP server source and, while these two sub
> functions call through to different routines, the routines are pretty much
> equivalent.
>
> I've filed a bug against the documentation to get this clarified
> <rdar://problem/6435819>.
Thanks for clarifying this!
-Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden