X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: X-Sender: captain_webber AT hotmail DOT com From: "Mr Webber" To: References: <000101c84588$43006fb0$0502a8c0 AT neilhp> <000001c84706$a16fe560$0502a8c0 AT neilhp> <000201c848b9$6b779d90$0502a8c0 AT neilhp> Subject: RE: SFTP error 128 Date: Thu, 27 Dec 2007 17:57:23 -0500 Message-ID: <46C7E359513742079EE92BEA32125FBE@windows.tecforth.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <000201c848b9$6b779d90$0502a8c0@neilhp> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Very good for one with such a bad attitude! Now it is time to setup ssh to accept the connection you are trying to make. Anything you can do with ssh you can do with sftp. -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Neil Aggarwal Sent: Thursday, December 27, 2007 1:51 PM To: 'Mr Webber'; cygwin AT cygwin DOT com Subject: RE: SFTP error 128 Mr Webber: I thought mkpasswd -l -d would process all local and domain accounts already. But, I tried what you suggested anyway. I executed these commands: /etc/postinstall/passwd-grp.sh.done mkpasswd -l -d >> /etc/passwd mkgroup -l -d >> /etc/group I still get SFTP error 128 when I try to connect using a domain user account. Any other ideas? Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Mr Webber > Sent: Tuesday, December 25, 2007 3:03 PM > To: cygwin AT cygwin DOT com > Subject: RE: SFTP error 128 > > You need both local and domain accounts in Cygwin. > Restore your local accounts (especially root) by re-running > "/etc/postinstall/passwd-grp.sh.done". > > Then add your domain accounts by APPENDING (>>) to the passwd and > group files. > > -----Original Message----- > From: cygwin-owner AT cygwin DOT com > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Neil Aggarwal > Sent: Tuesday, December 25, 2007 9:59 AM > To: cygwin AT cygwin DOT com > Subject: RE: SFTP error 128 > > Hello: > > I set read & execute permission on C:\ for Domain Usera and set modify > for Domain Users on C:\Cygwin but I am still getting this error. > > Any ideas? > > Thanks, > Neil > > > -- > Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk > email and reclaim your inbox. > Visit http://www.spammilter.com for details. > > > -----Original Message----- > > From: cygwin-owner AT cygwin DOT com > > [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Neil Aggarwal > > Sent: Sunday, December 23, 2007 11:22 AM > > To: cygwin AT cygwin DOT com > > Subject: SFTP error 128 > > > > 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/ -- 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/ -- 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/