OK I finally got it, here is a summary of what I tried and what worked:
$mesg = $obj->modify($dn,
changes => [
delete => [ 'ipHostNumber','objectclass' => [ 'ipHost' ]]
]
);
17 - The request contains an undefined attribute type
$mesg = $obj->modify($dn,
changes => [
delete => [ 'ipHostNumber' ]
Have you tried making sure to delete any attributes associated with
that object class first?
On 12/12/09, Kent wrote:
> OpenLDAP 2.4.16 on CentOS 5.3
> Perl version 5.10.0 on Ubuntu
>
> I Have this entry in LDAP:
>
> dn: cn=00-1E-52-76-B4-8A,ou=Devices,ou=Network,dc=mbl,dc=edu
> cn: 00-1E-52-76-B