[prev] [thread] [next] [lurker] [Date index for 2006/07/07]
On 2006-07-07 at 10:23 -0500, Peter da Silva wrote: > > The rest of the DN is order-dependent. > > And it has identical tags. If it turns out that X.400 makes something like > "ou=frobozz,cn=us" different from "cn=us,ou=frobozz" different, then I'll be > surprised... because formats usually use unique tags *or* order, but not > both. But here, there's dc=spodhuis,dc=demon,dc=nl -- they're not unique tags. They're dimensions. I can have ou=People as a category and then have fred=People as a _different_ category, heading off down a different axis. So it's a list of tag-dimensioned data. > I'm paranoid about formats myself, but I also ask myself "what could the > guy on the other side do that summon the fuckup fairy" and apply the golden > rule. Normally, I do -- good defensive programming. In this case, I'd just missed it, in part because I was only two steps removed from cargo-culting when I first did this. Guilt is probably why I'm so irked at the arbitrary change. ;^) It's all changed now with new authz directives instead and I need to see what I need to do to change the old syntax, but it's still regexp-based. And it does have the advantage that it's a simple A-B mapping without requiring a separate language parser in the config-file reader; it can just pass the strings off to the regexp library's language parser. Without embedding a scripting language, is there a similar utility available for developers to use? -- VISTA: Viruses, Infections, Spyware, Trojans & AdwareThere's stuff above here
Generated at 23:01 on 05 Dec 2006 by mariachi 0.52