New sam system

Jelmer Vernooij jelmer at samba.org
Wed Jul 31 11:39:02 GMT 2002


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 <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
 20:34:34 up 1 day,  2:43, 11 users,  load average: 0.23, 0.27, 0.27




More information about the samba-technical mailing list