ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mike Lykov <combr@vesna.ru>(by way of Mike Lykov <combr@vesna.ru>)
To: community@altlinux.ru
Subject: [Comm] Net::LDAP и Active Directory
Date: Wed, 16 Jul 2003 17:35:57 +0500
Message-ID: <200307161735.57104.combr@vesna.ru> (raw)

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

Делал ли кто обращение к AD для чтения информации по протоколу LDAP на перле?

Мне хочется с линукс-машины обратиться к AD и прочитать инфу о людях:
Имя, Фамилия, учетная запись, емейл, телефон  и т.п.
Добрый админ виндового сервера все это ввел через гуйные формочки на сервере,
поэтому представления о структуре дерева он не имеет ;)

Попытка анонимно приконнектитьмся и что-то поискать (как написано в различных
примерах к OpenLDAP, например)  не работает, на все отвечает
LDAP_PARAM_ERROR
    An invalid parameter was specified

Поэтому вопросы возникли ;)

1. какова структура той части дерева AD, в которой лежат фамилии и емейлы?
какие у них DN-имена? чтобы знать, что искать и откуда начинать.

2. требуется ли с AD какая-то хитрая авторизация? анонимно не работает
 вообще, или я и правда ошибался все время в параметрах? авторизация  - SASL
 ? Если в виндовом домене у меня есть учетная запись, то она для авторизации
 пойдет?

Кто-нибудь делал такое? ;)

--
Mike
registered linux user #315334



             reply	other threads:[~2003-07-16 12:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 12:35 Mike Lykov [this message]
2003-07-16 16:14 ` Igor Muratov

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=200307161735.57104.combr@vesna.ru \
    --to=combr@vesna.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