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]
Other format: [Raw text]

Re: proftpd issues - Got it WORKING


Jason,

Here is the output when UNC home directory is in the passwd entry:

NOTE:  For security purposes the server the proftpd software is running on
has been renamed to **SERVERNAME**.
The Domain to **DOMAIN** and Remote Server to **REMOTESERVERNAME** and
login id to **MYLOGINID**.

passwd entry:

**MYLOGINID**:unused_by_nt/2000/xp:48479:10513:Brian
Kelly,U-**DOMAIN**\**MYLOGINID**,S-1-5-21-15
********-888547495-1093625069-38479://**REMOTESERVERNAME**/users/**MYLOGINID**:/bin/bash



Connected to **SERVERNAME**.**DOMAINNAME**.com.
220 ProFTPD 1.2.9rc1 Server (ProFTPD Default Installation)
[**SERVERNAME**.**DOMAINNAME**.com]
Name (localhost:**MYLOGINID**):
331 Password required for **MYLOGINID**.
Password:
530 Login incorrect.
ftp: Login failed.
421 Service not available, remote server has closed connection
ftp>


Attached is the strace.

(See attached file: strace_output.txt)


Hope this helps,
Brian Kelly







"Jason Tishler" <jason@tishler.net>@cygwin.com on 08/11/2003 11:55:18 AM

Sent by:    cygwin-owner@cygwin.com


To:    cygwin@cygwin.com
cc:     (bcc: Brian Kelly/WTC1/Empire)

Subject:    Re: proftpd issues - Got it WORKING


On Mon, Aug 11, 2003 at 11:27:33AM -0400, Igor Pechtchanski wrote:
> Jason, do you think this inability to validate UNC paths stems from
> proftpd prepending a "/" to the path or something?

No, AFAICT, I have already address this problem in the following:

    http://bugs.proftpd.org/show_bug.cgi?id=2075

> I mean, Cygwin syscalls should be able to access the UNC path with no
> problems...

Agreed.

> Is this worth investigating?

I guess so, but I don't really have the "itch."

Brian, would you be willing to help?  What do you mean by "validate" in
the following?

> On Mon, 11 Aug 2003 Brian Kelly wrote:
> > After doing an strace, I found that proftpd could not validate a
> > home directory via UNC conventions. In the domain enviroment I'm
> > working on, the domain account I'm using for testing has it's *home*
> > directory on a network shared resource - and mkpasswd -d -u
> > loginname created an entry with the home directory set to
> > //servername/users/loginname.  proftpd could *not* validate this and
> > therefore exited without attempting any further authentication.

What is the exact error message in proftpd's log file when the home
directory is specified in UNC?

Thanks,
Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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





"WellChoice, Inc." made the following
 annotations on 08/11/2003 12:19:10 PM
------------------------------------------------------------------------------
Attention!  This electronic message contains information that may be legally
confidential and/or privileged.  The information is intended solely for the
individual or entity named above and access by anyone else is unauthorized.
If you are not the intended recipient, any disclosure, copying, distribution,
or use of the contents of this information is prohibited and may be unlawful.
If you have received this electronic transmission in error, please reply
immediately to the sender that you have received the message in error, and
delete it. Release/Disclosure Statement

Attachment: strace_output.txt
Description: Binary data

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

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