Resolving localhost on Windows 7 (for exim)

Corinna Vinschen
Mon Jan 12 17:33:00 GMT 2015

On Jan 12 17:51, Corinna Vinschen wrote:
> On Jan 12 11:16, Pierre A. Humblet wrote:
> > Now the bad news:  the exim daemon crashes.
> > 
> > The reason is this:
> > $ getent passwd exim
> > NT SERVICE+exim:*:376394:376394:U-NT SERVICE\exim,S-1-5-80-3213360373-4072665756-2198108471-1641386292-839958090:/:/sbin/nologin
> > 
> > So even though I am requesting just "exim" I am getting an entry for "NT SERVICE+exim"
> That's definitely a bug and I can easily reproduce it.  I'm not sure yet
> how this happens, but this is really not ok.  I'll have a look ASAP.

Oh darn, I especially *implemented* this behaviour, for the sake of
being able to fetch the "TrustedInstaller" account by name.

And then TrustedInstaller gets the account name "NT SERVICE+TrustedInstaller"
anyway, so I'm rather puzzled what I was thinking back in November.

Fitting: getent passwd "NT SERVICE+servicename" does *not* work, except
for "NT SERVICE+TrustedInstaller".  Oh well.

I'll prepare a fix today or (more likely) tomorrow.


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: <>

More information about the Cygwin mailing list