<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Добавление добавление пользователей в ejabber скриптом]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=34570</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=34570&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Добавление добавление пользователей в ejabber скриптом».]]></description>
		<lastBuildDate>Tue, 15 Apr 2014 11:38:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Добавление добавление пользователей в ejabber скриптом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=405162#p405162</link>
			<description><![CDATA[<p>правильно было так</p><p><strong>for i in `cat jabberusers.txt`; do ejabberdctl register $i jabbermos.ptg.local $i ;done</strong></p><p> <img src="https://linuxforum.ru/img/smilies/bo.gif" alt="bo" /></p>]]></description>
			<author><![CDATA[null@example.com (borisgorbunov)]]></author>
			<pubDate>Tue, 15 Apr 2014 11:38:41 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=405162#p405162</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление добавление пользователей в ejabber скриптом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=405160#p405160</link>
			<description><![CDATA[<p>потому что косой&nbsp; <img src="https://linuxforum.ru/img/smilies/bn.gif" alt="bn" /> <br />все работает ))<br />Спасибо..</p>]]></description>
			<author><![CDATA[null@example.com (borisgorbunov)]]></author>
			<pubDate>Tue, 15 Apr 2014 11:31:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=405160#p405160</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление добавление пользователей в ejabber скриптом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=405159#p405159</link>
			<description><![CDATA[<div class="quotebox"><cite>borisgorbunov пишет:</cite><blockquote><p>1)Есть список будущих пользователей<span style="color: blue"> jabberusers</span><span style="color: red">.txt</span>&nbsp; формата:</p></blockquote></div><div class="quotebox"><cite>borisgorbunov пишет:</cite><blockquote><p>for i in `cat <span style="color: blue">jabberusers</span>`; do ejabberdctl register $i jabbermos.ptg.local $1 ;done</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Tue, 15 Apr 2014 11:31:26 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=405159#p405159</guid>
		</item>
		<item>
			<title><![CDATA[Re: Добавление добавление пользователей в ejabber скриптом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=405158#p405158</link>
			<description><![CDATA[<div class="quotebox"><cite>borisgorbunov пишет:</cite><blockquote><p>Пробую так :</p><p>for i in `cat jabberusers`; do ejabberdctl register $i jabbermos.ptg.local $1 ;done</p></blockquote></div><p>Почему <strong>$1</strong>, а не <strong>$i</strong>?</p>]]></description>
			<author><![CDATA[null@example.com (Lupo Alberto)]]></author>
			<pubDate>Tue, 15 Apr 2014 11:30:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=405158#p405158</guid>
		</item>
		<item>
			<title><![CDATA[Добавление добавление пользователей в ejabber скриптом]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=405153#p405153</link>
			<description><![CDATA[<p>Задача в следующем:</p><p>1)Есть список будущих пользователей jabberusers.txt&nbsp; формата:</p><p>user1<br />user2<br />user3</p><p>2) Нужно добавить пользователей в джаббер c паролем как логин.<br />для этого используется комманда:</p><p>ejabberdctl register username yourdomain.com userpassword</p><p>--------------------------------------------------------------------</p><p>Тоесть циклом добавлять пользователей:<br />пример:</p><p>ejabberdctl register user1&nbsp; yourdomain.com user1<br />ejabberdctl register user2 yourdomain.com user2<br />ejabberdctl register user3 yourdomain.com user3<br />ejabberdctl register user4 yourdomain.com user4</p><p>---------------------------------------------------------------------<br />Пробую так :</p><p>for i in `cat jabberusers`; do ejabberdctl register $i jabbermos.ptg.local $1 ;done</p><p>Выхлоп с ошибками :<br />-------------------------------------------------------------------------------<br />Error: the command &quot;register&quot; requires 2 more argument.<br />Command Name: register<br /> Arguments: user::string<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;host::string<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;password::string<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />Returns: res::restuple</p><p>Tags: accounts </p><p>Description: Register a user</p><p>-------------------------------------------------------------------</p><p>Если пишу руками:</p><p>ejabberdctl register test000 jabbermos.ptg.local test000</p><p>То все хорошо..</p><p>User test000@jabbermos.ptg.local successfully registered</p><p>Что не так?? Помогите пожалуйса..&nbsp; <img src="https://linuxforum.ru/img/smilies/bh.gif" alt="bh" /></p>]]></description>
			<author><![CDATA[null@example.com (borisgorbunov)]]></author>
			<pubDate>Tue, 15 Apr 2014 11:09:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=405153#p405153</guid>
		</item>
	</channel>
</rss>
