Just an idea: try to counterfeit a user agent of a real browser. It may be a totally wrong approach, but worth a try.

2013/2/13 Mario Schubert <mario.schubert@eran.de>
Hello,

I am writing a bot to upload svn commited files to my MediaWiki. The authentication is done by LDAP / Active Directory. For humans it works. But with my bot it fails:

 PHP Warning:  ldap_start_tls(): Unable to start TLS: Can't contact LDAP server in /var/www/mediawiki-git/extensions/LdapAuthentication/LdapAuthentication.php on line 576

Where is my error? Thank you very much.

Best regards
Mario

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l



--
Bináris