From: Alexander Yereschenko <ave4600@mail.ru>
To: community@lists.altlinux.org
Subject: [Comm] CIFS vs SMB
Date: Thu, 29 Mar 2007 12:55:59 +0300
Message-ID: <200703291255.59587.ave4600@mail.ru> (raw)
Доброе!
Столкнулся с такой проблемой:
сервер - ALC3.0.4 + updates +backports
клиент - февральский сизиф (на alc3 наблюдалось то же самое)
На сервере ресурс:
===
[Doc]
comment = Documents
path = /home/Doc
valid users = @z-doc
write list = @z-doc
force group = z-doc
read only = no
create mask = 0664
force create mode = 0664
directory mask = 0775
case sensitive = no
msdfs proxy = no
force directory mode = 0775
guest ok = no
===
Подключаем на клиенте ресурс Doc по протоколу SMB (через smb4k) - все
красиво, но при копировании в любую сторону большого объема данных (типа
фильм, либо сравнимую по объему кучу мелких файлов) происходит отвал. При
этом на клиенте ресурс считается подмонтированным, но доступа к нему нет.
Приходится рутом отмонтировать...
То же там же подключаем по протоколу CIFS - отвалов нет, но отсутствует
обещанный доступ по записи.
В логе сервера:
(юзер youz - uid=513, группа z-doc - gid=505 , youz в группу z-doc входит)
===
[2007/03/27 15:09:39, 1] smbd/service.c:make_connection_snum(642)
dron.zetetika.ltd (192.168.0.51) connect to service Doc initially as user
youz
(uid=513, gid=505) (pid 9259)
[2007/03/27 15:09:39, 0] smbd/trans2.c:call_trans2setfsinfo(2093)
set_user_quota: access_denied service [Doc] user [youz]
===
Никаких квот не настраивал - все по-умолчанию...
Для сравнения на том же сервере доступ к ресурсу Temp по протоколу CIFS
проходит "на ура" (на SMB все так же падает):
===
[Temp]
comment = Temporary
path = /home/Temp
write list = @z-temp
force group = z-temp
create mask = 0666
force create mode = 0666
directory mask = 0777
guest ok = yes
case sensitive = no
msdfs proxy = no
force directory mode = 0777
hide dot files = no
===
Если клиент - оффтопиковская ХР - то все нормально (по какому протоколу она
лезет? )
Итак, как сделать надежно, без падений и чтобы честно отрабатывались права?
1) SMB - оно действительно падучее?
2) CIFS - как настроить, чтобы честно отрабатывались права доступа (в
частности надо чтобы к ресурсу имели доступ не все даже по чтению)
--
Alexander
next reply other threads:[~2007-03-29 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-29 9:55 Alexander Yereschenko [this message]
2007-03-29 10:54 ` Sergey Vlasov
2007-03-29 11:30 ` Alexander Yereschenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703291255.59587.ave4600@mail.ru \
--to=ave4600@mail.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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