Autocreate random passwords only for non-domain tickets?

Hi, I’ve got the LDAP authentication and account auto creation working great
with RT. However, it would be nice to have random passwords (Using the
AutogeneratedPassword template) e-mailed only for users that can’t be
authenticated by LDAP. I looked through the RT modules for authentication,
until realizing I had no idea what I was doing :frowning:

This general idea was mentioned on this list about a month ago at
http://lists.fsck.com/pipermail/rt-users/2006-July/040640.html ([rt-users]
LDAP working, now the next step)

Is there an easy way to implement this, perhaps hacking in a perl-ified
version of
if ( email contains “ices.utexas.edu”) attempt auth with ldap;
else createAccountAndEmailPassword();
somewhere in RT’s authentication routines?

Thanks in advance,

-Troy

Troy Orion Cox
ICES Sysnet

e: trox@ices.utexas.edu