Hi,
I just compiled openldap with: ./configure --prefix=/usr/local/openldap --enable-ldap --with-tls=openssl --with-cyrus-sasl --enable-crypt
I did a 'make depend', 'make', and a 'make install'; I didn't see any errors.
I fired up ldap with: './slapd -d127 -h "ldap:///"'
Then I went to test my install with:' ldapsearch -x -ZZ -d1 -H ldap://blah.com/'
And I'm still getting:
ldap_msgfree
ldap_err2string
ldap_start_tls: Protocol error (2)
additional info: unsupported extended operation
ldap_free_connection 1 1
ldap_send_unbind
ber_flush2: 7 bytes to sd 3
ldap_free_connection: actually freed
Does anybody have a clue?
This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio Inc. makes no warranty that this email is error or virus free. Thank you.
--On Tuesday, June 25, 2013 5:34 PM -0400 Rodney Simioni rodney.simioni@verio.net wrote:
Hi,
I just compiled openldap with: ./configure --prefix=/usr/local/openldap --enable-ldap --with-tls=openssl --with-cyrus-sasl --enable-crypt
Did you actually configure certs for the server to use?
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
On Tue, 25 Jun 2013, Rodney Simioni wrote:
I just compiled openldap with: ./configure --prefix=/usr/local/openldap --enable-ldap --with-tls=openssl --with-cyrus-sasl --enable-crypt
I did a 'make depend', 'make', and a 'make install'; I didn't see any errors.
I fired up ldap with: './slapd -d127 -h "ldap:///"'
What certificates did you configure slapd to use?
c.f http://www.openldap.org/doc/admin24/tls.html
which is linked from the quick start guide on www.OpenLDAP.org
Philip Guenther
Rodney Simioni wrote:
Hi,
I just compiled openldap with: ./configure --prefix=/usr/local/openldap --enable-ldap --with-tls=openssl --with-cyrus-sasl --enable-crypt
I did a ‘make depend’, ‘make’, and a ‘make install’; I didn’t see any errors.
I fired up ldap with: ‘./slapd -d127 -h "ldap:///"’
Then I went to test my install with:’ ldapsearch -x -ZZ -d1 -H ldap://blah.com/’
And I’m still getting:
ldap_msgfree
ldap_err2string
ldap_start_tls: Protocol error (2)
additional info: unsupported extended operation
ldap_free_connection 1 1
ldap_send_unbind
ber_flush2: 7 bytes to sd 3
ldap_free_connection: actually freed
Does anybody have a clue?
You haven't configured any of the TLS settings in the server yet.
-----Original Message----- From: Howard Chu [mailto:hyc@symas.com] Sent: Tuesday, June 25, 2013 6:36 PM To: Rodney Simioni; openldap-technical@openldap.org Subject: Re: unsupported extended operation
Rodney Simioni wrote:
Hi,
I just compiled openldap with: ./configure --prefix=/usr/local/openldap --enable-ldap --with-tls=openssl --with-cyrus-sasl --enable-crypt
I did a 'make depend', 'make', and a 'make install'; I didn't see any
errors.
I fired up ldap with: './slapd -d127 -h "ldap:///"'
Then I went to test my install with:' ldapsearch -x -ZZ -d1 -H
ldap://blah.com/'
And I'm still getting:
ldap_msgfree
ldap_err2string
ldap_start_tls: Protocol error (2)
additional info: unsupported extended operation
ldap_free_connection 1 1
ldap_send_unbind
ber_flush2: 7 bytes to sd 3
ldap_free_connection: actually freed
Does anybody have a clue?
You haven't configured any of the TLS settings in the server yet. [[Rod's comment]]
This is my /usr/local/openldap/etc/openldap/ldap.conf
TLS_CACERTDIR /root # in root dir testing only, cert owned by ldap user URI ldap://blah.securesites.com/ BASE dc=wh,dc=local
This is my slapd.ldif
olcTLSCACertificatePath: /root olcTLSCertificateFile: /root/wildcard.securesites.com.cert olcTLSCertificateKeyFile: /root/wildcard.securesites.com.key
This is my /usr/local/openldap/etc/openldap/slapd.conf
TLSCipherSuite HIGH:MEDIUM:-SSLv2 TLSCACertificateFile /root/wildcard.securesites.com.cert TLSCertificateFile /root/wildcard.securesites.com.cert TLSCertificateKeyFile /root/wildcard.securesites.com.key ~
--On Tuesday, June 25, 2013 8:34 PM -0400 Rodney Simioni rodney.simioni@verio.net wrote:
This is my slapd.ldif
This is my /usr/local/openldap/etc/openldap/slapd.conf
Are you using slapd.conf or cn=config? If you are using cn=config, then you have not provided any indication that you have properly configured the server for TLS support.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount wrote:
--On Tuesday, June 25, 2013 8:34 PM -0400 Rodney Simioni rodney.simioni@verio.net wrote:
This is my slapd.ldif
This is my /usr/local/openldap/etc/openldap/slapd.conf
Are you using slapd.conf or cn=config? If you are using cn=config, then you have not provided any indication that you have properly configured the server for TLS support.
Maybe it would be nice if slapd would return a diagnosticMessage pointing that out.
Ciao, Michael.
openldap-technical@openldap.org