Auto add users not in db

I have managed to configure apache to get the
ExternalAuth to work, but it seems if a user is not
already entered into the local db, then they login to
RT anyway. Is there a hack out there that works with
the ExternalAuth that checks if a user is in the local
db and, if not, adds them so that they can access RT
once they are authenticated?

Thanks,
Aaron

Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Aaron Bryant bryantac67@yahoo.com writes:

I have managed to configure apache to get the
ExternalAuth to work, but it seems if a user is not
already entered into the local db, then they login to
RT anyway. Is there a hack out there that works with
the ExternalAuth that checks if a user is in the local
db and, if not, adds them so that they can access RT
once they are authenticated?

yup, it’s easy. I sent a patch to do this awhile ago:
http://lists.fsck.com/pipermail/rt-devel/2002-May/002357.html

seph