adding binary attribute using python-ldap

2008-03-19 Thread Rahul Amaram
Hi, I was wondering if there is any way I can add binary data (such as jpegPhoto and userCertificate) using python-ldap. I've googled but coudn't find any solution. If there is no way of doing it, what is the best alternative solution? Thanks and Regards, Rahul. -- http://rahul.amaram.name

Re: adding binary attribute using python-ldap

2008-03-19 Thread Rahul Amaram
ibute name "userCertificate;binary". Else you are likely to get an undefined attribute / binary transfer failed error. Regards, Rahul. On Wed, 19 Mar 2008 19:01:25 +0100, Michael Ströder <[EMAIL PROTECTED]> wrote: > Rahul Amaram wrote: >> I was wondering if there is any way I can add bi

support for wildcard certficates

2008-07-03 Thread Rahul Amaram
Hi, I have set up a ldap server with a wildcard certificate. Upon trying to establish a TLS connection using python ldap, I get the error "TLS: hostname does not match CN in peer certificate". This works fine if I use a certificate with the exact domain name. Is this a bug? Are there any known

Re: support for wildcard certficates

2008-07-03 Thread Rahul Amaram
that support for wildcart certificates has been incorporated in a version in between these two. Thanks a ton for the immediate response. Regards, Rahul. Michael Ströder wrote: > Rahul Amaram wrote: >> I have set up a ldap server with a wildcard certificate. Upon trying >> to

Modifying multiple dns with a single function call

2011-03-17 Thread Rahul Amaram
Hi, I would like to know if it possible to modify multiple dns at once i.e. via a single modify_s request. I might need to update about 10,000 entries and I was wondering about the best way to do this. Any suggestions/feedback on how best this could be achieved using python-ldap would be very

Re: Modifying multiple dns with a single function call

2011-03-18 Thread Rahul Amaram
...@example.com I want to make all the above changes with a single function call. Is this possible or should I call modify_s once for each dn entry? Regards, Rahul. On Friday 18 March 2011 03:25 PM, Michael Ströder wrote: > Rahul Amaram wrote: >> I would like to know if it possible to modify mul