--On Wednesday, February 28, 2007 1:10 PM -0800 Quanah Gibson-Mount quanah@stanford.edu wrote:
So I have an interesting issue, and I'm wondering if there's an easy solution (although I'm guessing it would take slapo-rwm reworking).
Basically, email id's can come in the form of
quanah@stanford.edu, q.u.a.n.a.h@stanford.edu q-u.a-n-a.h@stanford.edu qua.na-h@stanford.edu
(basically, any combination of periods and hyphens). My own data is:
lsearch uid=quanah suseassunetid dn: uid=quanah,cn=accounts,dc=stanford,dc=edu suSeasSunetID: qgibsonmount suSeasSunetID: quanah suSeasSunetID: quanahgibsonmount
which means that any form of quanah@stanford.edu, qgibsonmount@stanford.edu, and quanahgibsonmount@stanford.edu are deliverable.
In our directory, we store what we consider the normalized form (all periods and hyphens stripped out). What I'd like is a way to make sure that any incoming filter request for the attribute (suseassunetid) strips the value(s) of periods and hyphens before the query is evaluated.
Never mind, the man page does have an example of this (for slapo-rwm)... Silly me. ;)
--Quanah
-- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html