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
pgp1IPoEhMnWj.pgp
Description: PGP signature