ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Smirnov Alexey <alex@eburg.uniland.ru>
To: community@altlinux.ru
Subject: [Comm] master 2.2 & pam_winbind
Date: Tue, 17 Jun 2003 10:39:50 +0600
Message-ID: <200306171039.50953.alex@eburg.uniland.ru> (raw)

Hello All!

Проблема в следующем - хочу настроить аутентификацию юзеров с домена (раньше 
стоял RH 7.3 с настроенным для этих целей pam_krb5, но в мастере нету 
pam_krb5). Дак вот, делаю все как написано в мануале а в итоге не могу никак 
добиться результата :(

В nsswitch.conf прописал следующее:

passwd:     files winbind
shadow:     tcb files
group:      files winbind

в smb.conf:
[global]
    workgroup = UE
    netbios name UNI
    security = domain
    password server = NT1 NT2
    encrypt passwords = yes
    winbind uid = 10000-20000
    winbind gid = 10000-20000
   # winbind separator = \
   winbind use default domain = yes
   #  winbind enum users = yes
   #  winbind enum groups = yes

запускаю демона winbind и смотрю - вроде бы как работает
wbinfo -g и wbinfo -u показывает все группы и юзеров
wbinfo -a user%passwd тоже пишет что все ОК

Дальше в файле /etc/pam.d/samba я везде заменил system-auth на 
system-auth-winbind, но подключиться по smb я не могу - винда пишет про 
неверный пароль а в логах самбы:

[2003/06/17 10:37:28, 2] smbd/service.c:make_connection(331)
  Invalid username/password for share [ue\user]
[2003/06/17 10:37:28, 3] smbd/error.c:error_packet(113)
  error packet at smbd/reply.c(166) cmd=117 (SMBtconX) 
NT_STATUS_WRONG_PASSWORD

Вопрос - работает ли в принципе pam_winbind в мастере ?

Спасибо.


             reply	other threads:[~2003-06-17  4:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17  4:39 Smirnov Alexey [this message]
2003-06-17  6:47 ` Александр Никольников

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=200306171039.50953.alex@eburg.uniland.ru \
    --to=alex@eburg.uniland.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