Full_Name: Quanah Gibson-Mount Version: 2.4.16 OS: NA URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (75.111.29.239) The slapmodify function already exists, but we've never built a tool around it. It would be useful to be able to have a utility that validates commands that users can use to modify cn=config while slapd is offline, rather than resorting to text editors that don't do validation of the changes being made.
moved from Incoming to Software Enhancements
> Full_Name: Quanah Gibson-Mount > Version: 2.4.16 > OS: NA > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (75.111.29.239) > > > The slapmodify function already exists, but we've never built a tool > around it. > It would be useful to be able to have a utility that validates commands > that > users can use to modify cn=config while slapd is offline, rather than > resorting > to text editors that don't do validation of the changes being made. What about this? <ftp://ftp.openldap.org/incoming/slapmodify> ;) p.
--On Sunday, April 18, 2010 10:17 PM +0200 masarati@aero.polimi.it wrote: >> Full_Name: Quanah Gibson-Mount >> Version: 2.4.16 >> OS: NA >> URL: ftp://ftp.openldap.org/incoming/ >> Submission from: (NULL) (75.111.29.239) >> >> >> The slapmodify function already exists, but we've never built a tool >> around it. >> It would be useful to be able to have a utility that validates commands >> that >> users can use to modify cn=config while slapd is offline, rather than >> resorting >> to text editors that don't do validation of the changes being made. > > What about this? > > <ftp://ftp.openldap.org/incoming/slapmodify> Very cute, but it fails the second portion of the requirement, which is command validation. ;) --Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
> Very cute, but it fails the second portion of the requirement, which is > command validation. ;) Here's a poor man's implementation. It *should* work for add & modify; don't quite know how to delete entries; this also implies renaming. probably, this would need be_tool_rename & be_tool_delete hooks. Cannot compete in efficiency with slapadd; uses newly added ldifutil stuff (ITS#6194). Please test. p.
--On Tuesday, April 20, 2010 4:03 AM +0000 masarati@aero.polimi.it wrote: > >> Very cute, but it fails the second portion of the requirement, which is >> command validation. ;) > > Here's a poor man's implementation. It *should* work for add & modify; > don't quite know how to delete entries; this also implies renaming. > probably, this would need be_tool_rename & be_tool_delete hooks. Cannot > compete in efficiency with slapadd; uses newly added ldifutil stuff > (ITS#6194). Please test. Cool, thanks! I'll give it a spin :) I believe delete support was added to back-ldif in HEAD, but I'm not sure how it works either. --Quanah -- Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
changed notes changed state Open to Test moved from Software Enhancements to Development
added to HEAD review contextCSN behavior no man page