BUG: pure-ftpd-common: LDAP Schema

Patrick Ben Koetter p at state-of-mind.de
Thu Feb 14 18:51:26 UTC 2008

This is a bug report concerning the LDAP schema, delivered with
pure-ftpd-common on Hardy (and Gutsy as well).

I am currently using this version on Hardy:

||/ Name              Version           Description
ii  pure-ftpd-common  1.0.21-11.1ubuntu Pure-FTPd FTP server (Common Files)

The LDAP schema defines an attribute "FTPStatus" and requires it to be

attributetype ( NAME 'FTPStatus'
        DESC 'Account status: enabled or disabled'
        EQUALITY booleanMatch

This means I can either set "TRUE" or "FALSE" as FTPStatus value.

However the LDAP implementation of pure-ftpd expects either "enabled" or

There are several ways to fix the problem:

a) modify the LDAP schema to allow either "enabled" or "disabled" as values
b) modify the pure-ftpd sources to expect either TRUE or FALSE. IMO this is
   the right way, but it breaks backwards compatibility.
c) define a new attribute e.g. "FTPEnabled", make it "EQUALITY booleanMatch"
   and modify the pure-ftpd sources to accept this attribute as well. This
   might allow to fade the old attribute out and introduce a new, working
   one at the same time.


Patrick Koetter

state of mind
Agentur für Kommunikation, Design und Softwareentwicklung

Patrick Koetter            Tel: 089 45227227
Echinger Strasse 3         Fax: 089 45227226
85386 Eching               Web: http://www.state-of-mind.de

Amtsgericht München        Partnerschaftsregister PR 563

More information about the ubuntu-users mailing list