BUG: pure-ftpd-ldap (1.0.21-11ubuntu1): LDAP schema and syntax violation

Patrick Ben Koetter p at state-of-mind.de
Thu Oct 25 12:45:11 UTC 2007


I believe I have found two errors in current pure-ftpd-ldap packages shipped
with Gutsy:

1. Syntax error in attributetype description
The attributetype description 'FTPStatus' in the pureftpd.schema that ships
with 1.0.21-11ubuntu1 has a syntax error. The word "SYNTAX" is there twice and
should only be there once:

attributetype ( 1.3.6.1.4.1.6981.11.3.7 NAME 'FTPStatus'
    DESC 'Account status: enabled or disabled'
        EQUALITY booleanMatch
    SYNTAX SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )
    ^^^^^^

The typo invalidates the schema and slapd won't start.


2. Setting either FTPStatus TRUE or FALSE always disables logins
The Syntax rule for FTPStatus only allows to set TRUE or FALSE. pure-ftpd
however expects either "enabled" or "disabled". If FTPStatus is present and
neither "enabled" or "disabled" are given, pure-ftpd always assumes
"disabled", which effectively disables logins if the Admin sets FTPStatus =
TRUE as required by the SYNTAX definition.


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