<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: SQL Active Directory User ID SID Mismapings</title>
	<atom:link href="http://www.allenkinsel.com/archive/2010/02/sql-active-directory-user-id-sid-mismapings/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.allenkinsel.com/archive/2010/02/sql-active-directory-user-id-sid-mismapings/</link>
	<description>SQL Server, PASS, and other data mishaps</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:21:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Allen Kinsel</title>
		<link>http://www.allenkinsel.com/archive/2010/02/sql-active-directory-user-id-sid-mismapings/comment-page-1/#comment-97</link>
		<dc:creator>Allen Kinsel</dc:creator>
		<pubDate>Wed, 24 Feb 2010 05:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.allenkinsel.com/?p=262#comment-97</guid>
		<description>Awesome, one of these days Im going to get a lot better at Powershell, thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Awesome, one of these days Im going to get a lot better at Powershell, thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Miller</title>
		<link>http://www.allenkinsel.com/archive/2010/02/sql-active-directory-user-id-sid-mismapings/comment-page-1/#comment-90</link>
		<dc:creator>Chad Miller</dc:creator>
		<pubDate>Thu, 18 Feb 2010 15:45:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.allenkinsel.com/?p=262#comment-90</guid>
		<description>Powershell and .NET will also work. From sqlps:

PS SQLSERVER:\SQL\Z002\SQL2K8&gt; invoke-sqlcmd -Query &quot;select name, sid from sys.server_principals where type IN (&#039;U&#039;,&#039;G&#039;)&quot; &#124; foreach {add-member -in $_ -membertype noteproperty SSDL (new-object security.principal.securityidentifier($_.SID,0)).ToString() -passthru} &#124; where {$_.SSDL -eq &#039;S-X-X-X-X&#039;}</description>
		<content:encoded><![CDATA[<p>Powershell and .NET will also work. From sqlps:</p>
<p>PS SQLSERVER:\SQL\Z002\SQL2K8&gt; invoke-sqlcmd -Query &#8220;select name, sid from sys.server_principals where type IN (&#8216;U&#8217;,'G&#8217;)&#8221; | foreach {add-member -in $_ -membertype noteproperty SSDL (new-object security.principal.securityidentifier($_.SID,0)).ToString() -passthru} | where {$_.SSDL -eq &#8216;S-X-X-X-X&#8217;}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

