ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] LDAP + русский текст.
@ 2002-11-04  8:35 Денис Якимов
  2002-11-04  8:46 ` Alexey V. Lubimov
  0 siblings, 1 reply; 6+ messages in thread
From: Денис Якимов @ 2002-11-04  8:35 UTC (permalink / raw)
  To: Sisyphus

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

Извините, что немного не по тематике рассылки.
Но уж больно худая у меня ситуация. Заплутал я совсем в проблеме 
импорта русского текста, да и вообще, бинарного кода в базу LDAP.

Имеем честно сгенереный test.ldif:
----------
dn: uid=polisharik13, ou=people, dc=den,dc=yar,dc=ru
cn:
w7DDj8OMw4nDh8OSw4HDhiDDsMOPw4zDicOHw5LDgcOGw4/Dl8OJw54gw7vDgcOSw4nDi8OPw5c=
sn;binary: w7vDgcOSw4nDi8OPw5c=
objectclass: top
objectclass: person
objectclass: inetOrgPerson
objectclass: organizationalPerson
mail: polisharik@mail.ru
title: {binary}w7DDj8Oew4XDlMOOw5nDiiDDlMOFw5PDlMOFw5I=
----------

Здесь видны мои потуги с тремя вариантами импорта русского текста
(завернутого сначала в utf8, затем в base64).

Вариант без указания типа поля приводит к тому, что LDAP-клиент в чистую
показывает строку в исходном виде, то есть как  w7DDj8...OPw5c=
Что, естественно, меня не устраивает.
При попытке указать тип {bynary) приводит к тому же.

Вариант с sn;binary приводит к ошибке, что данный тип для данного поля
неприемлем.

А теперь вопрос: как же импортировать в базу LDAP данные на русском?
Намекните, что ль.

-- 
С Уважением,
Денис Якимов
старший инженер ИЦ УВД Ярославской области, тел: (0852) 27-93-36

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-04 12:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-04  8:35 [sisyphus] LDAP + русский текст Денис Якимов
2002-11-04  8:46 ` Alexey V. Lubimov
2002-11-04 10:20   ` Денис Якимов
2002-11-04 10:34     ` Alexey V. Lubimov
2002-11-04 10:40       ` Alexey V. Lubimov
2002-11-04 12:52       ` Денис Якимов

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