DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5AEHZ8O23922501 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5AEHZ8O23922501 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=uzZgM6WR X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A202D385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1763141706; bh=gR+lB9uyU4YcHhcyO+iIcYiuxONm7J77gzxFkPgcU+g=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uzZgM6WR5w5Hx0+1EJ1VO2/aA/tzJYBqrE4qMmNMoqBDSCTbagvfgp6W1Jl+IukUq 2MbuqmV/2XxxIv4R2GnSzMh7lgA1BC/5gQm3ZM2Fk6qHOWoT4HcuDYND+t7tPTLvJm IuFQhdyDIC4+CVM5Ai3MDD3eDK227wVeGucDFk6E= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 801953858C2D ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 801953858C2D ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763141375; cv=none; b=iHoUNbL5MfXjBqM8yEoIrl2TstyHSWOGqSH6o/XYI+mJoyBER4ifjV7+1Aoe75u35a24bbCTzotXl0rcBFX0NTlEEp/ZMIwVFHOM+jiL7mZZIDbw9hA2twHonPIiABWbEiXlm2HAAsPwcgmnk11pe+Z8bBKJjbFjRfrA2MmyC5Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763141375; c=relaxed/simple; bh=dN/DjnEHqHvggaNX/rPDZP62W69NDcwPnct3tjKN0nM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=DwXckXhTlf0D9q+ZuixMyncifkhLwxfhk3GmOjSY5HptcXEn7k+HeCp/uIULbaJtJnWrO0d84BH5BijpLILgLr1JoGZIgv6f4dpnIerGm0cSj4MfiIXWFoZqhA01a6UVDTL4L6wvT+ONmOhRGBmulaIaXUqfmv4KRzPVCsOGv9U= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 801953858C2D X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763141373; x=1763746173; h=content-transfer-encoding:in-reply-to:content-language:from :references:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dN/DjnEHqHvggaNX/rPDZP62W69NDcwPnct3tjKN0nM=; b=vBesDI9YIP+Gc2IiHD/qchuce2iCAT+GRuDbIZVpbfvpwg49P889YlAx048X0mf5as /Ga0g9Lkwq2B72R6YMsON1zFYm/F3k3zf/FShJ53HNBHsxx+nwzGYEdsxxyPC504avDh QR3UUtQImDTMrDbwUQPo/fpWHjM6JgE912GgtM6BAHoi6xnv4DRsns8rHmkS+azIV0db XtP9Gghq4knOSyiq3oEgOA4p/rkUXSyJ1uiK8h0/aSct+a37Og5766MfxbyhN5W5yrzM 5hI49DEkys1evUG0Sd3eRFMlUtVUJU0HM0x52nIZgVyoz/O+TvWypqyKf809v9dU6BF3 NOLw== X-Gm-Message-State: AOJu0Yxg75og9/e1/JtMDNdQJbbVuCKN1+pRrPDP4NHTrPUqkAkAu+ua fQec3XJLbC19ip3QBNPSDNlvK+ir6exIv4I1p8rfe/3xUxGp0JDUQVx460R95UN0 X-Gm-Gg: ASbGncuXlBZayoaIKGuDohi/vsnWwZveDlo4xVKkXt6GM6+kLC4dW4RHCr8WHPjnBBz yT21/a0BtQQJY5cvTPpVSQExL2ZiOnX1tekVcy2G2TH4Ane/LFdNXiGgKkXX3BDCPIdyS3bOM7+ TdwR+bgeqRyFH+GF4M2AQ0qKMWg+uvidD0HV3GJEhlPr6CsDiuNpQ08Q2a3xVRg2TPpMh/dzFPa Y1LkvMrJQIEFINEmvjcMYU7d/Ol3GUfbrmW0fC0pCjWw09vt6PvGh0+UkSYcp3ivTE5K2DWR+by hB5AzzvtHetROy5LW6RGG9Xj5ZDwM/uBkW3nPwqGADuRGWxoVccFmiLfc1Ki0WKhB2UtofA49YD ccNalgN+BeEdQSMf5QEMNo8JVfdDD+R/SxX6xHF+JCfeyBW2E9r9LRziF6Fpk/0z9xa3CHOk+tc WLrAeP40u/uZU734MWfmCmuQrHOEpFTvdDpt8hLfHJJAiW86w9FDg5Spk75q+/Q9W+cky2NrHJf GNdOdNbipj5Z0SR2A== X-Google-Smtp-Source: AGHT+IE+EP0Zjb01JJK0AB/gnYxopW/g6UX9Xe3F+so2cSCWgiDXwRWiFjSVXZXNkSn4JX3A50rf7Q== X-Received: by 2002:a2e:b5b1:0:b0:37b:986c:a4e5 with SMTP id 38308e7fff4ca-37babd4c3c7mr8065201fa.25.1763141373235; Fri, 14 Nov 2025 09:29:33 -0800 (PST) Message-ID: Date: Fri, 14 Nov 2025 20:29:28 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: RE: slow initial Domain Controller communication after adding machine to another domain To: cygwin AT cygwin DOT com References: <4c96cdbf-96e2-449d-b185-7c4c40b59451 AT gmail DOT com> <1163504455 DOT 20251114115538 AT yandex DOT ru> Content-Language: en-US In-Reply-To: <1163504455.20251114115538@yandex.ru> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Ilya Basin via Cygwin Reply-To: Ilya Basin Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Hi Andrey. No I didn't enable cygserver. There's another issue: if I try to list a directory where files are owned by a domain user of the old domain then the delay is the number of files multiplied by a few seconds. So tools like rsync are very slow. I think we need a cache for failed user id mappings. -------- Original Message -------- From: Andrey Repin Sent: Friday, November 14, 2025 at 11:55 AM UTC+3 To: Ilya Basin , cygwin AT cygwin DOT com Subject: RE: slow initial Domain Controller communication after adding machine to another domain Greetings, Ilya Basin! >> Hi List. >> Be it /bin/bash.exe or even /bin/echo.exe, when I launch this program from Windows it takes 15 seconds to start. >> procmon shows that it communicates with our domain controller port 389 (ldap) during this time. >> I tried to completely recreate /etc/group and /etc/passwd and I tried to >> delete them. It didn't make any difference. >> However, mkpasswd and mkgroup themselves complete instantly. >> Querying the Active Directory with a powershel cmdlet is fast (the port is different though: 9389). Do you have a cygserver running? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple