Jump to content

Sql Server Dba And Developers


Recommended Posts

Posted

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.

Posted

Oho alagey ayitey...ee labda loo dba's who are near to retirement..sav kodataru..retire avvandra..nee yavva

Posted

Oho alagey ayitey...ee labda loo dba's who are near to retirement..sav kodataru..retire avvandra..nee yavva


Lol
Posted

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..

Posted

alaage.. mee company lo openings unte pm cheyy... break istha..

naak kuda pm no run_dog.gif

×
×
  • Create New...