I installed the cygwin inetd as an NT service, and created an inetd.conf
with
an entry for imapd. I can connect using Outlook Express, but I see in the
event log that it is preauth'ing as "system". When I try to create folders
from OE, they are created in the cygwin root directory, but OE can't see
them.
Any advice or info on others' experiences would be appreciated.
Thanks,
odeen
I haven't looked at the cygwin hacks, but apparently it is built on the
UNIX platform instead of the NT/Win2K platform. Apparently cygwin's
emulation of UNIX on NT/Win2K isn't quite complete.
Try building a "w2k" version of imapd instead.
-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Cygwin emulation is fairly complete and this is exactly the problem here.
Cygwin is using normal Unix /etc/passwd that is mapped to NT account (user->
SID). When you add inetd as NT service, it runs as user "system" which is
quite correct. Unfortunately, imapd has no idea that account "system" is
special in any way and it treats connection as preauthenticated.
The problem is, NT does not have a notion of single superuser - rather, it
has different level of permissions. You simply cannot map all NT
administrative groups to single user "root". Cygwin port must be aware of
them.
-andrej
Uh, excuse me.
The NT port of imapd knows about "system" quite well. It also knows about
the TCB privilege and how to logon.
The problem is that cygwin uses the UNIX base instead of the NT base, and
cygwin apparently does not do a 100% emulation of UNIX UID 0 and setuid().
That isn't imapd's fault. imapd's UNIX code is for UNIX, not NT.
Try running the native NT port of imapd under cygwin inetd.
Do you know if the w2k binaries are available anywhere? (I don't have
VC++.)
I looked on the UW site, and it has binaries for various flavors of UNIX,
but
not NT/W2K.
-odeen
"Mark Crispin" <m...@CAC.Washington.EDU> wrote in message
news:Pine.NXT.4.40.01030...@Tomobiki-Cho.CAC.Washington.EDU
...