delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/23/12:22:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Neil Aggarwal" <neil AT JAMMConsulting DOT com>
To: <cygwin AT cygwin DOT com>
Subject: SFTP error 128
Date: Sun, 23 Dec 2007 11:21:31 -0600
Message-ID: <000101c84588$43006fb0$0502a8c0@neilhp>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
X-Virus-Status: Clean
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello:

I have a Windows 2003 SBS server.

I have set up cygwin SSHD so I can connect to it
remotely.

I can SSH and SFTP to the machine successfully using
the Administrator account.

I want to set up a couple Domain Users to be able
to SFTP files up to the server.

The users are in Active Directory so I first changed
the security policy to allow users to log on locally.

I then created the password and group files using
these commands from the Cygwin shell using the
Administrator account.
  mkpasswd -l -d > /etc/passwd
  mkgroup -l -d > /etc/group

Next, I logged in as one of the users, ran the cygwin
shell and ran ssh-user-config

Now, from remote, I can ssh to the machine using the
domain user's account.

But, when I try top SFTP, I get error 128.

According to something I read on the Internet, this means
the domain user cannot execute the SFTP subsystem.

I set permissions of read and execute for Domain Users
on the entire C:\Cygwin heirarchy to no avail.

Any ideas what went wrong?

Thanks,
  Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019