electionszindabad Posted October 27, 2015 Report Posted October 27, 2015 Today oka issue 3 4 hours time waste chesindi. Prod server ni dev lo restore cheyataniki oka script ichadu dbas. Direct ga ssms window lo run cheste it will execute. But aa script lo one statement is Alter database @$!#/ authorization \&*( Ni vundi. Basically owner change ayyindi dani valla. And some views are calling functions from diff database in the same server but that database has a different owner than the one that is restores. Both the owners are sysadmin accounts that has only dbos as members in it. Result was ownership chaining and other access issues that opened up a can of worms. So in future please check ownership chaining issues when accessing different databases .. it's one of the basic thiNGS dbas should have taken care of. But they didn't.
sqladdict Posted October 27, 2015 Report Posted October 27, 2015 Oho alagey ayitey...ee labda loo dba's who are near to retirement..sav kodataru..retire avvandra..nee yavva
electionszindabad Posted October 27, 2015 Author Report Posted October 27, 2015 Oho alagey ayitey...ee labda loo dba's who are near to retirement..sav kodataru..retire avvandra..nee yavva Lol
Quickgun_murugan Posted October 27, 2015 Report Posted October 27, 2015 Today oka issue 3 4 hours time waste chesindi. Prod server ni dev lo restore cheyataniki oka script ichadu dbas. Direct ga ssms window lo run cheste it will execute. But aa script lo one statement is Alter database @$!#/ authorization \&*( Ni vundi. Basically owner change ayyindi dani valla. And some views are calling functions from diff database in the same server but that database has a different owner than the one that is restores. Both the owners are sysadmin accounts that has only dbos as members in it. Result was ownership chaining and other access issues that opened up a can of worms. So in future please check ownership chaining issues when accessing different databases .. it's one of the basic thiNGS dbas should have taken care of. But they didn't. alaage.. mee company lo openings unte pm cheyy... break istha..
Kontekurradu Posted October 27, 2015 Report Posted October 27, 2015 alaage.. mee company lo openings unte pm cheyy... break istha.. naak kuda pm no
Recommended Posts