<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>T-SQL</title><link>http://sqlserver.ro/forums/15/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2498.aspx</link><pubDate>Thu, 16 Aug 2007 14:14:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2498</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2498.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2498</wfw:commentRss><description>&lt;P&gt;f buna aplicatie.....ma ajuta mult....&lt;/P&gt;
&lt;P&gt;mersi mult&lt;/P&gt;
&lt;P&gt;alex.&lt;/P&gt;</description></item><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2486.aspx</link><pubDate>Wed, 15 Aug 2007 13:21:04 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2486</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2486.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2486</wfw:commentRss><description>problerma e ca activ e dir nu e un flat database e o baza de date ldap si tb sa folosesti ldap queryes pt a o interoga nush daca poti face asta din vreun cleint de mssql,in afara de faptukl ca tb sa cunosti ldap sintax</description></item><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2485.aspx</link><pubDate>Wed, 15 Aug 2007 11:46:11 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2485</guid><dc:creator>B_gd_n[ ]Sahlean</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2485.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2485</wfw:commentRss><description>&lt;p&gt;Incearca aici: &lt;a href="http://www.codeproject.com/aspnet/LikeDataStores.asp" title="http://www.codeproject.com/aspnet/LikeDataStores.asp" target="_blank"&gt;SQL Server: how to link different data sources together&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Poate te ajuta asta:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;"Link Microsoft SQL Server to a directory&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="intelliTXT"&gt;
&lt;p&gt;&lt;b&gt;You can link SQL Server to a directory like Active Directory or
Active Directory Application Mode. Create a linked server in the
Enterprise Manager and give it a descriptive name like "Active
Directory Link". Choose the option "Other data source" and select the
data provider "OLE DB Provider for Microsoft Directory Services". As
product name enter "Active Directory Services" and as data source enter
"&lt;code&gt;adsdatasource&lt;/code&gt;". When you expand the new linked server you
will find two available items - Tables and Views. So SQL Server allows
you to view any tables or views in this data source. But the data
provider "OLE DB Provider for Microsoft Directory Services" does not
provide either the tables or views. Therefore you will get the error
"Error 7301: Could not obtain a required interface from OLEDB provider
ADsDSOObject". You can safely ignore the error message. You will be
able to query the data store through the SQL query language.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;It is important that you run the services "MSSQLSERVER" under an
account which has access to the directory. If you run the services
under the local system account you will get the following error when
you try to query the data store:&lt;/b&gt;&lt;/p&gt;&lt;pre&gt;&lt;b&gt;Server: Msg 7321, Level 16, State 2, Line 1&lt;br&gt;An error occurred while preparing a query for &lt;br&gt;         execution against OLE DB provider 'ADsDSOObject'.&lt;br&gt;OLE DB error trace [OLE/DB Provider 'ADsDSOObject' &lt;br&gt;                    CommandPrepare::Prepare returned 0x80040e14].&lt;br&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;p&gt;&lt;b&gt;So if the directory runs on your local machine and the local user "&lt;code&gt;DirectoryUser&lt;/code&gt;"
has access to it then you need to run the "MSSQLSERVER" service under
this account. If the directory is running somewhere in your domain and
the domain user "&lt;code&gt;DomainUser&lt;/code&gt;" has access to it then you need to run the "MSSQLSERVER" service under this domain account."&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2484.aspx</link><pubDate>Wed, 15 Aug 2007 11:38:49 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2484</guid><dc:creator>crestinul</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2484.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2484</wfw:commentRss><description>Mosule am eu o scula mica facut in dot net pt asa ceva cauta-ma pe mess sau vezi pe itboard ca am postat sursa</description></item><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2483.aspx</link><pubDate>Wed, 15 Aug 2007 11:29:26 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2483</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2483.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2483</wfw:commentRss><description>&lt;P&gt;nu ma descurc....ma tot chinui de ceva vreme....nu inteleg exact ce si cum terbuie facut&lt;/P&gt;
&lt;P&gt;daca ai vreodata ceva timp liber sa imi zici te rog pas cum pas ce si cum ar trebui facut ar fi super...intre timp ma mai chinui.&lt;/P&gt;
&lt;P&gt;multumesc mult.&lt;/P&gt;
&lt;P&gt;alex.&lt;/P&gt;</description></item><item><title>Re: interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2482.aspx</link><pubDate>Wed, 15 Aug 2007 07:31:23 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2482</guid><dc:creator>B_gd_n[ ]Sahlean</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2482.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2482</wfw:commentRss><description>&lt;p&gt;Trebuie sa folosesti furnizorul de date OLE DB (OLE DB Data Provider) "&lt;b&gt;OLE DB Provider for Microsoft Directory Services&lt;/b&gt;" !&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Citeste aici: &lt;a href="http://msdn2.microsoft.com/en-us/library/ms190803.aspx" title="http://msdn2.microsoft.com/en-us/library/ms190803.aspx" target="_blank"&gt;http://msdn2.microsoft.com/en-us/library/ms190803.aspx&lt;/a&gt; !&amp;nbsp;&lt;/p&gt;</description></item><item><title>interogare useri din Active Directory</title><link>http://sqlserver.ro/forums/thread/2481.aspx</link><pubDate>Wed, 15 Aug 2007 07:19:54 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:2481</guid><dc:creator>Alex</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/2481.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=15&amp;PostID=2481</wfw:commentRss><description>&lt;P&gt;salut&lt;/P&gt;
&lt;P&gt;am inteles ca din SQL se pot interoga userii din Active Directory....stie cineva mai multe despre lucrul asta....cum se face....exista vreo functie&lt;/P&gt;
&lt;P&gt;alex.&lt;/P&gt;</description></item></channel></rss>