Hi Maarten,
thank you for your help.
I have set the "self.ldapDomain = ('abc')".
I am using the pywikipedia-rewrite at the moment. I have searched the code, but ldapdomain is not used. Is the pywikipedia-rewrite able to login to LDAP? If yes. How do I set the domain?
Best regards Mario
Am 13.02.2013 21:29, schrieb Maarten Dammers:
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
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l