RE: Net::LDAP::LDIF usage

2008-01-08 Thread Webb, Andy
There are a couple issues - first, make sure you're on the latest release. There were a couple bugs in earlier releases that ldifde was sensitive to. I use the following to create valid ldifde files: my $ldifout = Net::LDAP::LDIF->new(">import.ldf","w",encode=>'base64',change=>'1'); -Or

Re: Net::LDAP::LDIF usage

2008-01-08 Thread Martin Fabiani
Hi, the problem seems to be that you want to write a change ldif format, not a full one? It looks as the constructor parameter change => 1 does this, but I haven't yet tested it: my $ldif = Net::LDAP::LDIF->new( file => ..., change => 1 ); My experience with ldifde comes from Win2000, and I