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 ([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 “”) attempt auth with ldap;
else createAccountAndEmailPassword();
somewhere in RT’s authentication routines?

Thanks in advance,


Troy Orion Cox
ICES Sysnet