Minires truncates host names

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Jul 17 18:23:00 GMT 2014


On Jul 17 20:14, D. Boland wrote:
> Hi Pierre,
>> "Pierre A. Humblet" wrote:
> > 
> > You are right, there is a bug in res_querydomain,
> > Line 737 *(ptr++ - 1) = '.'; should be
> > *ptr++ = '.';
> > 
> > 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);
> > 
> > Unfortunately I am not setup to build Cygwin so I can't test the above nor
> > submit a proper patch.
>> 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 from 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
-- 
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140717/2438cadd/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /