<?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; SAMBA. Ошибка при подключении к расшареной папке через smbclient]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=25450</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=25450&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «SAMBA. Ошибка при подключении к расшареной папке через smbclient».]]></description>
		<lastBuildDate>Thu, 06 Dec 2012 06:32:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SAMBA. Ошибка при подключении к расшареной папке через smbclient]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=312984#p312984</link>
			<description><![CDATA[<p>Чудненько.</p>]]></description>
			<author><![CDATA[null@example.com (Vascom)]]></author>
			<pubDate>Thu, 06 Dec 2012 06:32:36 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=312984#p312984</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMBA. Ошибка при подключении к расшареной папке через smbclient]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=312872#p312872</link>
			<description><![CDATA[<p>Нашел причину бага</p><p>У меня расшареный ресурс - папка temp, а я указывал полный путь /samba/temp что было неправильно</p><p>я подключался<br />&nbsp; [root@CentOS58 ~]# smbclient //192.168.0.101/samba/temp -U alexII</p><p>а надо было<br />&nbsp; [root@CentOS58 ~]# smbclient //192.168.0.101/temp -U alexII</p>]]></description>
			<author><![CDATA[null@example.com (shurik_7866)]]></author>
			<pubDate>Wed, 05 Dec 2012 15:40:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=312872#p312872</guid>
		</item>
		<item>
			<title><![CDATA[SAMBA. Ошибка при подключении к расшареной папке через smbclient]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=312775#p312775</link>
			<description><![CDATA[<p>Через smbclient на самом серваке на котором установлена samba пытаюсь подключиться к расшаренной папке /samba/temp<br /> Но при попытке выдает ошибку NT_STATUS_BAD_NETWORK_NAME</p><p> При этом с клиентской машины под управлением Windows XP нормально подключаюсь и могу вносить изменения - создавать, редактировать, удалять файлы</p><p> На папки /samba и /samba/temp установлены права 777<br /> Selinux отключен</p><p> Проблему погуглил - ошибка довольно популярная, но в большинстве случаев проблема связана с правами,<br /> у меня же всех разрешений по максимуму, да еще й с винди подключаюсь под тем самым пользователем</p><br /><p> Подскажите кто знает или догадывается - Как исправить баг?</p><br /><p>##############################################################<br /># ниже дополнительная информация по настройкам SAMBA и самой ошибке<br />##############################################################</p><p>#При попытке подключиться к расшаренной папке<br />[root@CentOS58 ~]# smbclient //192.168.0.101/samba/temp -U alexII<br />Password:<br />Domain=[CENTOS58] OS=[Unix] Server=[Samba 3.0.33-3.39.el5_8]<br />tree connect failed: NT_STATUS_BAD_NETWORK_NAME</p><p># А вот что отображается в логах<br />[root@CentOS58 ~]# tail&nbsp; /var/log/samba/smbd.log<br />[2012/12/05 10:07:05, 0] smbd/server.c:main(958)<br />&nbsp; smbd version 3.0.33-3.39.el5_8 started.<br />&nbsp; Copyright Andrew Tridgell and the Samba Team 1992-2008<br />[2012/12/05 10:07:49, 0] smbd/service.c:make_connection(1243)<br />&nbsp; centos58 (192.168.0.101) couldn&#039;t find service samba/temp</p><br /><p>##############################################################<br /># вот содержимое файла /etc/samba/smb.conf<br />[global]</p><p># ----------------------- Network Related Options -------------------------<br />&nbsp; &nbsp; &nbsp; &nbsp; workgroup = WORKGROUP<br />&nbsp; &nbsp; &nbsp; &nbsp; server string = Share on CentOS58 %v<br />&nbsp; &nbsp; &nbsp; &nbsp; netbios name = CentOS58</p><p>;&nbsp; &nbsp; &nbsp; &nbsp;interfaces = lo eth0 192.168.0.0/24<br />;&nbsp; &nbsp; &nbsp; &nbsp;hosts allow = 127. 192.168.0.</p><p># --------------------------- Logging Options -----------------------------<br />&nbsp; &nbsp; &nbsp; &nbsp; # logs split per machine<br />;&nbsp; &nbsp; &nbsp; &nbsp;log file = /var/log/samba/%m.log<br />&nbsp; &nbsp; &nbsp; &nbsp; # max 50KB per log file, then rotate<br />;&nbsp; &nbsp; &nbsp; &nbsp;max log size = 50</p><p># ----------------------- Standalone Server Options ------------------------<br />&nbsp; &nbsp; &nbsp; &nbsp; security = user<br />&nbsp; &nbsp; &nbsp; &nbsp; passdb backend = tdbsam<br />;&nbsp; &nbsp; &nbsp; &nbsp; security = SHARE</p><p>#============================ Share Definitions ==============================<br />[homes]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = Home Directories<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = no<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes<br />;&nbsp; &nbsp; &nbsp; &nbsp;valid users = %S<br />;&nbsp; &nbsp; &nbsp; &nbsp;valid users = MYDOMAIN\%S</p><p>[temp]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = Dir for exchange data<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /samba/temp<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; guest ok = yes</p><p>[printers]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = All Printers<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /var/spool/samba<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = no<br />&nbsp; &nbsp; &nbsp; &nbsp; guest ok = no<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = no<br />&nbsp; &nbsp; &nbsp; &nbsp; printable = yes</p><br /><br /><br /><p>##############################################################<br /># Вот что выводит testparm<br />[root@CentOS58 ~]# testparm<br />Load smb config files from /etc/samba/smb.conf<br />Processing section &quot;[homes]&quot;<br />Processing section &quot;[temp]&quot;<br />Processing section &quot;[printers]&quot;<br />Loaded services file OK.<br />Server role: ROLE_STANDALONE<br />Press enter to see a dump of your service definitions</p><p>[global]<br />&nbsp; &nbsp; &nbsp; &nbsp; server string = Share on CentOS58 %v<br />&nbsp; &nbsp; &nbsp; &nbsp; passdb backend = tdbsam</p><p>[homes]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = Home Directories<br />&nbsp; &nbsp; &nbsp; &nbsp; read only = No<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = No</p><p>[temp]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = Dir for exchange data<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /samba/temp<br />&nbsp; &nbsp; &nbsp; &nbsp; read only = No<br />&nbsp; &nbsp; &nbsp; &nbsp; guest ok = Yes</p><p>[printers]<br />&nbsp; &nbsp; &nbsp; &nbsp; comment = All Printers<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /var/spool/samba<br />&nbsp; &nbsp; &nbsp; &nbsp; printable = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = No</p>]]></description>
			<author><![CDATA[null@example.com (shurik_7866)]]></author>
			<pubDate>Wed, 05 Dec 2012 11:46:02 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=312775#p312775</guid>
		</item>
	</channel>
</rss>
