ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yury Konovalov <yurix@unixcenter.ru>
To: sisyphus@altlinux.ru
Cc: Volkov Serge <vserge@altlinux.ru>
Subject: [sisyphus] OpenLDAP with SASL. Berkleydb plugin to blame
Date: Sat, 1 Nov 2003 22:21:07 +0300
Message-ID: <200311012221.07680.yurix@unixcenter.ru> (raw)

Всем привет !
Сегодня добрался посмотреть еще раз на проблему сборки
OpenLDAP с поддержкой SASL в сизифе.
В момент подключения любым методом SASL - падает slapd с segfault
Вот backtrace:
------------------------------------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2051 (LWP 10148)]
0x081191c1 in ?? ()
(gdb) where
#0  0x081191c1 in ?? ()
#1  0x40014a07 in _sasldb_getdata () from /usr/lib/sasl2/libsasldb.so
#2  0x4001305c in _init () from /usr/lib/sasl2/libsasldb.so
#3  0x401bcf9b in _sasl_auxprop_lookup () from /usr/lib/libsasl2.so.2
#4  0x401bd49e in _sasl_canon_user () from /usr/lib/libsasl2.so.2
#5  0x4059925f in _init () from /usr/lib/sasl2/libgssapiv2.so
#6  0x401c6895 in sasl_server_step () from /usr/lib/libsasl2.so.2
#7  0x08087d03 in slap_sasl_bind ()
#8  0x0806b5f8 in do_bind ()
#9  0x08055b5d in connection_done ()
#10 0x40023e14 in ldap_pvt_thread_pool_destroy () from /usr/lib/libldap_r.so.2
#11 0x401aa1f0 in pthread_start_thread () from /lib/libpthread.so.0
#12 0x401aa26f in pthread_start_thread_event () from /lib/libpthread.so.0
------------------------------------------------------------------------------
Понятно, что происходит что-то не то в момент, когда sasl перебирает все
возможные плагины и в момент обращения к libsasldb что-то ломается.
К сожалению, так и не удалось определить что именно приводит к такому
результату.
 Судя по всему, виновника нужно искать в SASL (или за ним), а не в LDAP.
Разумеется, если собирать SASL без поддержки db, то все работает замечательно.
Кто-нибудь пользуется sasldb?
Может формат /etc/sasl2/sasldb2 изменился?



Здесь пример рабочей сборки SASL'а без поддержки db и LDAP'а c поддержкой
sasl:
ftp://ftp.mai.ru/pub/UnixCenter/Wider/i586/RPMS




                 reply	other threads:[~2003-11-01 19:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200311012221.07680.yurix@unixcenter.ru \
    --to=yurix@unixcenter.ru \
    --cc=sisyphus@altlinux.ru \
    --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 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