Thread:Extension talk:LDAP Authentication/Unable to start TLS - Warning on line 577/reply (2)

Have you tried applying this patch? MediaWiki 1.18 has a bug that messes up ldap user sessions.