From: Graham B. <gb...@po...> - 2001-05-23 07:23:00
|
On Tue, May 22, 2001 at 08:35:09PM -0400, Steve Neruda wrote: > I am writing some scripts to make sure that several Netscape Director > Servers are configured the same. Part of the process is to make sure > that they have the same objectclasses, attributres, matching rules, and > syntaxes. While writing the object class part I may have encountered a > bug. There is both an attribute and object class named "locality" in > the netscape directory server: > > > neruda@farmer:config> sudo grep -i locality slapd.*.conf > slapd.at.conf:attribute l locality > localityname 2.5.4.7 cis > slapd.oc.conf:objectclass locality > > Now if I run this test script below I would expect to see only object > classes printed out put instead 'locality' shows up as an attribute: > Am I doing something wrong here? No you are not. I have just looked at the code and it does make the assumption that no two items will have the same name. The API for name2oid will need to be changed so that when requestion something you either pass the type you are looking for or get a list of all of them. Graham. > > |