From: Andrew T. <atr...@ac...> - 2002-06-12 23:14:04
|
I'm writing some code to take a dump of our LDAP server, perform some modifications, and then write out the result as input to slapadd (I'm actually outputting it to a file at the moment). So, I read in an ldif entry, perform some modifications, and then write it out to a new ldif file. The problem is that while, $ldifEntry->delete([qw(attr1,attr2,attr3)]); does absolutely nothing (not what I expected), $ldifEntry->delete('attr1'); $ldifEntry->delete('attr2'); $ldifEntry->delete('attr3'); results in those attributes being removed from the new ldif entries. Am I doing something wrong? Best, Andrew -- and...@uc... Unix Systems Group UC, Riverside |