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
AgeCommit message (Collapse)Author
2023-03-29Cygwin: doc: fix description of new "env" schema for /etc/nsswitch.confCorinna Vinschen
Fixes: 27376c60a9b8 ("Allow deriving the current user's home directory via the HOME variable") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-03-28Allow deriving the current user's home directory via the HOME variableJohannes Schindelin
This patch hails from Git for Windows (where the Cygwin runtime is used in the form of a slightly modified MSYS2 runtime), where it is a well-established technique to let the `$HOME` variable define where the current user's home directory is, falling back to `$HOMEDRIVE$HOMEPATH` and `$USERPROFILE`. The idea is that we want to share user-specific settings between programs, whether they be Cygwin, MSYS2 or not. Unfortunately, we cannot blindly activate the "db_home: windows" setting because in some setups, the user's home directory is set to a hidden directory via an UNC path (\\share\some\hidden\folder$) -- something many programs cannot handle correctly, e.g. `cmd.exe` and other native Windows applications that users want to employ as Git helpers. The established technique is to allow setting the user's home directory via the environment variables mentioned above: `$HOMEDRIVE$HOMEPATH` or `$USERPROFILE`. This has the additional advantage that it is much faster than querying the Windows user database. Of course this scheme needs to be opt-in. For that reason, it needs to be activated explicitly via `db_home: env` in `/etc/nsswitch.conf`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-12-02Cygwin: uinfo: Drop long disabled nss_prefix and nss_separatorCorinna Vinschen
Originally the code was written to allow three ways of prefixing accounts and to freely define a domain/account separator. This code has been disabled even before being officially released, and it was never re-enabled. Given there has been no complaints for eight years now, drop this code eventually. Just add a macro to define the domain/account separator statically. Fixes: cc332c9e271b ("(cygheap_pwdgrp::nss_init_line): Disable db_prefix and db_separator settings. Add comment") Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2020-05-19cygwin: doc: Add keywords for ACE order issuesDavid Macek via Cygwin-patches
Windows Explorer shows a warning with Cygwin-created DACLs, but putting the text of the warning into Google doesn't lead to the relevant Cygwin docs. Let's copy the warning text into the docs in the hopes of helping confused users. Most of the credit for the wording belongs to Yaakov Selkowitz. Latest inquiry: <https://cygwin.com/pipermail/cygwin/2020-May/244814.html> Signed-off-by: David Macek <david.macek.0@gmail.com>
2020-04-22Cygwin: accounts: Don't keep old schemes when parsing nsswitch.confDavid Macek via Cygwin-patches
The implicit assumption seemed to be that any subsequent occurence of the same setting in nsswitch.conf is supposed to rewrite the previous ones completely. This was not the case if the third or any further schema was previously defined and the last line defined less than that (but at least 2), for example: ``` db_home: windows cygwin /myhome/%U db_home: cygwin desc ``` Let's document this behavior as well. Signed-off-by: David Macek <david.macek.0@gmail.com>
2020-04-22Cygwin: accounts: Unify nsswitch.conf db_* defaultsDavid Macek via Cygwin-patches
Signed-off-by: David Macek <david.macek.0@gmail.com>
2019-02-18Cygwin: re-enable create_token for older systemsCorinna Vinschen
Under WOW64 on 64 bit Windows 7, MsV1_0S4ULogon appears to be unimplemented, probably under Vista as well. Re-enable create_token method, to allow basic seteuid on W7 WOW64 and Vista as well. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2019-01-26Cygwin: seteuid: use Kerberos/MsV1_0 S4U authentication by defaultCorinna Vinschen
- This simple and official method replaces cyglsa and "create token" methods. No network share access, same as before. - lsaauth and create_token are disabled now. If problems crop up, they can be easily reactivated. If no problems crop up, they can be removed in a while, together with the lsaauth subdir. - Bump Cygwin version to 3.0. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2018-02-22doc/ntsec.xml: Fix typoDavid Macek
2016-06-25Remove XP and Server 2003 from documentationCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-23winsup/doc: Create info pages from cygwin documentationJon TURNEY
v2: Updated to use docbook2x-texi not docbook2texi, since source is now docbook XML. Tweak DocBook XML so info directory entry has a description. v3: Use a custom charmap to handle &reg; v4: Proper build avoidance texinfo node references may not contain ':', so provide alternate text for a few xref targets 2015-06-22 Jon Turney <jon.turney@dronecode.org.uk> * Makefile.in (install-info, cygwin-ug-net.info) (cygwin-api.info): Add. * cygwin-ug-net.xml: Add texinfo-node. * cygwin-api.xml: Ditto. * ntsec.xml (db_home): Add texinfo-node for titles containing a ':' which are the targets of an xref. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2015-04-29Fix more typos in ntsec.xmlYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2015-03-12Fix more typos in ntsec.xmlCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-03-12Fix typos in ntsec.xmlCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-02-25 * ntsec.xml (ntsec-mapping): Match the description of the defaultCorinna Vinschen
values for db_home, db_shell, and db_gecos to the latest changes.
2015-02-12 * ntsec.xml: Throughout fix references to the Cygwin version number.Corinna Vinschen
2015-01-14 * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.Corinna Vinschen
(ntsec-mapping-nsswitch-home): Disable text explaining how the home directory is fetched from the homeDrive attribute.
2014-12-18* ntsec.xml (ntsec-logonuser): Fix spelling of pw_passwd field.Yaakov Selkowitz
2014-12-10 * ntsec.xml (ntsec-mapping-samba): Clarify Samba file server setup.Corinna Vinschen
2014-12-06 * cygwin.xsl (toc.section.depth): Set to 4.Corinna Vinschen
* ntsec.xml: Revamp account mapping documentation to account for the new db_home, db_shell, db_gecos settings.
2014-11-10Fix typoCorinna Vinschen
2014-10-30 * ntsec.xml: Fix typo.Corinna Vinschen
2014-10-29 * ntsec.xml (ntsec-mapping-caching): Describe service dependenciesCorinna Vinschen
in terms of cygserver.
2014-10-28 * ntsec.xml: Fix Solaris doc URLs.Corinna Vinschen
2014-10-28 * ntsec.xml: Try to make an expression less ambiguous.Corinna Vinschen
2014-10-27 * ntsec.xml: More language fixes.Corinna Vinschen
2014-10-26Fix typoCorinna Vinschen
2014-10-24fix typoCorinna Vinschen
2014-10-24 * ntsec.xml: More language and typo fixes.Corinna Vinschen
2014-10-23 * ntsec.xml: Fix language.Corinna Vinschen
2014-09-01 * ntsec.xml (ntsec-common): Drop outdated comment about underdevelopedCorinna Vinschen
Solaris ACL API support.
2014-08-31 * ntsec.xml: Disable description of db_prefix and db_separator settings.Corinna Vinschen
2014-08-06 * ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts asCorinna Vinschen
default setting. Add short explanation in db_prefix: always mode. Fix a type. Drop a paragraph with redundant information.
2014-07-30 * ntsec.xml: Small improvments.Corinna Vinschen
2014-07-30 * cygwin.xsl: Allow 3 section levels in TOC.Corinna Vinschen
* new-features.xml: (ov-new1.7.32): Add new section. * ntsec.xml: Rename top-level section to reflect extension of topics. Remove old /etc/passwd, /etc/group considerations. Add new sections explaining Windows to POSIX account mapping. Make setuid sections third level sections. * pathnames.xml: Note new method of account mapping for fstab.d/$USER. * faq-setup.xml: Rework references to /etc/passwd and /etc/group to reflect changes to account handling. * faq-using.xml: Ditto.
2013-05-02Modernized user guide, API reference, and FAQ generation. OverallWarren Young
effect is to move away from DocBook SGML and DJ Delorie's doctool and toward pure DocBook XSL. (There remains just one use of doctool, and we have plans for replacing it, too.) See ChangeLog for details.