Saratov Linux User Group
 help / color / mirror / Atom feed
From: "Яков Попов" <j.a.popov@mail.ru>
To: Saratov Linux User Group Maillist <sarlug@lug.ru>
Subject: Re: [Sarlug] Samba и Win2k3
Date: Thu, 29 Mar 2007 21:34:17 +0400
Message-ID: <200703292134.17508.j.a.popov@mail.ru> (raw)
In-Reply-To: <001501c770fa$a2a20310$6501a8c0@Old>

| > пальцем в небо:
| > 1) попробуйте
| > net ads join member -U Administrator@CHAOS.RU
| > или вариации из man net
| > 2) удивительно просто, но и на старуху бывает проруха:
| > Вы передаёте пароль шифрованным или нет? а виндовоз знает об этом?
| >
| > кстати. что за система?
| >
| > | Приветствую братьев по разуму!
| > |
| > | Сижу вот и мучаюсь с подключением Samb'ы к AD.
| > | возникает следующая ошибка при выполнении команды:
| > | net ads join -U Administrator@CHAOS.RU
| > | а вот и ошибка:
| > | ads_connect: Invalid credentials
| > | ПАМАГИТЕ!
|
| Система Mandriva 2007 LC Edition
| Вот насчет 2 варианта я низнаю... Как ето проверить?
|
| _______________________________________________
| Sarlug mailing list
| Sarlug@lug.ru
| https://lists.lug.ru/mailman/listinfo/sarlug

-- 

Ну, это просто:
1) Чтобы настроить выни на плэйн-текстовые пароли, в реестре
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters
создать/изменить параметр (типа DWORD) EnablePlainTextPassword=1

Потом настраиваете Samba на простые текстовые пароли, и она 
использует /etc/passwd и /etc/shadow.

2) Если пароли шифруем, тогда поднастроить samba:
smb passwd file = /etc/samba/smbpasswd (кстати, проверьте и файл, на который 
указывает этот параметр)
encrypt passwords = yes
ssl CA certFile = файл (файл сертификата для работы с SSL. Вот это проверьте 
потщательней. Обычно ошибки credentials растут оттуда)
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype* %n\n *Updated*passwords*

Проверьте также:
username map = файл (сопоставление имен пользователей. Обязательно сопоставьте 
Administrator и Администратор юзеру root или ещё кому-нибудь)



С уважением,

Яков Попов
Саратовский Линукс-центр
j.a.popov@mail.ru

      reply	other threads:[~2007-03-29 17:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 18:11 chaos world
2007-03-27 20:23 ` Яков Попов
2007-03-28  5:33   ` spirit
2007-03-29 17:34     ` Яков Попов [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=200703292134.17508.j.a.popov@mail.ru \
    --to=j.a.popov@mail.ru \
    --cc=sarlug@lug.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

Saratov Linux User Group

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \
		sarlug@lists.lug.ru sarlug@lug.ru
	public-inbox-index sarlug

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sarlug


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git