<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Mo's NAV Blog</title>
	<link>http://mibuso.com/blogs/mosnavblog</link>
	<description>Just another Mibuso.com weblog</description>
	<pubDate>Mon, 29 Mar 2010 12:22:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Security</title>
		<link>http://mibuso.com/blogs/mosnavblog/2010/03/24/hello-world/</link>
		<comments>http://mibuso.com/blogs/mosnavblog/2010/03/24/hello-world/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:38:10 +0000</pubDate>
		<dc:creator>mosnavblog</dc:creator>
		
		<category><![CDATA[Delegation]]></category>

		<category><![CDATA[NAV2009]]></category>

		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi all,
 this blog is intended to help the NAV2009 administrators and not the developers. You can find several blogs about problems inside Navision, but only few with information about the installation and configuration of the NAV related servers and services. So I hope, you&#8217;ll find some helpful information in this blog.
 My first post will about the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi all,</p>
<p> this blog is intended to help the NAV2009 administrators and not the developers. You can find several blogs about problems inside Navision, but only few with information about the installation and configuration of the NAV related servers and services. So I hope, you&#8217;ll find some helpful information in this blog.</p>
<p> My first post will about the security delegation:<br />
If you are the sysadmin of the SQL Server Instance for NAV you probably won&#8217;t have the time to add users inside NAV. But you also don&#8217;t want to give another person sysadmin rights to the SQL Server Instance.</p>
<p>In NAV2009 SP0 it was sufficient to give that person db_owner rights on the NAV database and securityadmin rights on an instance level.</p>
<p>With NAV2009 SP1 Microsoft changed that concept. You now have to give the following permissions:<br />
- db_accessadmin on the master database<br />
- db_securityadmin role on the <strong>NAV</strong> database<br />
- db_owner on the <strong>NAV</strong> database<br />
- securityadmin role on the SQL server</p>
<p>And then it should work.<br />
But on some databases we received the following error message when adding a user to the database:</p>
<p>&#8220;The following SQL Server error or errors occured:<br />
15151, &#8220;42000&#8243;, [Microsoft][ODBC SQL Server Driver][SQL Server] Cannot find the object &#8217;sysprocesses&#8217;, because it does not exist or you do not have permission.</p>
<p>SQL:<br />
GRANT SELECT ON sysprocesses TO [newUser]&#8221;</p>
<p>The sysprocesses is a view in the master database of the SQL instance. If you check, the server role &#8220;public&#8221; already has the select permissions. So the user adding actually worked, but as error messages are always disturbing we wanted to get rid of it. So now you have to give the user who should add new users to the database the following additional permissions:</p>
<p>GRANT SELECT ON master.dbo.sysprocesses<br />
      TO [useradmin]     �<br />
      WITH GRANT OPTION</p>
<p>GRANT VIEW SERVER STATE<br />
     TO [useradmin]�<br />
     WITH GRANT OPTION</p>
]]></content:encoded>
			<wfw:commentRss>http://mibuso.com/blogs/mosnavblog/2010/03/24/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
