--On Wednesday, February 28, 2007 1:10 PM -0800 Quanah Gibson-Mount <[EMAIL PROTECTED]> 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

[EMAIL PROTECTED],
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(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 [EMAIL PROTECTED],
[EMAIL PROTECTED], and [EMAIL PROTECTED] 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

Reply via email to