ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "A.Kitouwaykin" <cetus@newmail.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] перенос пользователей из tcb в ldap
Date: Thu, 7 Dec 2006 15:39:30 +0300
Message-ID: <20061207153930.50434d76.cetus@newmail.ru> (raw)
In-Reply-To: <4577EBD9.8030903@junior.esoo.ru>

On Thu, 07 Dec 2006 15:24:25 +0500
Anton Kvashin <foo@junior.esoo.ru> wrote:

> Шенцев Алексей Владимирович пишет:
> > Как осуществить сабж? Есть ли описание как это делать, какими средствами 
> > воспользоваться?
> 
> Имеется несколько сценариев на Perl для перноса пользователей, 
> идущих с самим пакетом (возможно), а-ля 
> openldap/migration/migratre_passwd.pl
> 

Пытался вот буквально на днях. Не получилось.

Делал по примеру на freesource.info
(wiki/ALTLinux/Документация/OpenLDAP)

Командой аналогичной ...

# ./migrate_passwd.pl /etc/passwd > ~/accounts.ldif

... сконвертировался только root, но даже его не удалось
подсунуть ldapadd. Кроме того, root без пароля, по крайней
мере. 

Попытки поиграться с tcb_unconvert и подсунуть в 
migrate_passwd.pl /etc/shadow не привели ни к чему хорошему.
Даже наоборот. Куда-то стерся /etc/passwd... К счастью,
был ALM-2.4-Install с режимом rescue и нашелся какой-то 
бэкап.

Похоже, пора на второй заход. :)

-- 
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб


  parent reply	other threads:[~2006-12-07 12:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07  9:45 Шенцев Алексей Владимирович
2006-12-07 10:24 ` Anton Kvashin
2006-12-07 11:25   ` Шенцев Алексей Владимирович
2006-12-07 12:48     ` Michael Shigorin
2006-12-07 12:39   ` A.Kitouwaykin [this message]
2006-12-07 14:27     ` Шенцев Алексей Владимирович
2006-12-07 14:31     ` Slava Dubrovskiy
2006-12-07 14:44     ` Шенцев Алексей Владимирович
2006-12-08  6:52       ` Шенцев Алексей Владимирович
2006-12-07 15:18     ` Dmitriy L. Kruglikov
2006-12-07 16:44       ` A.Kitouwaykin
2006-12-07 17:25         ` Dmitriy L. Kruglikov
2006-12-08  7:47         ` Slava Dubrovskiy

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=20061207153930.50434d76.cetus@newmail.ru \
    --to=cetus@newmail.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

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

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


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