From: "Кучумов А.А." <kuchumov@srd.mtuci.ru> To: <community@altlinux.ru> Subject: [Comm] Samba 3, Active Direcory and Local User Date: Wed, 21 Apr 2004 16:21:43 +0400 Message-ID: <20040421122206.2C282E56AC@master.altlinux.ru> (raw) Доброго времени суток. Возникла следующая проблема. (Дистрибутив 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 Все без толку. Помогите пожалуйста. С уважением, Кучумов Андрей
reply other threads:[~2004-04-21 12:21 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040421122206.2C282E56AC@master.altlinux.ru \ --to=kuchumov@srd.mtuci.ru \ --cc=community@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