Bug 97387 - syntax error in pureftpd.schema
Summary: syntax error in pureftpd.schema
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 06:50 UTC by Malte von dem Hagen
Modified: 2006-05-17 11:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte von dem Hagen 2006-05-17 06:50:09 UTC
In the pure-ftpd-1.0.21-port, a LDAP-schema is provided for LDAP authentification.
If one uses that schema via "import" in slapd.conf, slapd will not start.
Debugging lead to the error message

/usr/local/etc/openldap/schema/pureftpd.schema: line 46: Unexpected token before  SINGLE-VALUE )

That line reads:

SYNTAX SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE ) 

Obviuosly, that's one "SYNTAX" too much.

Fix: 

delete one "SYNTAX"
How-To-Repeat: import pureftpd.schema via slapd.conf and restart slapd vie rc-script
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-17 08:00:45 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Frank DENIS 2006-05-17 08:04:03 UTC
  Hello,

Le Wed, May 17, 2006 at 06:59:57AM +0000, Edwin Groothuis ecrivait :
>Maintainer of ftp/pure-ftpd,
>
>Please note that PR ports/97387 has just been submitted.
>The full text of the PR can be found at:
>    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/97387

  Indeed this is a typo. It has been fixed just after pure-ftpd 1.0.21 was
released.
  While the fix is obvious, it would be nice to patch it in the current
FreeBSD port.

  Best regards,

-- 
Frank Denis - frank [at] nailbox.fr - Young Nails / Akzentz nail tech
http://forum.manucure.info - http://www.manucure-pro.com
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2006-05-17 11:16:42 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!