From: Epiphanov Sergei <serpiph@nikiet.ru> To: "Рассылка Sisyphus" <sisyphus@altlinux.ru> Subject: [sisyphus] OpenLDAP+SASL(DIGEST-MD5) Date: Mon, 14 Feb 2005 11:34:08 +0300 Message-ID: <200502141134.08336.serpiph@nikiet.ru> (raw) Прошу послать мне лично хотя бы какие-нибудь ссылки как заполучить регистрацию в OpenLDAP через SASL (у кого работает), чтобы пароли хранились в OpenLDAP. Пишу сюда, так как в Интернете нужной информации не нашёл, в Community так ничего и не сказали. Помогите, бубен не работает... Пробовал через документацию OpenLDAP, прописал нужные sasl-regexp, прописал в rootDSE параметр supportedSASLMechanisms: DIGEST-MD5 SIMPLE регистрация работает, запущен saslauthd, команда testauthd проходит нормально. При попытке пройти регистрацию через SASL получаю: $ 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 supportedSASLMechanisms: DIGEST-MD5 В /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 -- С уважением, Епифанов Сергей
next reply other threads:[~2005-02-14 8:34 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-14 8:34 Epiphanov Sergei [this message] 2005-02-14 10:46 ` [sisyphus] OpenLDAP+SASL(DIGEST-MD5) Michael Shigorin
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=200502141134.08336.serpiph@nikiet.ru \ --to=serpiph@nikiet.ru \ --cc=sisyphus@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