ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Тарас Абламский" <ablamskytl@mail.ru>
To: community@altlinux.ru
Subject: [Comm] LDAP NSS resolver
Date: Tue, 24 Dec 2002 12:38:58 +0300
Message-ID: <E18QlWc-0009nH-00@f7.mail.ru> (raw)
In-Reply-To: <20021028130811.348eb880.avp@altlinux.ru>

Здравствуйте все.

И снова LDAP...

Есть рабочий LDAP сервер, в нем хранятся пользователи и hosts.
С пользователями все в порядке :), а вот с хостами не совсем.

Пример:
comp1 - хранится в LDAP, в файле /etc/hosts его нет

$ getent hosts|grep comp1
192.168.1.248     comp1
$

вроде работает, а вот так

$ getent hosts comp1
$

не работает :(

или так

$ ssh comp1
ssh: comp1: Name or service not known
$ 

тоже не работает :(

Немного покопавшись выяснилось, что функция gethostbyname работает нормально (с хостами из LDAP),
а функция getaddrinfo не работает (с хостами из LDAP)

Не понятно, то ли в glibc недоделка, то ли так и должно быть, но тогда недоделка в ssh и еще во многих программах.

Что делать?
Кому писать багрепорты?

Система Master 2.0 c updates.
$ rpm -q glibc
glibc-2.2.5-alt12
$

Абламский Тарас.

PS 
еще например:
mc, lftp, nmap -- работают с comp1
ping, ftp, ssh -- не работают с comp1
и этот список можно продолжить.














  parent reply	other threads:[~2002-12-24  9:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-21 20:46 [Comm] mp3->ogg Sergey B.
2002-12-22  0:12 ` Vitaly Lipatov
2002-10-28 10:08   ` Alexandre Prokoudine
2002-10-28 15:20     ` Alexandre Prokoudine
2002-12-23 10:49     ` Vitaly Lipatov
2002-10-28 13:12       ` Alexandre Prokoudine
2002-12-24  9:38     ` Тарас Абламский [this message]
2002-12-25 19:25 ` [Comm] mp3->ogg Michael Shigorin
2002-12-26 10:45   ` Igor Homyakov
2002-12-26 18:41     ` Michael Shigorin

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=E18QlWc-0009nH-00@f7.mail.ru \
    --to=ablamskytl@mail.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