From: "Lenya L. Khachaturov" <lenya@chemsell.yaroslavl.ru>
To: Alexander Bokovoy <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Re: Problem with files owned by domain users
Date: Wed Mar 20 19:13:17 2002
Message-ID: <72186156488.20020320191328@chemsell.yaroslavl.ru> (raw)
In-Reply-To: <20020320150732.GD16169@sam-solutions.net>
Hello Alexander,
Wednesday, March 20, 2002, 6:07:32 PM, you wrote:
AB> On Wed, Mar 20, 2002 at 02:28:01PM +0300, Lenya L. Khachaturov wrote:
>> Здравствуйте,
>>
>> Есть Samba share, используется Winbind. Делаю владельцем
>> файла доменного пользователя (chown DOMAIN_NAME+domain_user
>> filename) -- все нормально, заходим на эту шару, имеем нормальный
>> доступ к файлу. Такое положение вещей меня не устраивает,
>> ведь только один пользователь имеет к файлу доступ. Делаем
>> следующее: включаем доменных пользователей в системную группу
>> (строчка в /etc/group выглядит так:
>> pinsource:x:10094:PRIVATE+niagara,PRIVATE+leonya,PRIVATE+vi)
>>
>> А вот так уже не работает! Должно? Вроде бы должно. Временно
>> решил проблему с разраничением доступа, сделав доменную группу
>> владельцем файла. Теперь, например, все девелоперы имеют туда
>> доступ, а менеджеры -- нет. Но в идеале все равно нужно иметь
>> возможность явно задавать список пользователей.
AB> А что, write users = PRIVATE+vasya, @PRIVATE+pinsource не проходит?
Вот сейчас попробовал, проходит! Просто я пытался делать, как на
другом нашем сервере. Там нет Winbind, заведены локальные
пользователи, аналогичные доменным. Пароли синхронизируются.
А дальше прописываем этих пользователей в системную группу, и
пишем valid users= @pinsource, к примеру. Я и пробовал также
делать, только в группу пихал доменных пользователей. Странно,
что это не прокатывает. Система же знает таких пользователей и группы,
можно поставить file/dir ownership на них, а в group не понимает.
--
Best regards,
Lenya L. Khachaturov
mailto:lenya@chemsell.yaroslavl.ru
next prev parent reply other threads:[~2002-03-20 19:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-20 14:29 [mdk-re] " Lenya L. Khachaturov
2002-03-20 18:17 ` [mdk-re] " Alexander Bokovoy
2002-03-20 19:13 ` Lenya L. Khachaturov [this message]
2002-03-20 19:42 ` Alexander Bokovoy
2002-03-20 19:30 ` Lenya L. Khachaturov
2002-03-20 19:42 ` Alexander Bokovoy
2002-03-20 20:13 ` Lenya L. Khachaturov
2002-03-20 20:29 ` Alexander Bokovoy
2002-03-21 12:46 ` Lenya L. Khachaturov
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=72186156488.20020320191328@chemsell.yaroslavl.ru \
--to=lenya@chemsell.yaroslavl.ru \
--cc=mandrake-russian@altlinux.ru \
/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