* [Comm] настройки samba
@ 2012-02-17 9:08 Геннадий Ищенко
2012-02-17 9:30 ` Денис Назаров
2012-02-17 9:47 ` Варакин Алексей
0 siblings, 2 replies; 3+ messages in thread
From: Геннадий Ищенко @ 2012-02-17 9:08 UTC (permalink / raw)
To: community
Из-за того, что приказал долго жить жесткий диск пришлось ставить "с нуля" Desktop 5. Все поставил, все
работает. Единственно не могу настроить самбу. В /etc/samba/smb.conf внес изменения, руководствуясь
своими записями двухгодичной давности. Имеем обычную локальную сеть с большим количеством компов.
Я со своей машины вижу всю сеть и могу скачивать информацию. Меня тоже видно в сети, но при попытке
посмотреть мои сетевые ресурсы получают: нет доступа к ...(не найден сетевой путь). Сам тоже не могу
посмотреть через сеть свои сетевые папки: файл или папка smb://имя группы/ не существует. Привожу
конфиг, опуская комментарии:
security = share
encrypt password = yes
local master = yes
os level = 64
domain master = yes
preffered master = yes
domain logons = yes
use sendfile = yes
map to guest = Bad User
restrict anonymous = no
guest ok = yes
max protocol = NT
acl compatibility = winnt
server signing = Auto
guest account = shared
paranoid server security no
[SOFT]
path = /mnt/ARHIV2/soft
[POST]
read only = no
path = /mnt/ARHIV2/Post
Необходимо, чтобы моими сетевыми папками могли пользоваться владельцы Windows-компов, входящих в сеть.
Причем открытыми папками можно пользоваться без всяких паролей.
С уважением, Ищенко Геннадий
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] настройки samba
2012-02-17 9:08 [Comm] настройки samba Геннадий Ищенко
@ 2012-02-17 9:30 ` Денис Назаров
2012-02-17 9:47 ` Варакин Алексей
1 sibling, 0 replies; 3+ messages in thread
From: Денис Назаров @ 2012-02-17 9:30 UTC (permalink / raw)
To: ALT Linux Community general discussions
17 февраля 2012, 13:08 от Геннадий Ищенко <anarhoret@mail.ru>:
> Из-за того, что приказал долго жить жесткий диск пришлось ставить "с нуля" Desktop 5. Все поставил, все
> работает. Единственно не могу настроить самбу. В /etc/samba/smb.conf внес изменения, руководствуясь
> своими записями двухгодичной давности. Имеем обычную локальную сеть с большим количеством компов.
> Я со своей машины вижу всю сеть и могу скачивать информацию. Меня тоже видно в сети, но при попытке
> посмотреть мои сетевые ресурсы получают: нет доступа к ...(не найден сетевой путь). Сам тоже не могу
> посмотреть через сеть свои сетевые папки: файл или папка smb://имя группы/ не существует. Привожу
> конфиг, опуская комментарии:
> security = share
> encrypt password = yes
> local master = yes
> os level = 64
> domain master = yes
> preffered master = yes
> domain logons = yes
> use sendfile = yes
> map to guest = Bad User
> restrict anonymous = no
> guest ok = yes
> max protocol = NT
> acl compatibility = winnt
> server signing = Auto
> guest account = shared
> paranoid server security no
>
> [SOFT]
> path = /mnt/ARHIV2/soft
>
> [POST]
> read only = no
> path = /mnt/ARHIV2/Post
вот мой конфиг с 4.1
[global]
server string = WebHost
workgroup = AVTORGROUP
dos charset = CP866
unix charset = UTF8
display charset = LOCALE
netbios name = WebHost
printing = bsd
log file = /var/log/samba/log.%m
max log size = 50
hosts allow = 192.168. 127.
socket options = TCP_NODELAY
preferred master = no
dns proxy = no
use sendfile = yes
map to guest = Bad User
public = yes
browseable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = no
printable = yes
create mode = 0700
[public]
path = /mnt/backup/public
public = yes
only guest = yes
writable = yes
printable = no
работает без проблем
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] настройки samba
2012-02-17 9:08 [Comm] настройки samba Геннадий Ищенко
2012-02-17 9:30 ` Денис Назаров
@ 2012-02-17 9:47 ` Варакин Алексей
1 sibling, 0 replies; 3+ messages in thread
From: Варакин Алексей @ 2012-02-17 9:47 UTC (permalink / raw)
To: Геннадий
Ищенко,
ALT Linux Community general discussions
Вот мой рабочий конфиг, переделайте его под себя:
[global]
guest ok = yes
map to guest = Bad User
workgroup = OFFICE
server string = Samba Server
security = share
# Разрешать подключение к расшаренным папкам только с указанных адресов
# hosts allow = 192.168. 10.130. 127.
log file = /var/log/samba/samba.log
guest account = vav
max log size = 50000
interfaces = *
local master = no
os level = 33
dns proxy = no
display charset = UTF-8
dos charset = cp866
smb ports = 139
oplocks = No
level2 oplocks = No
disable spoolss = yes
preferred master = No
domain master = No
wins support = No
# Аудит с расшаренными папками(Если нужен, раскоментируйте)
# syslog = 1
# log level = 2 vfs:2
# vfs objects = full_audit
# full_audit:facility=local5
# full_audit:priority = notice
# full_audit:prefix = %U|%I|%m
# full_audit:success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fchown chdir ftruncate lock symlink readlink link mknod realpath
#full_audit:failure = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fchown chdir ftruncate lock symlink readlink link mknod realpath
# Зона рашаренных папок
[SHARE]
guest ok = yes
comment = Full access
# Путь к расшаренной папке(Локальные права доступа должны быть настроены)
path = /mnt/sdb5/SHARE
read only = no
public = yes
writable = yes
create mask = 0777
directory mask = 0777
# vav - локальный пользователь и группа, кому разрешен доступ к папке.
force user=vav
force group=vav
17.02.2012, 16:08, "Геннадий Ищенко" <anarhoret@mail.ru>:
> Из-за того, что приказал долго жить жесткий диск пришлось ставить "с нуля" Desktop 5. Все поставил, все
> работает. Единственно не могу настроить самбу. В /etc/samba/smb.conf внес изменения, руководствуясь
> своими записями двухгодичной давности. Имеем обычную локальную сеть с большим количеством компов.
> Я со своей машины вижу всю сеть и могу скачивать информацию. Меня тоже видно в сети, но при попытке
> посмотреть мои сетевые ресурсы получают: нет доступа к ...(не найден сетевой путь). Сам тоже не могу
> посмотреть через сеть свои сетевые папки: файл или папка smb://имя группы/ не существует. Привожу
> конфиг, опуская комментарии:
> security = share
> encrypt password = yes
> local master = yes
> os level = 64
> domain master = yes
> preffered master = yes
> domain logons = yes
> use sendfile = yes
> map to guest = Bad User
> restrict anonymous = no
> guest ok = yes
> max protocol = NT
> acl compatibility = winnt
> server signing = Auto
> guest account = shared
> paranoid server security no
>
> [SOFT]
> path = /mnt/ARHIV2/soft
>
> [POST]
> read only = no
> path = /mnt/ARHIV2/Post
> Необходимо, чтобы моими сетевыми папками могли пользоваться владельцы Windows-компов, входящих в сеть.
> Причем открытыми папками можно пользоваться без всяких паролей.
> С уважением, Ищенко Геннадий
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-17 9:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 9:08 [Comm] настройки samba Геннадий Ищенко
2012-02-17 9:30 ` Денис Назаров
2012-02-17 9:47 ` Варакин Алексей
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git