<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; CentOS, Samba = проблема с доступом при монтировании]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=29450&amp;type=atom" />
	<updated>2013-08-06T07:48:36Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=29450</id>
		<entry>
			<title type="html"><![CDATA[Re: CentOS, Samba = проблема с доступом при монтировании]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=357126#p357126" />
			<content type="html"><![CDATA[<p>Возможно, но я всем этим хозяйством не управляю, я так сказать исполняю чужую волю, людей опытных&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> и невозмутимых&nbsp; <img src="https://linuxforum.ru/img/smilies/ao.gif" alt="ao" /> , сказали что только так.</p>]]></content>
			<author>
				<name><![CDATA[nyase44]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31220</uri>
			</author>
			<updated>2013-08-06T07:48:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=357126#p357126</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS, Samba = проблема с доступом при монтировании]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=357124#p357124" />
			<content type="html"><![CDATA[<p>А может было бы умеснее связать два линукса с помощью NFS</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2013-08-06T07:36:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=357124#p357124</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS, Samba = проблема с доступом при монтировании]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=357121#p357121" />
			<content type="html"><![CDATA[<p>smb.config<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>[root@Server ~]# cat /etc/samba/smb.conf
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
#  http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command &quot;testparm&quot;
# to check that you have not made any basic syntactic errors.
#
#---------------
# SELINUX NOTES:
#
# If you want to use the useradd/groupadd family of binaries please run:
# setsebool -P samba_domain_controller on
#
# If you want to share home directories via samba please run:
# setsebool -P samba_enable_home_dirs on
#
# If you create a new directory you want to share you should mark it as
# &quot;samba_share_t&quot; so that selinux will let you write into it.
# Make sure not to do that on system directories as they may already have
# been marked with othe SELinux labels.
#
# Use ls -ldZ /path to see which context a directory has
#
# Set labels only on directories you created!
# To set a label use the following: chcon -t samba_share_t /path
#
# If you need to share a system created directory you can use one of the
# following (read-only/read-write):
# setsebool -P samba_export_all_ro on
# or
# setsebool -P samba_export_all_rw on
#
# If you want to run scripts (preexec/root prexec/print command/...) please
# put them into the /var/lib/samba/scripts directory so that smbd will be
# allowed to run them.
# Make sure you COPY them and not MOVE them so that the right SELinux context
# is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts
#
#--------------
#
#======================= Global Settings =====================================
#security = share
security = share
passdb backend = tdbsam

#============================ Share Definitions ==============================

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
;       valid users = %S
;       valid users = MYDOMAIN\%S
[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;       [netlogon]
;       comment = Network Logon Service
;       path = /var/lib/samba/netlogon
;       guest ok = yes
;       writable = no
;       share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user&#039;s home directory
;       [Profiles]
;       path = /var/lib/samba/profiles
;       browseable = no
;       guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the &quot;staff&quot; group
;       [public]
;       comment = Public Stuff
;       path = /home/samba
;       public = yes
;       writable = yes
;       printable = no
;       write list = +staff

[papka]
        comment = mvv
        path = /home/user/papka
        writeable = yes
        write list = user, firebird
        browseable = yes
        public = yes
        force group = firebird</code></pre></div></div></div><p>Логи если про эти var/log/samba/</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>[2013/08/05 09:00:59,  0] smbd/server.c:1026(main)
  smbd version 3.6.9-151.el6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/08/05 14:32:48.873550,  0] smbd/process.c:244(read_packet_remainder)
  read_fd_with_timeout failed for client 0.0.0.0 read error = NT_STATUS_IO_TIMEOUT.
[2013/08/05 15:21:01.590284,  0] rpc_server/srv_pipe.c:1254(api_pipe_bind_auth3)
  Auth failed (NT_STATUS_NO_SUCH_USER)
[2013/08/05 15:34:59,  0] smbd/server.c:1026(main)
  smbd version 3.6.9-151.el6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011</code></pre></div></div></div><br /><p>Версия самбы 3.6.9-151.el6 started</p>]]></content>
			<author>
				<name><![CDATA[nyase44]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31220</uri>
			</author>
			<updated>2013-08-06T07:32:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=357121#p357121</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CentOS, Samba = проблема с доступом при монтировании]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=356957#p356957" />
			<content type="html"><![CDATA[<p>Что в конфигах, что в логах? Версии &quot;самбы&quot;?<br />P.S. <span style="color: green">Название темы изменено - CentOS, Samba = проблема с доступом при монтировании.</span></p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-08-05T13:58:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=356957#p356957</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CentOS, Samba = проблема с доступом при монтировании]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=356922#p356922" />
			<content type="html"><![CDATA[<p>Всем привет, есть два компьютера оба с Сent os на одном установлена Samba и расшарена пака на втором через fstab примонтированна.<br />Так же есть некое приложение которые выгружает файлы в примонтированую папку, и вот проблема в следующем когда я пытаюсь первый раз выгрузить в папку файл из приложения выпадает ошибка доступа, при этом в папке появляется&nbsp; файл с размером 0, тут же выгружаю второй раз и все проходит уже без ошибок, может кто знает куда можно покопать ?</p>]]></content>
			<author>
				<name><![CDATA[nyase44]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31220</uri>
			</author>
			<updated>2013-08-05T11:52:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=356922#p356922</id>
		</entry>
</feed>
