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

Re: Kerberos and simple binds using same password database?



> Oh, plural... That changes things. I don't know if there is a 'toupper()'
> thingie for REGEXP, but if you can find one (I really suck at REGEXP :)
> you could use 'cn=(.*)' instead of 'cn=domain.tld' and then use
> something like '$1@toupper($2)' in your REGEXP (NOTE: This don't obviosly
> work - it's just an illustration!!!).

Partially OT: "authz-regexp" in HEAD can use the rewrite features of
librewrite (--enable-rewrite), including writing "functions" that can be
invoked inside expansion.  There is no builtin toupper capability, but it
could be easily added by hacking librewrite.  I think at some point I will
add the possibility to dynamically load custom bits of code for
specialized features.

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497