This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Difficulty with getting ntsec to work.


I have successfully gotten inetd to run on a few win9x machines (and after
actually reading the READMEs, the authentication), but still have no luck
with my win2k installation.
After reading the advice here:
http://sources.redhat.com/ml/cygwin/2001-03/msg00337.html
I carefully read over ntsec.html as well as
/usr/doc/Cygwin/inetutils-1.3.2.README and /usr/doc/Cygwin/login.README  .
Despite this, I have not gotten any further in getting NT authentication
to work.
 
Here is my completely open and unedited /etc/passwd.
Administrator::500:513:,S-1-5-21-839522115-706699826-854245398-500:/home/Administrator:/bin/bash
nemo::1002:513:Captain
Nemo,U-nemo,S-1-5-21-839522115-706699826-854245398-1002:/home/nemo:/bin/bash
ftp::100:10:Anonymous
Access,U-guest,S-1-5-21-839522115-706699826-854245398-501:/home/ftp:/bin/false
 
(I was trying all sorts of silly things, so entry nemo is a tad redundant
with the U-)
 
Here is my /etc/group:
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-839522115-706699826-854245398-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
 
I have CYGWIN set to ntsec
I have an entry C:\usr\sbin\inetd.exe  with the recommended "binmode tty
ntsec" value in the registry.
 
Doing net start inetd starts with no errors.
Here is the output from telneting in:
$ telnet localhost
Trying 127.0.0.1...
Connected to DS4.
Escape character is '^]'.
 
CYGWIN_NT-5.0 1.1.7(0.31/3/2) (DS4) (tty0)
 
login: nemo
Password:
Login incorrect
login: ftp
Password:
Login incorrect
login: guest
Password:
Login incorrect
login: Administrator
Password:
Login incorrect
 
telnet> quit
Connection closed.
$
 
Here is the output from ftp:
$ ftp localhost
Connected to DS4.
220 DS4 FTP server (GNU inetutils 1.3.2) ready.
Name (localhost:nemo): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
530 Login incorrect.
ftp: Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> quit
$
 
I would be happy to just have normal authentication work, but setting
nontsec in $CYGWIN and the regkey, and using crypt.exe and mkpasswd/group
-l -s  still gives me the same output.
I have not seen any similar problems on the mailing list.
Help?


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]