Opened 3 years ago

#11441 new defect

TLS already started

Reported by: patrick Owned by: Larry Ruiz
Priority: normal Component: LdapAuthnzPlugin
Severity: normal Keywords: python2.6
Cc: Trac Release: 1.0



I was getting the following error when trying to securely connect to an LDAP server:

OPERATIONS_ERROR: {'info': 'TLS already started', 'desc': 'Operations error'}

I am very new to Trac admin and not much of a python programmer, but the following fix corrected this issue for me:

Commenting out the if statement at:

   if self.server.startswith('ldaps'):

My very naive understanding is it seems that by specifying a secure server in the trac.ini file:

#use ldaps:// for tls
server = ldaps://...

the ldap.initialize() function at already starts TLS.



Attachments (0)

Change History (0)

Modify Ticket

as new The owner will remain Larry Ruiz.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.