Date: Wed, 11 Sep 2002 09:42:26 -0700 (PDT) From: Attila Nagy <bra@fsn.hu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/42662: Badly formed slapd_args in ports/net/openldap2/files/slapd.sh Message-ID: <200209111642.g8BGgQaR060707@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 42662 >Category: ports >Synopsis: Badly formed slapd_args in ports/net/openldap2/files/slapd.sh >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 11 09:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Attila Nagy >Release: FreeBSD 4-STABLE >Organization: >Environment: FreeBSD sendmail.bmf.hu 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: Tue Sep 10 16:03:53 CEST 2002 root@sendmail.bmf.hu:/usr/obj/usr/src/sys/SENDMAIL i386 >Description: 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://[::];' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209111642.g8BGgQaR060707>