From: Clif H. <ch...@po...> - 2001-02-27 03:21:39
|
Justin wrote: > Greetings! > > I am now trying to write a modified schema entry back to the directory > and am having problems. Perhaps someone here can see the error of my ways. > This is how I'm trying to do it: > > Create a Net::LDAP::Entry, $entry > Set the $entry->dn("cn=Schema"); > Create a multivalued hash with keys "attributetypes" and "objectclasses" > Call $entry->modify() with "replace" and the reference to the above hash. > > This call returns: 0x35 LDAP_MOD_REPLACE is not implemented on schema entry > > What I'm wondering is: > > -Is this error coming from the perl ldap modules? > > -Is modify/replace the proper way to programmatically affect the directory > schema? > > Thanks for your suggestions. > Justin I believe the error message is telling you the dynamic schema modifications are not allowed (implemented) on your server. Many directory servers do not allow dynamic schema modifications, you have to modify the schema control files and then restart the directory server. It would help to know what company provided the directory server. Regards, Clif Harden |