Re: adding binary attribute using python-ldap

2008-03-20 Thread Michael Ströder
Rahul Amaram wrote:
> Thanks for the response. I think I found the reason for the error. It seems
> to be necessary to append ";binary" to the attribute name while
> adding/modifying binary attributes.

Not for all, better to say for just a few. Sending JPEG picture data for 
attribute type 'jpegPhoto' works straight with this attribute type name.

> So for instance if I am
> adding/modifying userCertificate, I will have to use the attribute name
> "userCertificate;binary". Else you are likely to get an undefined attribute
> / binary transfer failed error.

Yes, for most attribute types which hold certificate data. This has historic 
reasons because without ;binary another LDAP-specific encoding could be 
transferred. There has never been such a encoding defined. But you MUST use 
;binary for attributes with syntax 'X.509 Certificate' (syntax OID 
1.3.6.1.4.1.1466.115.121.1.8).

See also section 2.1 of
http://www.ietf.org/rfc/rfc4523.txt

Ciao, Michael.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Removing person names in python-ldap's source files

2008-03-20 Thread David Leonard
Michael Ströder wrote:
> HI!
>
> inspired by a presentation the Subversion guys gave (as Google tech talk) 
> I'd like to remove all person names from the source code files. Instead 
> authors/contributors are all listed in README.
>
> I already removed *my* name from all the python modules it appeared in. Now 
> I'd like to ask for the permission, especially by David, to remove all other 
> person names from the files Modules/*.
>
>   

Hi, Michael - sorry for the delay, I have been vacationing.

Is the tech talk presentation online? It sounds like a good idea; please 
move my name out of source files.: you have my permission. The commit 
info is probably going to be sufficient :)

Also, I added python-ldap to ohloh (http://www.ohloh.net/projects/11988)

d


-- 
David Leonard   [EMAIL PROTECTED]
Ph:+61 404 844 850


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev


Re: Removing person names in python-ldap's source files

2008-03-20 Thread Michael Ströder
David Leonard wrote:
> Michael Ströder wrote:
>>
>> inspired by a presentation the Subversion guys gave (as Google tech 
>> talk) I'd like to remove all person names from the source code files. 
>> Instead authors/contributors are all listed in README.
>>
>> I already removed *my* name from all the python modules it appeared 
>> in. Now I'd like to ask for the permission, especially by David, to 
>> remove all other person names from the files Modules/*.
> 
> Is the tech talk presentation online?

"How Open Source Projects Survive Poisonous People (And You Can Too)"

http://video.google.nl/videoplay?docid=-4216011961522818645

Fortunately we didn't have this kind of problems in the past. But I wanted 
to avoid discussions about when a personal name on source or documentation 
is mentioned.

> It sounds like a good idea; please 
> move my name out of source files.: you have my permission.

Ok, done. Also in Doc/.

> The commit 
> info is probably going to be sufficient :)

Yes. And the contributors are and will be listed in README.

Ciao, Michael.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev