Hello, I''m using 389 ds 1.2.0. I''ve created a class of service on ou=people, which adds an attribute with a specific attribute. I''ve proceded in 3 steps : 1 - created an object of objectclass nscontainer named cn=cosTemplates at the root of my tree 2 - under that object, created an object of class cosTemplate and extensibleobject - added the desired attribute with default value for ou=people 3 - created a class of service with the wizzard "New -> Class of service" by right clicking on ou=people. Strange thing is that the class of service applies, but I can''t find any object that corresponds to the class of service itself. I tried to search with this filter (objectclass=cos*) but I don''t get it. Would you have any idea about how to find it in order to remove it for example ? Best regards, -- Mikael Kermorgant
Hello again, I''ve finally found it, but only via browsing slowly among the thousands of accounts under ou=people. Isn''t there a better way to find and edit/remove a class of service ? Regards, Mikael Kermorgant On Thu, Sep 24, 2009 at 12:40 AM, Mikael Kermorgant <mikael.kermorgant@gmail.com> wrote:> Hello, > > I''m using 389 ds 1.2.0. > > I''ve created a class of service on ou=people, which adds an attribute > with a specific attribute. > > I''ve proceded in 3 steps : > 1 - created an object of objectclass nscontainer named cn=cosTemplates > at the root of my tree > 2 - under that object, created an object of class cosTemplate and > extensibleobject - added the desired attribute with default value for > ou=people > 3 - created a class of service with the wizzard "New -> Class of > service" by right clicking on ou=people. > > Strange thing is that the class of service applies, but I can''t find > any object that corresponds to the class of service itself. > I tried to search with this filter (objectclass=cos*) but I don''t get it. > > Would you have any idea about how to find it in order to remove it for example ? > > Best regards, > > -- > Mikael Kermorgant >-- Mikael Kermorgant
Mikael Kermorgant wrote:> Hello again, > > I''ve finally found it, but only via browsing slowly among the > thousands of accounts under ou=people. > > Isn''t there a better way to find and edit/remove a class of service ? >The class of service definition entry is an "ldapSubEntry" - this is sort of like an "operational entry" - hidden from regular ldap search operations. You must specify the search filter (objectclass=ldapSubEntry) to find these objects. If you want to search for entries of this type with additional search criteria, use the & operator - (&(objectclass=ldapSubEntry)(cn=mycostemplatename))> Regards, > > Mikael Kermorgant > > On Thu, Sep 24, 2009 at 12:40 AM, Mikael Kermorgant > <mikael.kermorgant@gmail.com> wrote: > >> Hello, >> >> I''m using 389 ds 1.2.0. >> >> I''ve created a class of service on ou=people, which adds an attribute >> with a specific attribute. >> >> I''ve proceded in 3 steps : >> 1 - created an object of objectclass nscontainer named cn=cosTemplates >> at the root of my tree >> 2 - under that object, created an object of class cosTemplate and >> extensibleobject - added the desired attribute with default value for >> ou=people >> 3 - created a class of service with the wizzard "New -> Class of >> service" by right clicking on ou=people. >> >> Strange thing is that the class of service applies, but I can''t find >> any object that corresponds to the class of service itself. >> I tried to search with this filter (objectclass=cos*) but I don''t get it. >> >> Would you have any idea about how to find it in order to remove it for example ? >> >> Best regards, >> >> -- >> Mikael Kermorgant >> >> > > > >