<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Network Administrator Knowledgebase &#187; BES</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-administrator/tag/bes/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-administrator</link>
	<description></description>
	<lastBuildDate>Thu, 28 Feb 2013 15:55:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>BESadmin and &#8216;Send As&#8217; Right</title>
		<link>http://itknowledgeexchange.techtarget.com/network-administrator/besadmin-and-send-as-right/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-administrator/besadmin-and-send-as-right/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 23:22:41 +0000</pubDate>
		<dc:creator>Michael Khanin</dc:creator>
				<category><![CDATA[BES]]></category>
		<category><![CDATA[BESADMIN]]></category>
		<category><![CDATA[BlackBerry Enterprise Server]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-administrator/besadmin-and-send-as-right/</guid>
		<description><![CDATA[If you are working with BES (BlackBerry Enterprise Server) you can get a problem, when users cannot send emails from their Blackberry. And, I guess you already familiar with a &#8220;Send As Permission&#8221; problem . So, I created a script, that allows set all neccesasry right to the BESADMIN account. When you run script, you [...]]]></description>
				<content:encoded><![CDATA[<p>If you are working with <strong>BES</strong> (<strong><em>BlackBerry Enterprise Server</em></strong>) you can get a problem, when users cannot send emails from their Blackberry. And, I guess you already familiar with a &#8220;<strong><em>Send As Permission</em></strong>&#8221; problem <img src='http://itknowledgeexchange.techtarget.com/network-administrator/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>So, I created a script, that allows set all neccesasry right to the <strong>BESADMIN</strong> account. When you run script, you should provide an OU, where the particular user exist and user&#8217;s email address.</p>
<p><strong>NOTE</strong>:<em> In my script I used <strong>linex.exe</strong> and <strong>dsacls.exe</strong>. Just use Google to download those very POWERFUL tools <img src='http://itknowledgeexchange.techtarget.com/network-administrator/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em></p>
<p><em>@echo off<br />
SET Tools=C:\Tools<br />
SET TEMP=C:\TMP</p>
<p>SET SOU=<br />
SET BES=<br />
SET ou4user=<br />
SET BES-USER=</p>
<p>DSQUERY OU domainroot &gt; %TEMP%\ou.txt<br />
%Tools%\linex -n &lt; %TEMP%\ou.txt</p>
<p>SET /p SOU=&#8221;Please type # of OU where the user located: &#8221;<br />
SET /p BES=&#8221;Please type user&#8217;s email address: &#8221;</p>
<p>FOR /F &#8220;TOKENS=* delims==,OU&#8221; %%a in (&#8216;%Tools%\LINEX -l %SOU% ^&lt;%TEMP%\OU.txt&#8217;) do set ou4user=%%~a</p>
<p>FOR /F &#8220;TOKENS=2 delims==,&#8221; %%a in (&#8216;dsquery * &#8220;%ou4user%&#8221; -attr mail distinguishedName^|find /i &#8220;%BES%&#8221;&#8216;) do set BES-USER=%%~a</p>
<p>@echo &#8220;%BES-USER%&#8221;<br />
</em></p>
<p><em>dsacls &#8220;CN=%BES-USER%,%ou4user%&#8221; /G &#8220;%USERDOMAIN%\BESADMIN:GR&#8221;<br />
dsacls &#8220;CN=%BES-USER%,%ou4user%&#8221; /G &#8220;%USERDOMAIN%\BESADMIN:CA;Send As&#8221;</em></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-administrator/besadmin-and-send-as-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
