[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ldap_start_tls: Operations err



change youre slapd to:
/opt/openldap/current/libexec/slapd -u ldap -g ldap -d 296 -l local6 -h ldap:/// -f  /etc/depot/openldap/openldap/slapd.conf 

youre only listening with ssl over ldap and tls works over by starting plain ldap (whichever port you pick)

-----Original Message-----
From: Mark [mailto:mark@giddieup.net]
Sent: Wednesday, April 28, 2004 2:26 PM
To: openldap-software@OpenLDAP.org
Subject: ldap_start_tls: Operations err


i started my slapd with
/opt/openldap/current/libexec/slapd -u ldap -g ldap -d 296 -l local6 -h ldaps:/// -f  /etc/depot/openldap/openldap/slapd.conf 


and then i tried to do a search with

/opt/openldap/current/bin/ldapsearch -ZZ -x -v -W -D "uid=test,ou=People,dc=foo,dc=com" "(userid=*)"

and got 

ldap_initialize( <DEFAULT> )
ldap_start_tls: Operations error (1)
        additional info: TLS already started


i tried to search the faqmatic for that error but couldnt find anything...

if i ommit the ZZ tag then it works...


but i want the ZZ to make sure im talking over secure connection.....does that error means i cant?


thanx
m 
  
NOTICE: This E-mail may contain confidential information. If you are not 
the addressee or the intended recipient please do not read this E-mail 
and please immediately delete this e-mail message and any attachments 
from your workstation or network mail system. If you are the addressee 
or the intended recipient and you save or print a copy of this E-mail, 
please place it in an appropriate file, depending on whether 
confidential information is contained in the message.