ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mike Lykov <combr@vesna.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Net::LDAP и Active Directory
Date: Wed, 16 Jul 2003 17:08:27 +0500
Message-ID: <200307161708.27099.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:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 12:08 Mike Lykov [this message]
2003-07-16 13:43 ` Peter V. Saveliev
2003-07-18  7:40   ` Mike Lykov
2003-07-16 13:46 ` Michael K.

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=200307161708.27099.combr@vesna.ru \
    --to=combr@vesna.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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