diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-02-28 11:37:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-02-28 11:37:02 +0000 |
commit | 6cc7c925ce8614741f09dced8026b6c643554bfd (patch) | |
tree | 05d7000e02d8468fe05c689397cc9452cc04b48d /newlib/libc/stdio/sprintf.c | |
parent | b39fa2c88da849c7a0bd6a745357b57690501e3d (diff) | |
download | cygnal-6cc7c925ce8614741f09dced8026b6c643554bfd.tar.gz cygnal-6cc7c925ce8614741f09dced8026b6c643554bfd.tar.bz2 cygnal-6cc7c925ce8614741f09dced8026b6c643554bfd.zip |
* cygheap.h (cygheap_user::sid): Return reference to cygpsid rather
than PSID.
(cygheap_user::saved_sid): Ditto.
(cygheap_pwdgrp::cache_t): New type.
(cygheap_pwdgrp::caching): Convert to cache_t.
(cygheap_pwdgrp::nss_db_caching): Change accordingly.
(cygheap_pwdgrp::nss_db_full_caching): New inline method.
* grp.cc (internal_getgroups): Reinvent. Take cyg_ldap pointer as
third parameter and use throughout.
(getgroups32): Call internal_getgroups.
* pwdgrp.h (internal_getgroups): Declare.
* uinfo.cc (internal_getlogin): Partial rewrite to accommodate having
no connection to the DC. Give primary group from user token more
weight. Generate group entries for all groups in the user token if
caching is set to NSS_FULL_CACHING.
(cygheap_pwdgrp::init): Initialize caching to NSS_FULL_CACHING.
(cygheap_pwdgrp::nss_init_line): Handle "db_cache: full".
(pwdgrp::add_account_from_windows): Fix group handling in non-caching
mode.
(pwdgrp::fetch_account_from_windows): Default primary group for the
current user to primary group from user token. Check for primary
domain first after LookupAccountSid failed.
Diffstat (limited to 'newlib/libc/stdio/sprintf.c')
0 files changed, 0 insertions, 0 deletions