HI!
in functions.c I've wrapped ldap_explode_rdn().
It works like this:
$ python2.2
Python 2.2 (#1, Dec 24 2001, 16:35:00)
[GCC 2.95.2 19991024 (release)] on linux2
>>> import ldap
>>> ldap.explode_rdn('cn=Michael Stroeder+mail=michael at stroeder.com')
['cn=Michael Stroeder', 'mail=michael at stroeder.com']
>>>
Ciao, Michael.