Hi All, We're using LDAP user folder for FTP authentication. Dreamweaver is our primary FTP client. (Oh, and its Zope 2.7.4/LDAPUserFolder 2.4) Every once in a while, it doesn't work. 70% of the time its fine. Then, From the FTP Client Log: 220 pollux FTP server (Medusa Async V1.23 [experimental]) ready. USER pollej 331 Password required. PASS 230 Login successful. SYST 215 UNIX Type: L8 CWD /www/it 250 CWD command successful. CWD /www/it/_mm 550 No such directory. CWD / 250 CWD command successful. MKD /www/it/XYIZNWSK 530 Unauthorized. RMD /www/it/XYIZNWSK 530 Unauthorized. RMD /www/it/xyiznwsk 530 Unauthorized. CWD /www/it 530 Unauthorized. And these lines will be dropped into the Site Error Log: Traceback (innermost last): Module ZPublisher.Publish, line 92, in publish Module ZPublisher.BaseRequest, line 449, in traverse Module ZPublisher.HTTPResponse, line 671, in unauthorized Unauthorized: <strong>You are not authorized to access this resource.</strong><p> Username and password are not correct. Exact same configuration typically results in this transaction: 220 pollux FTP server (Medusa Async V1.23 [experimental]) ready. USER pollej 331 Password required. PASS 230 Login successful. SYST 215 UNIX Type: L8 CWD /www/it 250 CWD command successful. CWD /www/it/_mm 550 No such directory. CWD / 250 CWD command successful. MKD /www/it/XYIZNWSK 257 MKD command successful. CWD /www/it 250 CWD command successful. PWD 257 "/www/it" is the current directory. So, am I the only one this doesn't make a lick of sense too?
Edward Pollard wrote at 2005-2-12 13:30 -0700:
We're using LDAP user folder for FTP authentication. Dreamweaver is our primary FTP client. (Oh, and its Zope 2.7.4/LDAPUserFolder 2.4)
Every once in a while, it doesn't work. 70% of the time its fine. Then,
Strange... Do you see something in your logfile? Maybe, the LDAPUserFolder has some communication problem with the LDAP server and therefore authentication fails? -- Dieter
Good Morning Dieter, Which logfile are you thinking of? Like I said its irregular (of 20 tries this morning, 1 failed), but I can try to recreate if if there is a specific log that you would find illuminating. I didn't see anything in the LDAP folder logs - but then I realized that perhaps my log level was too restrictive. I've loosed it some, and will report when I have more. As I posted, this did throw some errors into the Site Error Log, which I found ... wierd. --- Edward J. Pollard, B.Sc Webmaster, University of Lethbridge Ext. 1828 On Feb 13, 2005, at 11:30 AM, Dieter Maurer wrote:
Edward Pollard wrote at 2005-2-12 13:30 -0700:
We're using LDAP user folder for FTP authentication. Dreamweaver is our primary FTP client. (Oh, and its Zope 2.7.4/LDAPUserFolder 2.4)
Every once in a while, it doesn't work. 70% of the time its fine. Then,
Strange...
Do you see something in your logfile? Maybe, the LDAPUserFolder has some communication problem with the LDAP server and therefore authentication fails?
-- Dieter
Edward Pollard wrote at 2005-2-14 08:59 -0700:
Which logfile are you thinking of?
The Zope logfile.
... As I posted, this did throw some errors into the Site Error Log, which I found ... wierd.
I must have lost this message... -- Dieter
On Feb 14, 2005, at 10:54 AM, Dieter Maurer wrote:
Edward Pollard wrote at 2005-2-14 08:59 -0700:
Which logfile are you thinking of?
The Zope logfile.
I didn't think Z2.log had any information about FTP sessions.
... As I posted, this did throw some errors into the Site Error Log, which I found ... wierd.
I must have lost this message...
-- Dieter
From my original message:
And these lines will be dropped into the Site Error Log: Traceback (innermost last): Module ZPublisher.Publish, line 92, in publish Module ZPublisher.BaseRequest, line 449, in traverse Module ZPublisher.HTTPResponse, line 671, in unauthorized Unauthorized: <strong>You are not authorized to access this resource.</strong><p> Username and password are not correct.
I really don't know why this would show up in the Site Error Log. Like Z2.log, I've never seen FTP data in this file. I'm currently investigating the possibility of connection errors to the LDAP server, but this had not previously been an issue. --- Edward J. Pollard, B.Sc Webmaster, University of Lethbridge Ext. 1828
On Mon, Feb 14, 2005 at 03:47:22PM -0700, Edward Pollard wrote:
On Feb 14, 2005, at 10:54 AM, Dieter Maurer wrote:
Edward Pollard wrote at 2005-2-14 08:59 -0700:
Which logfile are you thinking of?
The Zope logfile.
I didn't think Z2.log had any information about FTP sessions.
It does. (In fact I consider this a wart - it's in a completely different format that typical http log analyzers really dislike. Would be nice if ftp traffic went to a separate log, but it's not a priority for me so I've never bothered to look into it or file a collector issue.) -- Paul Winkler http://www.slinkp.com
Paul Winkler wrote:
(In fact I consider this a wart - it's in a completely different format that typical http log analyzers really dislike. Would be nice if ftp traffic went to a separate log, but it's not a priority for me so I've never bothered to look into it or file a collector issue.)
chuck it in the collector, I agree with you :-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On Tue, Feb 15, 2005 at 09:34:17AM +0000, Chris Withers wrote:
Paul Winkler wrote:
(In fact I consider this a wart - it's in a completely different format that typical http log analyzers really dislike. Would be nice if ftp traffic went to a separate log, but it's not a priority for me so I've never bothered to look into it or file a collector issue.)
chuck it in the collector, I agree with you :-)
ok... http://zope.org/Collectors/Zope/1702 -- Paul Winkler http://www.slinkp.com
Edward Pollard wrote at 2005-2-14 15:47 -0700:
On Feb 14, 2005, at 10:54 AM, Dieter Maurer wrote:
Edward Pollard wrote at 2005-2-14 08:59 -0700:
Which logfile are you thinking of?
The Zope logfile.
I didn't think Z2.log had any information about FTP sessions.
"Z2.log" is the ZServer log file; the Zope log file is named "event.log", by default. -- Dieter
participants (4)
-
Chris Withers -
Dieter Maurer -
Edward Pollard -
Paul Winkler