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: "Alex deVries" <email@hidden>
- Date: Wed, 10 Dec 2008 10:40:16 -0800
On Wed, Dec 10, 2008 at 10:24 AM, Frank Lahm <email@hidden> wrote:
> Hi list,
>
> 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
Hm. Isn't this in the "FPMapID Constants" section in the programming guide?
It shows:
enum {
kUserIDToName = 1,
kGroupIDToName = 2,
kUserIDToUTF8Name = 3,
kGroupIDToUTF8Name = 4,
kUserUUIDToUTF8Name = 5,
kGroupUUIDToUTF8Name = 6
};
It goes back a bit, but I managed to get afpfs-ng to use this
effectively to map user/groupids between client and server.
- Alex
_______________________________________________
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