Thanks, I will add it in.
One thing that stands out to me is that you needed to access the contents
of $ldif to set changetype.
This shows a hole in the Net::LDAP::LDIF module.
Graham.
On Sat, Apr 21, 2001 at 12:50:55PM -0400, Kartik Subbarao wrote:
> Attached is a start at an ldapmodify.pl tool. Right now, it's pretty
> simple, supporting the basic options of Netscape's ldapmodify command.
> I'd be interested in feedback on where to go with this. First, is there
> interest in a contrib tool of this sort? If so, what types of command
> line arguments should it support, how should it print info to STDOUT and
> STDERR, how should support for SSL be added, etc.
>
> One other thing I wanted to explore -- is the ldifModify() function in
> the script useful enough to consider adding to one of the objects, such
> as Conn or LDIF? I was thinking it might be nice to have the capability
> to take LDIF snippets and apply them directly to an LDAP server.
>
> Thanks,
>
> -Kartik
|