<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Проблемы с доступом к самбе]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=31105&amp;type=atom" />
	<updated>2013-10-20T09:49:37Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=31105</id>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с доступом к самбе]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=370895#p370895" />
			<content type="html"><![CDATA[<p>В пути на сервере была папка с правами 700 по которой юзер не мог пройти до конечной папки, решилось переносом папки на сервере.</p>]]></content>
			<author>
				<name><![CDATA[alfi0]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32102</uri>
			</author>
			<updated>2013-10-20T09:49:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=370895#p370895</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с доступом к самбе]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=370640#p370640" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>alfi0 пишет:</cite><blockquote><p>Проблема решена.</p></blockquote></div><p>Поделитесь как решили?</p><p>Или тему придётся удалить.</p>]]></content>
			<author>
				<name><![CDATA[verg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10709</uri>
			</author>
			<updated>2013-10-19T06:26:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=370640#p370640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Проблемы с доступом к самбе]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=370555#p370555" />
			<content type="html"><![CDATA[<p>Проблема решена.</p>]]></content>
			<author>
				<name><![CDATA[alfi0]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32102</uri>
			</author>
			<updated>2013-10-18T13:10:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=370555#p370555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Проблемы с доступом к самбе]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=370551#p370551" />
			<content type="html"><![CDATA[<p>Добрый день, никогда не настраивал самбу на Centos<br />Проблема следующая - при подключении с виндового компа получаю доступ запрещен.</p><p>Лог самбы</p><div class="codebox"><pre><code>  Transaction 107 of length 96 (0 toread)
[2013/10/18 16:49:35.648167,  3] smbd/process.c:1467(switch_message)
  switch message SMBtconX (pid 4882) conn 0x0
[2013/10/18 16:49:35.648204,  3] lib/access.c:338(allow_access)
  Allowed connection from 10.20.55.222 (10.20.55.222)
[2013/10/18 16:49:35.648237,  3] ../libcli/security/dom_sid.c:208(dom_sid_parse_endp)
  string_to_sid: SID @DOMAIN\user is not in a valid format
[2013/10/18 16:49:35.648412,  2] smbd/service.c:627(create_connection_session_info)
  user &#039;DOMAIN\user&#039; (from session setup) not permitted to access this share (testshare)
[2013/10/18 16:49:35.648470,  1] smbd/service.c:805(make_connection_snum)
  create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
[2013/10/18 16:49:35.648524,  3] smbd/error.c:81(error_packet_set)
  error packet at smbd/reply.c(803) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED</code></pre></div><br /><p>Конфиг самбы взял с полностью рабочего сервера. testparm проходит</p><div class="codebox"><pre><code>[global]
        workgroup = DOMAIN
        realm = DOMAIN.RU
        server string = Terminal server
        security = ADS
        auth methods = winbind
        log file = /var/log/samba/log.%m
        log level = 3
        max log size = 50000
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        winbind uid = 10000-20000
        winbind gid = 10000-20000
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes

[testshare]
        path = /home/test2/testshare
        read only = No
        browseable = yes
        valid users = &quot;@DOMAIN\user&quot;</code></pre></div><p>wbinfo -t, -g и тд проходят без проблем,<br />id &quot;DOMAIN\user&quot; выдает принадлежность к группам без проблем.</p><div class="codebox"><pre><code> sestatus
SELinux status:                 disabled</code></pre></div><p>На время теста сделал доступ к папке 777, я уже даже не знаю куда смотреть, подскажите.</p><p>Делал владельцем папки доменного пользователя с которого заходил - тот же самый результат.</p>]]></content>
			<author>
				<name><![CDATA[alfi0]]></name>
				<uri>https://linuxforum.ru/profile.php?id=32102</uri>
			</author>
			<updated>2013-10-18T12:52:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=370551#p370551</id>
		</entry>
</feed>
