Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37439 - Punctuation error in openldap code listing 2.5: /etc/conf.d/slapd
Summary: Punctuation error in openldap code listing 2.5: /etc/conf.d/slapd
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/ldap-how...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 17:44 UTC by Lindsay Haisley
Modified: 2004-01-07 05:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lindsay Haisley 2004-01-06 17:44:43 UTC
The doc page gives the proper line as:

OPTS="-h ldaps:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock"

Using this results in "ldap_bind: Can't contact LDAP server"

The line with the correct punctuation is already in the file, commented out:

OPTS="-h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'"

Using this line results in a proper connection to the ldap server.  The use of the single quotes is required to bind the entire space-separated list to the -h option.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-01-07 05:05:07 UTC
Thanks. I've added the quoting, but I left out the ldap:// entry. The main reason for this is that we don't want any queries happen in plain text over the network (especially not in this case where authentication is handled).