On Wed, Jul 31, 2002 at 08:12:04PM +0200, Stefan (metze) Metzmacher wrote about 'Re: New sam system': > >-NTSTATUS sam_get_user_by_sid(NT_USER_TOKEN *access, uint32 > >access_desired, DOM_SID *usersid, SAM_USER_HANDLE **user) > >-NTSTATUS sam_get_user_by_name(NT_USER_TOKEN *access, uint32 > >access_desired, char *domain, char *name, SAM_USER_HANDLE **user) > >+NTSTATUS sam_get_user_by_sid(NT_USER_TOKEN *access, uint32 > >access_desired, DOM_SID *usersid, SAM_USER_HANDLE *user) > DOM_SID *sid should be DOM_SID **sid and char *name -> char **name Why? The function should retrieve all info known about the user with DOM_SID *usersid; it shouldn't change the SID and the same applies to the username.
Jelmer -- Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/ 20:34:34 up 1 day, 2:43, 11 users, load average: 0.23, 0.27, 0.27
