<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; VBScript: создание пользователя в домене]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=5786&amp;type=atom" />
	<updated>2011-05-11T06:42:49Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5786</id>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48306#p48306" />
			<content type="html"><![CDATA[<p>ох спасибо, блин больше не буду копипастить, лучше самому набирать</p>]]></content>
			<author>
				<name><![CDATA[AlistaM]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26939</uri>
			</author>
			<updated>2011-05-11T06:42:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48306#p48306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48284#p48284" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AlistaM пишет:</cite><blockquote><p>... выкидывает в ошибку:<br /></p><div class="quotebox"><blockquote><div class="codebox"><pre><code>такой объект на сервере отсутствует
ошибка 80072030
источник (null)</code></pre></div></blockquote></div></blockquote></div><p>В имени атрибута <strong><span style="color: blue">userPrincipalName</span></strong> вместо строчной английской <strong><span style="color: green">&quot;p&quot;</span></strong> стояла русская <strong><span style="color: red">&quot;р&quot;</span></strong>.</p>]]></content>
			<author>
				<name><![CDATA[Dmitrii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=13351</uri>
			</author>
			<updated>2011-05-10T07:44:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48284#p48284</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48199#p48199" />
			<content type="html"><![CDATA[<p>нет <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[AlistaM]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26939</uri>
			</author>
			<updated>2011-05-06T13:29:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48199#p48199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48198#p48198" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>AlistaM пишет:</cite><blockquote><p>изменил немножко код, раньше выскакивал в 1й строке, теперь в 5й...</p></blockquote></div><p>Разве сообщение об ошибке не изменилось?</p>]]></content>
			<author>
				<name><![CDATA[Dmitrii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=13351</uri>
			</author>
			<updated>2011-05-06T13:04:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48198#p48198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48196#p48196" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Set objOU = GetObject(&quot;LDAP://OU=911,OU=All_Users,DC=prim,DC=msk,DC=ru&quot;)
Set objUser = objOU.Create (&quot;User&quot;, &quot;cn=HR_User4&quot;)
objUser.Put &quot;SamAccountName&quot;, &quot;НR_User4&quot;
objUser.Put &quot;userPrinciрalName&quot;, &quot;HR_User4@prim.msk.ru&quot;
objUser.SetPassword &quot;12345dD&quot;
objUser.AccountDisabled = False
objUser.SetInfo</code></pre></div><p>изменил немножко код, раньше выскакивал в 1й строке, теперь в 5й. не понимаю, ему что-то в пароле не нравится?</p>]]></content>
			<author>
				<name><![CDATA[AlistaM]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26939</uri>
			</author>
			<updated>2011-05-06T12:43:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48196#p48196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48195#p48195" />
			<content type="html"><![CDATA[<p>В какой именно строке возникает ошибка?</p>]]></content>
			<author>
				<name><![CDATA[Dmitrii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=13351</uri>
			</author>
			<updated>2011-05-06T12:39:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48195#p48195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[VBScript: создание пользователя в домене]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=48192#p48192" />
			<content type="html"><![CDATA[<p>Добрый день, при попытке создания пользователя в домене через скрипт выкидывает в ошибку:<br /></p><div class="quotebox"><blockquote><div class="codebox"><pre><code>такой объект на сервере отсутствует
ошибка 80072030
источник (null)</code></pre></div></blockquote></div><p>В vbs только разбираюсь, подскажите пожалуйста что я не так делаю?<br /></p><div class="codebox"><pre><code>Set objOU = GetObject(&quot;LDAP://OU=All_Users,OU=911,DC=prim,DC=msk,DC=ru&quot;)
Set objUser = objOU.Create (&quot;User&quot;, &quot;cn=HR_User4&quot;)

objUser.Put &quot;SamAccountName&quot;, &quot;НR_User4&quot;
objUser.Put &quot;userPrinciрalName&quot;, &quot;HR_User4@prim.msk.ru&quot;

objUser.SetInfo

objUser.SetPassword &quot;12345&quot;
objUser.AccountDisabled = False

objUser.SetInfo</code></pre></div>]]></content>
			<author>
				<name><![CDATA[AlistaM]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26939</uri>
			</author>
			<updated>2011-05-06T11:22:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=48192#p48192</id>
		</entry>
</feed>
