* [Comm] Samba 3, Active Direcory and Local User
@ 2004-04-21 12:21 Кучумов А.А.
0 siblings, 0 replies; only message in thread
From: Кучумов А.А. @ 2004-04-21 12:21 UTC (permalink / raw)
To: community
Доброго времени суток.
Возникла следующая проблема.
(Дистрибутив Compact 2.3)
Есть установленная и настроенная третья самба.
Авторизация проводится из Active Directory.
Причем все работает.
Но никак не могу настроить, чтобы я подключался к своему домашнему каталогу
с правами локального линуксового пользователя или хотя бы группы.
Приходится давать локальный линуксовый доступ вообще всем, что не есть
хорошо.
Т.е. я подключаюсь к расшареной папке (/home/kuchumov) как WRK/Kuchumov
(пользователь домена) и linux меня никак не желает воспринимать как
локального kuchumov.
Конфигурация:
/etc/nsswitch.conf
passwd: files winbind
shadow: tcb files
group: files winbind
[И так далее...]
/etc/samba/smb.conf (вывод testparm)
dos charset = CP866
unix charset = CP1251
display charset = CP1251
workgroup = WRK
realm = WRK.COMPANY.RU
server string = Samba server on %h
security = ADS
password server = srv.wrk.company.ru
username map = /etc/samba/smbusers
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No
message command = /usr/bin/linpopup "%f" "%m" %s; rm %s idmap uid =
10000-20000 idmap gid = 10000-20000 winbind separator = / winbind use
default domain = Yes use sendfile = Yes
[Kuchumov]
comment = My Dir
path = /home/kuchumov
valid users = WRK/Kuchumov (пробовал просто Kuchumov и kuchumov)
read only = No
Следующие шары работают как и ожидалось.
Для них локальные права выставлены в rwx для всех.
Да и вообще они на FAT32 лежат
[Music]
comment = Music
path = /mnt/windows/Music
valid users = WRK/Kuchumov, @WRK/DOMAINGROUP
read list = @WRK/DOMAINGROUP
write list = WRK/Kuchumov
read only = No
Далее еще пара шар, идентичных Music. Все работает.
/etc/samba/smbusers
kuchumov = Kuchumov WRK/Kuchumov (опять таки пробовал разное)
делал smbpasswd -a kuchumov
Все мои пароли одинаковы как в домене, так и локально.
Также пробовал добавлять WRK/Kuchumov в группу kuchumov (в /etc/group)
Заводить в ActiveDirectory группу KuchumovLinux и делать net groupmap add
unixgroup=kuchumov ntgroup=KuchumovLinux
Все без толку.
Помогите пожалуйста.
С уважением, Кучумов Андрей
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-21 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-21 12:21 [Comm] Samba 3, Active Direcory and Local User Кучумов А.А.
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