<?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>Database.fi &#187; Operating System Authentication</title>
	<atom:link href="http://www.database.fi/tag/operating-system-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.database.fi</link>
	<description>Database Performance &#38; Disaster Solutions</description>
	<lastBuildDate>Tue, 25 Oct 2011 07:43:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Operating System (OS) authentication in Windows</title>
		<link>http://www.database.fi/2010/03/operating-system-os-authentication-in-windows/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=operating-system-os-authentication-in-windows</link>
		<comments>http://www.database.fi/2010/03/operating-system-os-authentication-in-windows/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 21:39:06 +0000</pubDate>
		<dc:creator>pparkko</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Operating System Authentication]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS Authentication]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.database.fi/?p=8</guid>
		<description><![CDATA[I had a question in training about OS authentication in Windows.
The question was about normal user authentication, not the SYSDBA authentication.
Hmm. I had never used it for authenticating normal users – so I just had to try.
First I need to know which user I am:
SQL> select UPPER(sys_context(&#8216;userenv&#8217;,'os_user&#8217;)) from dual;
UPPER(SYS_CONTEXT(&#8216;USERENV&#8217;,'OS_USER&#8217;))
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
PASICITRUS\PASI PARKKONEN
SQL>
The next step is to create [...]]]></description>
			<content:encoded><![CDATA[<p>I had a question in training about OS authentication in Windows.<br />
The question was about normal user authentication, not the SYSDBA authentication.<br />
Hmm. I had never used it for authenticating normal users – so I just had to try.<br />
First I need to know which user I am:<br />
SQL> select UPPER(sys_context(&#8216;userenv&#8217;,'os_user&#8217;)) from dual;<br />
UPPER(SYS_CONTEXT(&#8216;USERENV&#8217;,'OS_USER&#8217;))<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
PASICITRUS\PASI PARKKONEN<br />
SQL><br />
The next step is to create that user and grant user rights:<br />
create user &#8220;PASICITRUS\PASI PARKKONEN&#8221; identified externally;<br />
User created.<br />
SQL> grant dba to &#8220;PASICITRUS\PASI PARKKONEN&#8221;;<br />
Grant succeeded.<br />
Now I can try to connect:<br />
SQL> connect /<br />
Connected.<br />
Who am I..?<br />
SQL> show user<br />
USER is &#8220;PASICITRUS\PASI PARKKONEN&#8221;<br />
Great, done!  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.database.fi/2010/03/operating-system-os-authentication-in-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

