X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=WsEyK+d4tALCQYv5tj13MZHjZctetmfMPSVqEb8o4skTGalSe5qDN j3Xt8Rf0sBzoYpDXaCZo08KMAJN0rZ2Y/y3ze8O/zLsXOsUXxA85eZnInFhDhT00 t9Ud0s6VpKsUh11VRUxT4Ph635seu5xubftNge11EDMd/M/rE5Hc5Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=Rx/zZtY/aWflNGCggd6kg+5c+1s=; b=UEib1OoACGUWC8utG5qoVkhTq5XG /obb6bRnQYyYcWkbgwj4HLOzj4PnDWUbIv6gPIcopEHFQ1pidBUA5X+D7cLH7Tcz B/C+ceMR+So/cYCbj2H4T0K3CDgLLsFXrrkFL+JgfKPOaMaca4NBXuAi8tSXG7mj ynoaDQ0VIBM///U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Thu, 17 Jul 2014 20:23:02 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Minires truncates host names Message-ID: <20140717182302.GR15332@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <028c01cf9974$ad507120$07f15360$@alum.mit.edu> <53C8129A DOT 1BA76E49 AT boland DOT nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4VrXvz3cwkc87Wze" Content-Disposition: inline In-Reply-To: <53C8129A.1BA76E49@boland.nl> User-Agent: Mutt/1.5.23 (2014-03-12) --4VrXvz3cwkc87Wze Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jul 17 20:14, D. Boland wrote: > Hi Pierre, >=20 > "Pierre A. Humblet" wrote: > >=20 > > You are right, there is a bug in res_querydomain, > > Line 737 *(ptr++ - 1) =3D '.'; should be > > *ptr++ =3D '.'; > >=20 > > I would also add a debug printf at the top of the function: > > DPRINTF(statp->options & RES_DEBUG, "querydomain \"%s\" \"%s\" type %d= \n", > > Name, DomName, Type); > >=20 > > Unfortunately I am not setup to build Cygwin so I can't test the above = nor > > submit a proper patch. >=20 > Just letting you know how it went with the Resolver (miniedit). The error= , pointed > out by you, solved the problem. Did you read my previous reply? Do *not* use the minres lib. Use the Cygwin resolver. There's no minires lib on 64 bit anymore and the 32 bit runtime minres is only maintained for backward compatibility. You can download the latest Cygwin developer snapshot DLL from http://cygwin.com/snapshots/ It contains the aforementioned patch. > Now I have an even bigger problem. Sendmail works perfectly. But only on = my XP > machine. As of Windows Vista, MS decided to remove certain privileges fro= m the > SYSTEM user. You might have to read the user's manual in the long run ;) https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview Other services are set up so that they use another account called cyg_server. See, for instance, how ssh-host-config helps an admin to set this up. The csih package helper script is lending you a hand when creating such service installer scripts. See also https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain HTH, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --4VrXvz3cwkc87Wze Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTyBSGAAoJEPU2Bp2uRE+g6N8P/2nAgxzJJOvJFa3K1TXxAGnw Yjq6+0HPqYOi97nCIl6bfgoTB1PKcsB+fnBm04br6pww8Fo1CH7J3oe2vqM6oSA3 yUqp2/hk6BQrSqYowDc9nHtMPKamySM8xBGOyxD6Pd+wIOsium+egE49WcKMyhwH wKIVJzc5w9zvRGo4eVT+A94pgnLfBSGjiG173U/4lOyzAOuZAK4SlPXWIHaSw4Dl kVLh54X9cVoC/eNyldCh4j5TaMd6svDL3NZTiFJ/lkeBAMJ+Ah1M0pqhHYCNm4Hp hL/VkTikP2ODXptZ+woqM8Gr6y2bL6tWHRsDcxOIeem+6mdnMgvF2pRMvIehi04F XKuhKN2ht2f6JBSh/3netL1pIlJa/U+6ocduLvuZ7zslxQkQhVToAIqv8wis74Tj VdXksCYQC6SO4fissH3tYj19PWTsqweqQRqcJq9DgilrDSvJ19UarYfwJjKNYhUl ooPOiTNAyllTpRWLVut2HVngVTPMoyxG1WJgQzC0TB7JukCXXs440PFtolYzL7wP 7F0kmkj6Pg3BE/Gf7xg8pr9Z9vg6IgleoxKdeqDermh+sTQKtPTu9lq85BTc1Rap XZuKRhSPJqu7CK4FMfWphH+vmOLB/Rx9w16E+Jlo/wUB6htl+npluZ0jrbZqStc0 Alro/hINHi18DsKOk5AJ =tlxh -----END PGP SIGNATURE----- --4VrXvz3cwkc87Wze--