From: Sergey Vlasov <vsu@altlinux.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] samba & homes
Date: Fri, 13 Apr 2012 01:08:25 +0400
Message-ID: <20120412210825.GA6398@atlas.home> (raw)
In-Reply-To: <CACB4GuC=hniMOvv6YBYG2FtxQ7B_rO-WM6Zdck7Pgqff4MawxA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]
On Thu, Apr 12, 2012 at 09:52:24PM +0400, Алексей Синицын wrote:
> Да, спасибо, добавил пользователя, задал пароль и смог подключиться.
> В общем это выход, то что нет необходимости заводить системных
> пользователей это даже лучше.
>
> Так долго и упорно я пытался авторизоваться с системными
> пользователями потому, что некоторое время назад имел дело с самбой и
> там как раз она использовала системных пользователей.
На самом деле нужно и то, и другое - хеш пароля берётся в данном
случае из tdbsam, а вот uid, gid, homedir, ... должны быть в базе
passwd (в простейшем случае в /etc/passwd, но это может быть и LDAP, и
любой другой вариант, поддерживаемый NSS в glibc). Хотя системный
пароль (в shadow/tcb/...) в этом случае может быть и не установлен
(тогда пользователь при обычных настройках pam не сможет зайти с
консоли или через ssh по паролю, но сможет пользоваться ресурсами
Samba), либо эти пароли могут не совпадать (для синхронизации в случае
смены пароля через Samba есть параметр unix password sync, либо, если
используется LDAP - ldap passwd sync).
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2012-04-12 21:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 18:32 Алексей Синицын
2012-04-12 1:37 ` Варакин Алексей
2012-04-12 2:39 ` Алексей Синицын
2012-04-12 8:10 ` Dmitry Chistikov
2012-04-12 8:24 ` Алексей Синицын
2012-04-12 13:24 ` Michael Shigorin
2012-04-12 17:06 ` Алексей Синицын
2012-04-12 17:30 ` Michael Shigorin
2012-04-12 17:52 ` Алексей Синицын
2012-04-12 18:08 ` Алексей Синицын
2012-04-12 20:18 ` Michael Shigorin
2012-04-13 15:37 ` Алексей Синицын
2012-04-13 18:04 ` Sergey Vlasov
2012-04-12 21:08 ` Sergey Vlasov [this message]
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=20120412210825.GA6398@atlas.home \
--to=vsu@altlinux.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