ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vladimir Lettiev <crux@gorodmasterov.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Cc: Volkov Serge <vserge@altlinux.ru>, Michael Shigorin <mike@osdn.org.ua>
Subject: [devel] Re: IA: Apache auth_ldap module Multiple Format Strings Vulnerability
Date: Wed, 11 Jan 2006 21:11:03 +0300
Message-ID: <43C54A37.7020502@gorodmasterov.com> (raw)
In-Reply-To: <43C40D9F.5010709@altlinux.ru>

Volkov Serge пишет:
> Владимир буду очень благодарен, если сможете подстарховать
> 
> Так же я думаю, что надо будет провести опрос devel@, чтобы понять какой 
> из модулей для авторизации LDAP оставить, так как этот модуль вроде как 
> почти не развивается последнее время.

А какой такой "другой" модуль? Ок, forward2devel@

> 
> Vladimir Lettiev пишет:
> 
>> http://www.digitalarmaments.com/2006090173928420.html
>>
>> Апстрим выпустил обновление auth_ldap 1.6.1.
>> Вот changelog: http://www.rudedog.org/auth_ldap/Changes.html
>>
>> Необходимо выпустить обновление и для ALM24. Сергей сможете сделать? 
>> или подстраховать вас?

В процессе сборки обновления с удивлением обнаруживаю, что ldap_auth 
после установки на "свежий" апач не работает.

Виной тому, по всей видимости, такой кусок патча для apxs апача 
apache-1.3.31-apxs.patch:

@@ -468,11 +469,13 @@
...
-        push(@lmd, sprintf("LoadModule %-18s %s", "${name}_module", 
"$dir$t"));
...
+        push(@lmd, sprintf("LoadModule %-18s %s", join("_", 
reverse(split("_", ${name}))) . "_module", "modules/$t"));

Из-за использования reverse(), вместо ожидаемой строки в httpd.conf
LoadModule auth_ldap_module   modules/mod_auth_ldap.so
получаем
LoadModule ldap_auth_module   modules/mod_auth_ldap.so

Апач в результате не загружается с таким сообщением:
Starting libhttpd.ep service: Syntax error on line 266 of 
/etc/httpd/conf/httpd.conf:
Can't locate API module structure `ldap_auth_module' in file 
/etc/httpd/modules/mod_auth_ldap.so: 
/etc/httpd/modules/mod_auth_ldap.so: undefined symbol: ldap_auth_module

Changelog апача говорит о каких-то таинственных "problem with 
mod_long_names (by pilot@)". Может кто-нибудь пояснить в чём была 
проблема, для которой создавался этот патч?

-- 
С уважением, Владимир Леттиев aka crux <crux@gorodmasterov.com>


       reply	other threads:[~2006-01-11 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11 18:11   ` Vladimir Lettiev [this message]
2006-01-11 21:45     ` Volkov Serge
2006-01-13 18:30       ` [devel] Apache auth_ldap module - Какой модуль оставляем? Volkov Serge

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=43C54A37.7020502@gorodmasterov.com \
    --to=crux@gorodmasterov.com \
    --cc=devel@lists.altlinux.org \
    --cc=mike@osdn.org.ua \
    --cc=vserge@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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