<***@mercury.skynetbb.com><***@webmail.nothinbut.net>
<***@mercury.skynetbb.com><***@webmail.nothinbut.net>
<***@mercury.skynetbb.com>
Subject: Re: [Proftpd-user] mod_sql and shadow passwords
From: "Steven Festa" <***@nothinbut.net>
To: proftp-***@lists.sourceforge.net
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Spam-Score: 0.8 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.
See http://spamassassin.org/tag/ for more details.
Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001
0.8 PRIORITY_NO_NAME Message has priority setting, but no X-Mailer
Sender: proftp-user-***@lists.sourceforge.net
Errors-To: proftp-user-***@lists.sourceforge.net
X-BeenThere: proftp-***@lists.sourceforge.net
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
Reply-To: proftp-***@lists.sourceforge.net
X-Reply-To: ***@nothinbut.net
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/proftp-user>,
<mailto:proftp-user-***@lists.sourceforge.net?subject=unsubscribe>
List-Id: ProFTPD users support list <proftp-user.lists.sourceforge.net>
List-Post: <mailto:proftp-***@lists.sourceforge.net>
List-Help: <mailto:proftp-user-***@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/proftp-user>,
<mailto:proftp-user-***@lists.sourceforge.net?subject=subscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=proftp-user>
Date: Sun Feb 15 19:41:10 2004
X-Original-Date: Sun, 15 Feb 2004 22:53:02 -0500 (EST)
Post by TJ SaundersPost by Steven FestaI tried what you recommended but still can get authenticated with shadow
style passwords.
What does server debugging output show when you try this? What does the
SQLLogFile show?
I figured it out. Sorry for all the questions, I really appreciate the
help you offered. Anyway, the passwd field in ftpuser was varchar(32). Md5
passwords are a 34 character string beginning with $1$. I should have
thought to look there earlier. I completely overlooked this in the docs.
To create a user table:
CREATE TABLE users (userid VARCHAR(30) NOT NULL UNIQUE, passwd
VARCHAR(80) NOT NULL, uid INTEGER UNIQUE, gid INTEGER, homedir
VARCHAR(255), shell VARCHAR(255))
Thanks Again :)
Steve