ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mike Lykov <combr@vesna.ru>
To: community@altlinux.ru
Subject: [Comm] Net::LDAP + active directory
Date: Tue, 29 Jul 2003 18:23:59 +0500
Message-ID: <200307291823.59888.combr@vesna.ru> (raw)

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

Добился-таки получения инфы из Active Directory c помощью Net::LDAP :
....
$searchobj=$ldap->search(base => $basedn, scope => $scope, filter =>
$filter);  
...                                                                                
$ldif = new Net::LDAP::LDIF('expample.ldif', 'w') || die("Failed to open
example.ldif: $!\n");
$ldif->write($searchobj->entries());     

Запускаю, результат пишется в файл, все штатно.
Но вот записи, которые в оригинале содержат русский текст, выглядят так:

department:: 0YHQu9GD0LbQsdGLINGN0LrRgdC/0LvRg9Cw0YLQsNGG0LjQuCDQlNCY0KI=  

Но в GQ, например, выглядит все прилично по русски ;)

Что это за вид? Как бы их конвертировать?

Естественно, что во всех факах/доках ничего про это нет, потому что они 
английские ;)

-- 
Mike
registered linux user #315334


             reply	other threads:[~2003-07-29 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 13:23 Mike Lykov [this message]
2003-07-29 13:35 ` Alexander Bokovoy
2003-07-30  3:29 ` BSW
2003-07-30  3:37   ` Mike Lykov

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=200307291823.59888.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