Open GoogleCodeExporter opened 8 years ago
It appears that Oracle is removing the user id and password if a connection
string hasn't been specified. This doesn't seem like desired behavior.
if (string.IsNullOrEmpty(admin_connection_string))
{
admin_connection_string = Regex.Replace(connection_string, "Integrated Security=.*?;", "Integrated Security=yes;");
admin_connection_string = Regex.Replace(admin_connection_string, "User Id=.*?;", string.Empty);
admin_connection_string = Regex.Replace(admin_connection_string, "Password=.*?;", string.Empty);
}
Original comment by trueblu...@gmail.com
on 3 Dec 2011 at 2:54
Agreed it isn't desired, but I think this raises some other questions. So by
default, if no admin connection is specified, the non-admin connection string
is used. To me, it still looks like what's happening is that RoundhousE is
trying to open the admin connection for the alterDatabase scripts folder. What
other operations require the admin connection? What happens if the user
connection doesn't have the privileges to execute "admin" operations? Does the
addition of the alterDatabase folder essentially mean that the "admin"
connection information is always required (or alternatively, that if it's not,
the normal connection must have the necessary admin privileges)?
Original comment by mcconnel...@gmail.com
on 3 Dec 2011 at 8:33
I want to hope that an "admin" connection is not opened unless used.
Original comment by trueblu...@gmail.com
on 6 Dec 2011 at 7:24
Original issue reported on code.google.com by
mcconnel...@gmail.com
on 3 Dec 2011 at 6:46