Corinna Vinschen writes: > On May 13 18:29, Henry S. Thompson wrote:
>> Glitch (also true for x86 1.7.29-2): >> id returns effectively immediately for all users and non-users _except_: >> > time id Administrators >> uid=544(+Administrators) gid=544(+Administrators) >> groups=11(+Authenticated Users),544(+Administrators) >> >> real 0m2.296s >> user 0m0.015s >> sys 0m0.015s > > This shouldn't happen as long as we still have the "+" prepended to > BUILTIN accounts(*). And, as a matter of fact, I can't reproduce this > with the latest from CVS (== the snapshot you're testing). Did you exit > your shell and restart it after creating the /etc/nsswitch.conf file as > described in my preliminary documentation? Yes, and I just re-did that, and I'm still getting the delay. You did notice that it's the plural version (Administrator_s_) that has the delay -- Administrator (no 's') is just as fast as all the others. Adding the '+' doesn't change the behaviour. Ah, it occured to me to do an strace, and I found the culprit, I think: 19 392152 [main] id 16856 stat_worker: 0 = (\??\C:\C64\dev,0x1802C2940) 26 392178 [main] id 16856 fstat64: 0 = fstat(1, 0x23A4F0) 30 392208 [main] id 16856 isatty: 1 = isatty(1) 1085 393293 [main] id 16856 pwdgrp::fetch_account_from_windows: line: <+Administrators:*:544:544:,S-1-5-32-544:/:/sbin/nologin> 2253178 2646471 [main] id 16856 seterrno_from_win_error: /home/cygnus/vinschen/mknetrel/src/cygwin-snapshot-20140513-1/winsup/cygwin/sec_auth.cc:244 windows error 1355 187 2646658 [main] id 16856 geterrno_from_win_error: unknown windows error 1355, setting errno to 13 Does that help? > (*) I'd be grateful for input to the questions I asked in my OP, too. Sorry, I am just a Un*x guy trying to live on a Windows box, I have nothing like the necessary Windows sysadmin background to have an opinion. I thought I would try your snapshots precisely _because_ I understand almost nothing about all this -- I followed the 'mkpasswd' instructions 8 years ago, and never touched things after that, and I was just trying to help by seeing if there was anything a trial by a naive user could uncover before things got fully released. ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: h...@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple