This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: getent doesn't work properly
- From: Maayan Apelboim <Maayan dot Apelboim at clarizen dot com>
- To: "Brian dot Inglis at SystematicSw dot ab dot ca" <Brian dot Inglis at SystematicSw dot ab dot ca>, "cygwin at cygwin dot com" <cygwin at cygwin dot com>, "corinna-cygwin at cygwin dot com" <corinna-cygwin at cygwin dot com>
- Date: Mon, 25 Nov 2019 13:09:30 +0000
- Subject: RE: getent doesn't work properly
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=clarizen.com; dmarc=pass action=none header.from=clarizen.com; dkim=pass header.d=clarizen.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b+LDVA8JDC/YfvVI4gb472sqWmzp1+0aoePlJcltJ6k=; b=FKVkZA09rfZoM1DO1CWHJzIaTeun2xigKLK/y8WeE9wnDdOrNUk7Qg11Xrv9hhIgVoAs2HIhFx0ErOrCFGXfMFMEVhTJii0Qw3VOE0FLCnYbV/Y0kiQ7vsbHx6WNtO45cptOI8X00l/bUU1Vn3Ab5jzeQMl+ZCaHB7HJtQFdUJEobYP1cYybfc/6xk7DAeOvgd/q1DusDNv/stS5p8O+6O8aD7B9Mnki3e7M1tVjhgTg8RyTV4D/YcekTOd30RGBTlhY8TySRZSNWi+hGgD15xNp5lRfJnO+YKBZqNKh5P5FjTu4aaaefouI/ZDDsiz6xX64JQhPIqXKytuSasP8TA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dxN/Plube6dN20pTiQpeefieFgRI//T9Wg71AtgPOcMN9lqb1otq2NGK+dIjz/sO0RmziO1eR+NGr3jctrET7VUgzI2a+r4wve5h0u7XAZ3HafSJCjFWf9qzbtfAoAcYxgl++528rJVoPIyqu3Fw6PT8ESw5gNQVYmnFCXUFHn2Oeo7283f6wQk7+55B5WCP4C3nx4xJ0pxLB9J5NcSctf628P2snRpS3UnFYoYy+ITO2VVRYMLXO7XInNXbcBn+Pe+Dav2olWEiJUzML/hlIg7GcRvEN1YuzNLSWoM87cBfrgTnnRc9gvRC7CsjONsFfc7ecm76V0zpGKV433kYLg==
- References: <AM4PR07MB34730BB3D998CF6B47BA84D495760@AM4PR07MB3473.eurprd07.prod.outlook.com>
Update:
- I tried installing cygserver as a service but problem persists.
- Also tried verifying the user in the domain with net user. While getent fails to find my user, net user finds it with no issues.
- Tried installing and configuring krb5-workstation but it didn’t help as well.
Will appreciate any other leads to check...
Thanks
-----Original Message-----
>> Why do I need cygserver?
> You don't exactly NEED cygserver. But if you have 1. Domain (or even
> multi-domain) environment.
> 2. and/or remote/slow/flaky connection to the domain server.
> cygserver may provide a smoother experience as it caches some
> information related to names resolution.
Running cygserver will also cache info and speed up processing if you run many:
- service daemons under Cygwin, especially cron jobs or ssh sessions
- concurrent processes, especially deeply nested, forked, or background
(some cron jobs background subprocesses *heavily* to reduce run time)
- XSI IPC message queues
- semaphores
- shared memory segments
otherwise that has to be managed by either the process itself or the root parent process, possibly in parallel threads.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised.