[python-ldap] python-ldap syncrepl consumer
pspacek at redhat.com
Wed Nov 11 02:55:27 EST 2015
On 10.11.2015 18:41, Michael Ströder wrote:
> On 2015-11-10 17:10, David Gabriel wrote:
>> Thank you so much for your quick answer.
>> Since yesterday I have tried to run the example I found in the
>> indicated directory (Demo/pyasn1/syncrepl.py) using this command :
>> python syncrepl.py ldap://localhost test.com  but I still get this
>> error "TypeError: must be string, not None". And it is caused from
>> "ldap_url.who" which is None.
>> Could you please tell me how to fix this issue ?
>> Is it problem coming from server side or the arguments ... ?
> Please always send a complete exception traceback if one of the demo scripts
You have to specify BIND DN etc., please see the example:
$ python syncrepl.py
syncrepl.py <LDAP URL> <pathname of database>
Petr Spacek @ Red Hat
More information about the python-ldap