<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; и снова samba]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=13198&amp;type=atom" />
	<updated>2011-07-13T06:00:58Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=13198</id>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=194596#p194596" />
			<content type="html"><![CDATA[<p>Ребят у кого нить такое было? не могу зайти в рабочую группу windows, есть около 10ти групп они функционируют отлично, а вот при заходе на одну из них пишет, истекло время ожидания сервера name_group.&nbsp; Данные группы реализованы посредством виндус. Сеть не замыкается недавно реорганизацию сети делал. компы доступны по имени и айпи зайти можно. Что интересно вечерее когда 1н из компов выходит из сети.какой я не знаю, группа доступна, видимо 1н из компов и блокирует группу, толи вирус то ли служба упала</p>]]></content>
			<author>
				<name><![CDATA[sagvir]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15826</uri>
			</author>
			<updated>2011-07-13T06:00:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=194596#p194596</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178874#p178874" />
			<content type="html"><![CDATA[<p>тут проблема чисто с wins даю 90 процентов</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-05-13T09:12:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178874#p178874</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178872#p178872" />
			<content type="html"><![CDATA[<p>Кстати попробуй место create mode прописать force create mode, правда я уже забыл в чем разница, но помню что force create mode правильнее)</p>]]></content>
			<author>
				<name><![CDATA[sagvir]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15826</uri>
			</author>
			<updated>2011-05-13T09:11:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178872#p178872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178870#p178870" />
			<content type="html"><![CDATA[<p>Чуть не забыл и на клиентских машинах не забываем про wins если dhcp-server тогда добавить<br />option netbios-name-servers ip;</p>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-05-13T09:09:38Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178870#p178870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178866#p178866" />
			<content type="html"><![CDATA[<p>server string это строчка отвечает за описание сегмента в сети, и ни как не влияет на работу той или иной службы, проще говоря - сделали для удобства.<br /> </p><div class="quotebox"><cite>sagvir пишет:</cite><blockquote><p>Если server string&nbsp; не писать, то самба будет использовать hostname,&nbsp; чтобы заходило по айпи нужно в днс добавить соответствующую запись.</p></blockquote></div><p>Что бы машинки заходили по имени, надо поднять wins сервер или dns, samba же берет имя из netbios name или dns)), если эту строчку не указать, то работать будет не корректно. </p><p><strong>kom-pik</strong>, укажите строчку в конфиге <strong>netbios name = &lt;My Super Server Yah-hoho&gt; </strong>в секции global, перезапустите сервис и проверьте работу.</p><p> </p><div class="quotebox"><cite>sagvir пишет:</cite><blockquote><p>&nbsp; &nbsp; &nbsp; &nbsp;domain master = yes</p></blockquote></div><p>А это зачем?&nbsp; oO Пишу что хочу???&nbsp; oO&nbsp; :O</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-05-13T09:02:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178866#p178866</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178864#p178864" />
			<content type="html"><![CDATA[<p>Попробуйте просто добавить в global<br />wins support = yes</p><p>Ниже мой проблем нет</p><div class="codebox"><pre><code>[global]
disable spoolss = Yes
show add printer wizard = No
workgroup = WORKGROUP
server string = %h server ()
wins support = yes

dns proxy = no
log file = /var/log/samba/log.%m

max log size = 1000

syslog = 0

security = share

encrypt passwords = true

passdb backend = tdbsam

obey pam restrictions = yes

unix password sync = yes

passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *                                                                              password\supdated\ssuccessfully* .
pam password change = yes

map to guest = bad user

usershare allow guests = yes

[drweb]
comment = drweb
path = /data/share/drweb
create mode = 0700
directory mask = 0700
available = yes
browsable = yes
public = yes
writable = no

[upload]
comment = upload
path = /data/share/upload
create mode = 0755
directory mask = 0755
available = yes
browsable = yes
public = yes
writable = yes</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Kettler]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11719</uri>
			</author>
			<updated>2011-05-13T08:53:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178864#p178864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178862#p178862" />
			<content type="html"><![CDATA[<p>Попробуй без server string<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">[global]<br />&nbsp; &nbsp; &nbsp; &nbsp;workgroup = NET<br />&nbsp; &nbsp; &nbsp; &nbsp;printing = cups<br />&nbsp; &nbsp; &nbsp; &nbsp;printcap name = cups<br />&nbsp; &nbsp; &nbsp; &nbsp;printcap cache time = 750<br />&nbsp; &nbsp; &nbsp; &nbsp;cups options = raw<br />&nbsp; &nbsp; &nbsp; &nbsp;map to guest = Bad User<br />&nbsp; &nbsp; &nbsp; &nbsp;logon path = \\%L\profiles\.msprofile<br />&nbsp; &nbsp; &nbsp; &nbsp;usershare allow guests = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp;add machine script = /usr/sbin/useradd&nbsp; -c Machine -d /var/lib/nobody -s$<br />&nbsp; &nbsp; &nbsp; &nbsp;domain logons = no<br />&nbsp; &nbsp; &nbsp; &nbsp;domain master = yes<br />&nbsp; &nbsp; &nbsp; &nbsp;netbios name = worker<br />&nbsp; &nbsp; &nbsp; &nbsp;security = user<br />&nbsp; &nbsp; &nbsp; &nbsp;netbios aliases = moon server</div></p>]]></content>
			<author>
				<name><![CDATA[sagvir]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15826</uri>
			</author>
			<updated>2011-05-13T08:49:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178862#p178862</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178856#p178856" />
			<content type="html"><![CDATA[<p><strong>sagvir</strong>, У меня похожая ситуация... Пропадают как будто права. Помогает только 777 накат.<br />Это может быть из-за дурацкой server string?<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="quotebox"><blockquote><p># Samba config file<br />[global]<br />&nbsp; &nbsp; &nbsp; &nbsp; #disable spoolss = Yes<br />&nbsp; &nbsp; &nbsp; &nbsp; #show add printer wizard = No<br />&nbsp; &nbsp; &nbsp; &nbsp; workgroup = BUH<br />&nbsp; &nbsp; &nbsp; &nbsp; netbios name = LDAP<br />&nbsp; &nbsp; &nbsp; &nbsp; server string = DATABADE PARUS<br />&nbsp; &nbsp; &nbsp; &nbsp; dns proxy = no<br />&nbsp; &nbsp; &nbsp; &nbsp; log file = /var/log/samba/log.%m<br />&nbsp; &nbsp; &nbsp; &nbsp; max log size = 1000<br />&nbsp; &nbsp; &nbsp; &nbsp; syslog = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; log level = 0<br />#&nbsp; &nbsp; &nbsp; &nbsp; debug level = 50<br />#&nbsp; &nbsp; &nbsp; &nbsp; panic action = /usr/share/samba/panic-action %d<br />&nbsp; &nbsp; &nbsp; &nbsp; security = share<br />[database]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /home/parus/Data/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes<br />[shablon-buh]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /home/parus/shablon-buh/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes</p><p>[shablon-zar]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /home/parus/shablon-zar/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes<br />[drweb]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /var/ftp/pub/drweb_update/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = no<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes<br />[nod32]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /var/ftp/pub/nod32/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = no<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes</p><p>[PFR]<br />&nbsp; &nbsp; &nbsp; &nbsp; path = /home/parus/mirror/pfr/<br />&nbsp; &nbsp; &nbsp; &nbsp; create mode = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; directory mask = 0777<br />&nbsp; &nbsp; &nbsp; &nbsp; available = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; browseable = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; public = yes<br />&nbsp; &nbsp; &nbsp; &nbsp; writable = yes</p></blockquote></div></div></div>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2011-05-13T08:18:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178856#p178856</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=178850#p178850" />
			<content type="html"><![CDATA[<p>Если server string&nbsp; не писать, то самба будет использовать hostname,&nbsp; чтобы заходило по айпи нужно в днс добавить соответствующую запись. А вообще винда с авторизацией вечно глючит поэтому я делаю так<br />netbios aliases = moon server - к примеру, что позволяет мне cmd -&gt; start \\moon\ or cmd -&gt; start \\server\ тобишь&nbsp; тобишь есть пару попыток на вторичную авторизацию)</p>]]></content>
			<author>
				<name><![CDATA[sagvir]]></name>
				<uri>https://linuxforum.ru/profile.php?id=15826</uri>
			</author>
			<updated>2011-05-13T08:02:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=178850#p178850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=173665#p173665" />
			<content type="html"><![CDATA[<p>Дайте логи самбы при заходе по айпишнику и по имени</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2011-04-29T07:57:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=173665#p173665</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[и снова samba]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=173664#p173664" />
			<content type="html"><![CDATA[<p>smb.conf<br /></p><div class="codebox"><pre><code>[global]
        workgroup = OFFICE
        server string = Samba Server %v
        bind interfaces only = yes
        interfaces = eth0 192.168.1.0/24
        hosts deny = ALL
        hosts allow = 192.168.1. 127.0.0.1

# --------------------------- Logging Options -----------------------------

        log file = /var/log/samba/%m.log
        # max 50KB per log file, then rotate
        max log size = 1024

# ----------------------- Standalone Server Options ---------------------

        security = share
        encrypt passwords = yes
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 IPTOS_LOWDELAY

# ----------------------- Browser Control Options ------------------------

        local master = yes
        os level = 255
        preferred master = yes

# ----------------------------- Name Resolution -----------------------------

        dns proxy = yes

# ------------------------------Charsets----------------------------------------

        unix charset = utf8
        dos charset = cp1251
        display charset = cp1251

# --------------------------- Printing Options --------------------------------

        load printers = yes
        cups options = raw
        printcap name = /etc/printcap
        printing = cups

# ----------------------------Share Definitions ------------------------------

[home]
        comment = Home Directories
        path = /home/%u
        browseable = yes
        writable = yes

[private]
        comment = Private Directory
        path = /home/private
        browseable = yes
        writable = yes
        valid users = private

<hr style=' border-color: #0000; border-top-width:1px; display: block;' />
        comment = hr Directory
        path = /home/private
        browseable = yes
        writable = yes
        valid users = hr

[public]
        comment = Public Stuff
        path = /home/public
        browseable = yes
        writable = yes
        guest ok = yes

[buh]
        comment = buh Directory
        path = /home/private
        browseable = yes
        writable = yes
        valid users = buh

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = yes
        guest ok = yes
        writable = no
        printable = yes</code></pre></div><p>Вот такой вот простенький конфиг.<br />Вопрос следующий, когда с виндовой машины захожу в самбу cmd -&gt; start \\192.168.100.1\<br />заходит, создает, изменяет, но когда делаю по имени cmd -&gt; start \\samba\ , то что было создано в предыдущем варианте изменять не может и удалять, пишет нет доступа, и на оборот. Как решить такое неудобство - зайти и по имени, и по ип, чтобы все изменял и создавал и удалял?</p>]]></content>
			<author>
				<name><![CDATA[kom-pik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16698</uri>
			</author>
			<updated>2011-04-29T07:54:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=173664#p173664</id>
		</entry>
</feed>
