[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: objectclass modification

At present, slapd(8) does not support any mechanism to allow
change of the object's structural class.


At 10:29 AM 6/14/2004, Jonathan Higgins wrote:
>I want to add the groupOfURLs object class to a bunch of groups in my
>tree, but because it and posixGroup are both structural I had to create
>a new objectClass.  Done, and have successfully added a group using the
>new object class and it holds all the attributes that I want.
>I have a bunch of groups and I want to replace the objectClass on each
>one, but I get the LDAP_NO_OBJECT_CLASS_MODS or error 69.  Any way
>around this without deleting and then recreating the group?
>I have valid oid and such.. here is my schema for the group object
>objectclass (
>             NAME 'myEduGroup'
>             SUP ( posixGroup $ groupOfURLs ) STRUCTURAL
>             DESC ' My State University Group'
>             MUST ( cn )
>             MAY ( gidNumber $ memberURL $ memberUid $ userPassword $
>description ) )
>the nis.schema and dyngroup.schema are both included in my slapd.conf.
>I am using perl-ldap to write a program to do the changes, because I
>have around 10k groups at the moment.
>any suggestions?
>Jonathan Higgins
>Network Service Specialist IV
>Kennesaw State University