FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-14-2008, 05:51 PM
Patrick Ben Koetter
 
Default BUG: pure-ftpd-common: LDAP Schema

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
"booleanMatch":

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 )

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

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

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.

Thanks,

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 06:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org