Hi, I'm using Net::LDAP and Net::LDAP::LDIF to extract a subset of the data from our corporate LDAP server for use in our test LDAP server.
I'm getting a bit of an anomaly when DNs contain UTF 8 characters and "encode => 'canonical'" on creating the ldif file for writing. If there is no UTF8 in the DN the dn: line of the ldif entry looks proper... IE dn: cn=Tognoni team,ou=metadata,ou=corpgroups,o=corp.com When it contains UTF 8 characters, the dn: portion is missing CN=Driftsplanlægning Risskov,OU=metadata,OU=corpgroups,O=corp.com The base64 CN is cn:: RHJpZnRzcGxhbmzDpmduaW5nIFJpc3Nrb3Y= For now I'm just going to change the encoding to none or base64. However, having the DN multibyte escaped may make the ldif files a bit more user friendly. Thanks, -- Chris Dukes "In cynicism she's about 35" -- Terry Pratchett's "Hog Father"