From: Justin <da...@io...> - 2001-02-27 03:36:20
|
I knew I forgot something :) I'm using Netscape Directory Server 4.12 with Perl-ldap 0.22 Justin > What LDAP server implementation are you using? > > I suppose that it's possible that the server implementation doesn't > support modifying schema on the fly. > > --Tom > > On Mon, 26 Feb 2001, 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 > > > |