Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2005 15:30:49 +0200
From:      Vladimir Dvorak <dvorakv@vdsoft.org>
To:        freebsd-questions@freebsd.org
Subject:   proftpd + disable reverze UID/GID mapping
Message-ID:  <43297789.3010308@vdsoft.org>

next in thread | raw e-mail | index | archive | help
Hello *,

I am using ProFTPd with MySQL authentication. Is possible to disable
UID/GID mapping ?

I can log into existing ftp account but when I use for example ftp
command 'ls', connection is immediatedly terminated. The reason of
termination is, that proftpd is trying to map UID/GID number to
user/group names. In proftpd.conf I have:

SQLUserInfo            ftp login password "id + 10000 as uid" "10000 as
gid" path NULL

The error is obvious in SQL query ( /var/log/mysql.log ):

Query       SELECT login, password, id + 10000 as uid, 1
0000 as gid, path FROM ftp WHERE (id + 10000 as uid = 0) LIMIT

Is possible to disable this mapping ? 'PersistentPasswd off' seems
doesn`t work.

Vladimir



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43297789.3010308>