Bug 42662

Summary: Badly formed slapd_args in ports/net/openldap2/files/slapd.sh
Product: Ports & Packages Reporter: nagy.attila
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description nagy.attila 2002-09-11 17:50:02 UTC
In the given file there are some sample slapd_args lines, for example the first:
slapd_args='-h "ldap://0.0.0.0";'
When it is commented out, slapd won't start, but will die with the following error message:
daemon: listen URL ""ldap://0.0.0.0";' parse error=3
slapd stopped.
connections_destroy: nothing to destroy.

The correct line seems to be either:
slapd_args='-h ldap://0.0.0.0/;' or simply
slapd_args='-h ldap://0.0.0.0/'

Also, the last example is bad, too:
slapd_args='-h "ldap://[::];'

Removing the (unbalanced) " seems to help:
slapd_args='-h ldap://[::];'
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-19 22:50:39 UTC
State Changed
From-To: open->closed

committed, thanks