Name aliasing in security.cc
Mon Jun 3 10:07:00 GMT 2002
On Thu, May 30, 2002 at 09:57:40PM -0400, Pierre A. Humblet wrote:
> a) keep lookup_name() as it is?
> b) remove it entirely?
> c) call it whenever a SID is missing from a passwd/group entry, using
> user independent search rules (except if a user looks up itself)?
I think b) is the way to go. IMHO we should deprecate using ntsec
w/o SID in the passwd/group files.
> 2002-05-30 Pierre Humblet <email@example.com>
> * security.cc (lsa2wchar): Suppressed.
> (get_lsa_srv_inf): Suppressed.
> (get_logon_server_and_user_domain): Suppressed.
> (get_logon_server): Essentially new.
> (get_user_groups): Add "domain" argument. Only lookup the
> designated server and use "domain" in LookupAccountName.
> (is_group_member): Simplify the arguments.
> (get_user_local_groups): Simplify the arguments. Do only a
> local lookup. Use "BUILTIN" and local domain in LookupAccountName.
> (get_user_primary_group). Only lookup the designated server.
> (get_group_sidlist): Remove logonserver argument. Do not lookup
> any server for the SYSTEM account.
> (create_token): Delete logonserver and call to get_logon_server.
> Adjust arguments of get_group_sidlist, see above.
> * security.h: Delete declaration of get_logon_server_and_user_domain
> and add declaration of get_logon_server.
> * uinfo.cc (internal_get_login): Call get_logon_server instead of
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
More information about the Cygwin-patches