Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-02-21 14:01:00 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-02-21 14:01:00 +0400
commit98cc373860377673c6634edcb529b21e10807618 (patch)
tree61814081400e629eb45a8b7026e659b1b3d48697 /winsup/cygwin/passwd.cc
parent6480b2ae76205f9a8c278c8f0ce5ff1c5b146846 (diff)
* pwdgrp.h (pwdgrp::fetch_account_from_windows): Add bool parameter
to declaration, set to true by default. * uinfo.cc (pwdgrp::fetch_account_from_windows): Add bool parameter "ugid_caching". Only add account to ugid_cache if set to true. * grp.cc (gr_ent::enumerate_local): Call fetch_account_from_windows with ugid_caching parameter set to false. * passwd.cc (pg_ent::enumerate_builtin): Ditto. (pg_ent::enumerate_sam): Ditto. (pg_ent::enumerate_ad): Ditto.
Diffstat (limited to 'winsup/cygwin/passwd.cc')
-rw-r--r--winsup/cygwin/passwd.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc
index 70e4e256b..54a125066 100644
--- a/winsup/cygwin/passwd.cc
+++ b/winsup/cygwin/passwd.cc
@@ -487,7 +487,7 @@ pg_ent::enumerate_builtin ()
fetch_user_arg_t arg;
arg.type = SID_arg;
arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg, group);
+ char *line = pg.fetch_account_from_windows (arg, group, false);
return pg.add_account_post_fetch (line, false);
}
@@ -534,7 +534,7 @@ pg_ent::enumerate_sam ()
fetch_user_arg_t arg;
arg.type = SID_arg;
arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg, group);
+ char *line = pg.fetch_account_from_windows (arg, group, false);
if (line)
return pg.add_account_post_fetch (line, false);
}
@@ -583,7 +583,7 @@ pg_ent::enumerate_ad ()
fetch_user_arg_t arg;
arg.type = SID_arg;
arg.sid = &sid;
- char *line = pg.fetch_account_from_windows (arg, group);
+ char *line = pg.fetch_account_from_windows (arg, group, false);
if (line)
return pg.add_account_post_fetch (line, false);
}