ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] OpenLDAP и SASL
@ 2005-02-11 14:25 Epiphanov Sergei
  0 siblings, 0 replies; only message in thread
From: Epiphanov Sergei @ 2005-02-11 14:25 UTC (permalink / raw)
  To: Рассылка Community

Никак не могу прикрутить SASL (DIGEST-MD5) к OpenLDAP:
$ ldapsearch -U user@realm -W -b "dc=example,dc=com"
Enter LDAP Password:
SASL/DIGEST-MD5 authentication started
ldap_sasl_interactive_bind_s: Authentication method not supported (7)
        additional info: SASL(-4): no mechanism available: Couldn't find 
mech DIGEST-MD5
$testsaslauthd -u user -p test
0: OK "Success."
$ ldapsearch -x -D "uid=user,ou=people,dc=example,dc=com" -W -b 
"dc=example,dc=com"
...
выдаёт текст из базы
...
$ cat /etc/openldap/rootDSE.ldif
dn:
vendorName: The OpenLDAP Project <http://www.openldap.org/> build for 
ALTLinux Team
supportedSASLMechanisms: DIGEST-MD5

Где происходит затычка? Может, кто подскажет? saslauthd настроен получать 
информацию из OpenLDAP через метод BIND (т.е. не SASL).

В /etc/openldap/slapd.conf есть строки:

sasl-regexp
    uid=(.*),cn=realm,cn=DIGEST-MD5,cn=auth
    uid=$1,ou=people,dc=example,dc=com

sasl-regexp
    uid=(.*),cn=DIGEST-MD5,cn=auth
    uid=$1,ou=people,dc=example,dc=com

-- 
С уважением, Епифанов Сергей


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-11 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 14:25 [Comm] OpenLDAP и SASL Epiphanov Sergei

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