Your message dated Thu, 08 Mar 2007 13:50:52 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing duplicate
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: python-ldap
Version: 2.2.0-3
Severity: important
*** Please type your report below this line ***
-- System Information:
Debian Release: 4.0
APT prefers testing-proposed-updates
APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-amd64
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Versions of packages python-ldap depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libldap2 2.1.30-13.3 OpenLDAP libraries
ii libsasl2 2.1.22.dfsg1-8 Authentication abstraction library
ii python 2.4.4-2 An interactive high-level object-o
ii python-central 0.5.12 register and build utility for Pyt
python-ldap recommends no packages.
-- debconf-show failed
I have wrote this script
#!/usr/bin/python
##
import ldif,sys
class c(ldif.LDIFParser):
def handle(self,dn,entry):
print "dn:",dn
print entry
print
f=open(sys.argv[1])
l=c(f)
l.parse()
##end
then I use it to parse this LDIF-file:
##Begin LDIF##
dn: cn=xxx
changetype: add
objectClass: top
dn: cn=xx,o=yy
changetype: modrdn
newrdn: cn=yy
deleteoldrdn: 1
dn: cn=xx,o=yy
changetype: modrdn
newrdn: cn=yy
deleteoldrdn: 1
newsuperior: o=ee
## END##
It outputs as following:
##Begin Output
dn: add
{'objectClass': ['top']}
dn: modrdn
{'newrdn': ['cn=yy'], 'deleteoldrdn': ['1']}
dn: modrdn
{'newrdn': ['cn=yy'], 'deleteoldrdn': ['1'], 'newsuperior': ['o=ee']}
##END OUTPUT
This is a important bug!
--
--
Best Regards
Chaos Eternal
--- End Message ---
--- Begin Message ---
This was a duplicate of #413980.
--- End Message ---