On Fri, Mar 11, 2011 at 11:08:13AM -0600, scott hollatz wrote:
We've been using perdition in production since
early 2003 and has worked
great with over 70K users configured.
We need to remap userA --> userB but we don't have the username_from_database
option set and our database has simple entries, basically username key
and realhost (e.g., userA
xyz.d.umn.edu).
We can set username_from_database and rewrite the database entries
as 'userA userB*xyz.d.umn.edu', where '*' is the domain delimiter,
but this will create an outage during the update, and we only need to
remap around 50 users.
Question: If username_from_database is set and some users have entries like
'userA userB*xyz.d.umn.edu' and some have 'userC xyz.d.umn.edu' or maybe
'userC *xyz.d.umn.edu', will or can perdition use userC, as in the latter
case, if the name in the server portion is empty?
We don't have a test system otherwise I would try it...
Hi Scott,
I just looked over the code and yes I believe that will work.
Essentially perdition only uses the username from the database
if username_from_database is set and there is a username in the database.