Hi Mario,
Op 13-2-2013 14:02, Mario Schubert schreef:
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.
This is a bug in the MediaWiki extension. You should file a bug for that in bugzilla (https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions).
As for solving it. Are you sure you set the (right) LDAP domain in your family file as described at http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Use_on_third-party_wikis... ?
Maarten