Greetings, Corinna Vinschen! >> >> >> > I added a %H specifier to the /path schema which is substituted by >> >> >> > the >> >> >> > Windows home path in POSIX notation. So, what you should be able to >> >> >> > do >> >> >> > now is something like: >> >> >> > >> >> >> > db_home: /%H/cygwin >> >> >> >> >> >> I've used >> >> >> >> >> >> db_home: %H/cygwin >> >> >> >> > Meep! Did you read the preliminary user's guide? You really should. >> >> >> >> > >> >> > https://cygwin.com/preliminary-ug/ntsec.html#ntsec-mapping-nsswitch-passwd >> >> >> >> > The leading slash is in integral part of the "path" scheme, The above >> >> > is not recognized as valid entry at all. >> >> >> >> Speaking of validity of entries. >> >> I was toying around with my chain of VM's, and got to think about a way to >> >> debug new nsswitch.conf configurations. >> >> Is there an easy way to see, what steps are performed, and what results >> >> are >> >> returned, from schemes specified in nsswitch.conf ? >> >> > I'm not sure I understand the question. Just change the db_home >> > or whatever entry to another one and start another mintty? >> >> That would be an indirect test, that doesn't tell a whole lot if things not >> work to the expected results. >> I'm trying different configurations right now, but it seems the result always >> /home/$USER. And I'm not sure, if it is my misunderstanding, mistakes in my >> cygwin configuration, or errors in system configuration? >> It would be wonderful to have a way to directly test different schemes, even >> if only for current user.
> I don't see the difference. If you don't get the desired results, > explain the setting you test and what you did. Let's discuss it. If > it's a bug, I'll fix the bug. If it's a misunderstanding on your part, > let's try to improve the documentation. Sorry for the holdup, I was trying to crack it by myself. But I was unsuccessful, and have to reach for help. Even the most striped down configuration doesn't produce visible improvements. The setup: A Win7 machine - member of a NT4-style domain. (No AD yet.) Logged in as domain user with admin rights. Current profile path is C:\Users\<username>.<domainname> group/passwd files are moved away. Contents of nsswitch.conf (the last, stripped down next to nothing attempt): passwd: db group: db db_home: /%H db_shell: /bin/sh > set HOME HOMEDRIVE=C: HOMEPATH=\Users\anrdaemon.CCENTER > getent passwd %USERNAME% anrdaemon:*:1051576:1049089:U-CCENTER\anrdaemon,S-1-5-21-1031481445-3291699540-3997755762-3000:/home/anrdaemon:/bin/bash If I understand it right, the /%H should always return usable value, so do /bin/sh. But I can't get it to work. The only other change I can think about is shortened /cygdrive prefix none / cygdrive binary,posix=0,noacl 0 0 Reverting it back doesn't make a difference. -- WBR, Andrey Repin (anrdae...@yandex.ru) 21.01.2015, <02:09> Sorry for my terrible english... -- 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