diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-02-23 20:51:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-02-23 20:51:12 +0000 |
commit | bef55bb5c3322c57a0136b63c490e61f230da9be (patch) | |
tree | e940cee1f35cb965ba624deaf5840c34e1933d89 /winsup/cygserver | |
parent | 9b54770bd71537be20ded7eeb51e672f98839f7b (diff) | |
download | newlib-bef55bb5c3322c57a0136b63c490e61f230da9be.zip newlib-bef55bb5c3322c57a0136b63c490e61f230da9be.tar.gz newlib-bef55bb5c3322c57a0136b63c490e61f230da9be.tar.bz2 |
* autoload.cc (LsaLookupSids): Import.
* cygserver_pwdgrp.h: Include userinfo.h. Drop workaround defining
fetch_user_arg_type_t locally.
* grp.cc (internal_getgrsid_cachedonly): New function.
(internal_getgrfull): Ditto.
(internal_getgroups): Rearrange function. Center around fetching all
cached group info first, calling LsaLookupSids on all so far non-cached
groups second. Pass all available info to new internal_getgrfull call.
* pwdgrp.h: Include userinfo.h. Move definitions of
fetch_user_arg_type_t and fetch_user_arg_t there.
(pwdgrp::add_group_from_windows): Declare with getting full group info.
Called from internal_getgrfull.
* uinfo.cc (pwdgrp::add_group_from_windows): Define.
(pwdgrp::fetch_account_from_line): Add default case.
(pwdgrp::fetch_account_from_file): Ditto.
(pwdgrp::fetch_account_from_windows): Handle FULL_grp_arg.
(client_request_pwdgrp::client_request_pwdgrp): Add default case.
* userinfo.h: New header.
(enum fetch_user_arg_type_t): Add FULL_grp_arg.
(struct fetch_full_grp_t): New datatype.
Diffstat (limited to 'winsup/cygserver')
0 files changed, 0 insertions, 0 deletions