Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Cross database permissions problems

$
0
0

Thanks

 

We'll try setting the loginame on the objects

 

> Is the same login (and same suid) defined as the 'dbo' in the source and target dataservers?

Yes - we've checked this and all looks ok.

 

> How do you address suid mismatches between syslogins vs sysusers/sysalternates, and role id mismatches between syssrvroles vs sysusers/sysroles?  suid/role-id mismatches can wreak havoc with accessibility issues

(including permissions


Its a good question. The master..syssrvroles are similar between production and non-production but the srid numbers differ. However, the <db>..sysroles tables looks to have "corrected" itself in the dump/load from

production to non-production - in that the sysroles.id column correctly aligns to master..syssrvroles.


Not sure how this happens. Is it automatic as part of dump/load ?


Also, sp_helprotect, sp_displaylogin shows its all correct but I suspect you're right and we have a mismatch somewhere. Is there a good way of resetting all the roles ?Or should we drop all the roles and re-create them so all servers share the same id's ?



Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>