From: Dmitry Lebkov <dima@sakhalin.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: Re: [sisyphus] LDAP грабли Date: Thu, 06 Jan 2005 23:29:48 +1000 Message-ID: <41DD3D4C.1050302@sakhalin.ru> (raw) In-Reply-To: <41DCF0C9.1010401@nm.ru> Artem wrote: > >> >> Добавь в /etc/openldap/ldap.conf на сервере и на клиента вот такое: >> tls_reqcert never > > > Да, помогло.. Одно не понятно. Ведь до этого у меня было прописано в > ldap.conf : > > TLS_CACERT /etc/openldap/ssl/ca.cert > где ca.cert - копия сертификата сервера. > Почему же не выполнялась проверка по данному способу? > > Сертификаты - в порядке: > openssl verify -CAfile ca.cert -verbose ldap.cert > ldap.cert: OK А права на чтение этого файла у клиента есть? У меня всё это в свое время вполне нормально работало, но потом надоело собирать сертификаты серверов руками и теперь пользую tls_reqcert never. >> Чтоб работало так, как задумано, заключи строку ldap:/// ldaps:/// >> еще и в одинарные кавычки. >> >> SLAPDURLLIST="'ldap:/// ldaps:///'" >> > Да, с этим нюансом теперь все ясно. Это уже работает. > > Еще один вопрос - почему /var/log/ldap - пуст ? А в конфиге slapd.conf логгинг включен? А syslog знает куда складывать логи от slapd? > Следующие грабли - делаем > service slapd restart > Service slapd is not running. [PASSED] > Checking slapd configuration [ DONE ] > Adjusting environment for slapd: [ DONE ] > Service slapd is already running. [PASSED] > > Хотя: > ps aux | grep slapd > ldap 8771 0.0 1.4 11552 3716 ? S 09:22 0:00 > /usr/sbin/slapd -u ldap -r /var/lib/ldap -h ldap:/// ldaps:/// > > То же самое и для service slapd stop - остановить невозможно - только > путем kill Смотреть скрипт /etc/rc.d/init.d/slapd. Скорее всего не хватает прав на создание pid-файла. Эту проблему уже фиксили в какой-то из сборок. А вообще, лучше поставить последний openldap из Сизифа ... ;) -- WBR, Dmitry Lebkov
next prev parent reply other threads:[~2005-01-06 13:29 UTC|newest] Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-05 13:41 Artem 2005-01-05 15:53 ` Dmitry Lebkov 2005-01-06 8:03 ` Artem 2005-01-06 13:29 ` Dmitry Lebkov [this message] 2005-01-06 15:07 ` Artem 2005-01-06 15:40 ` Dmitry Lebkov 2005-01-06 15:47 ` Artem 2005-01-06 17:41 ` Re[2]: [sisyphus] LDAP ÇÒÁÂÌÉ Volkov Serge 2005-01-07 1:58 ` [sisyphus] LDAP грабли Dmitry Lebkov 2005-01-07 20:25 ` Re[2]: [sisyphus] LDAP ÇÒÁÂÌÉ Volkov Serge 2005-01-08 2:14 ` Re[3]: " Volkov Serge 2005-01-06 17:41 ` Re[2]: " Volkov Serge 2005-01-06 17:56 ` [sisyphus] LDAP грабли Artem 2005-01-07 1:52 ` Dmitry Lebkov 2005-01-07 9:36 ` Artem 2005-01-07 20:17 ` Re[2]: [sisyphus] LDAP ÇÒÁÂÌÉ Volkov Serge 2005-01-08 8:08 ` [sisyphus] LDAP грабли Artem 2005-01-20 10:36 ` Artem 2005-01-20 11:16 ` Epiphanov Sergei 2005-01-20 11:27 ` vserge 2005-01-20 12:56 ` Artem 2005-01-20 13:32 ` Dmitry Lebkov 2005-01-20 14:06 ` Artem 2005-01-21 7:42 ` Artem 2005-01-21 7:55 ` Artem 2005-01-21 22:20 ` vserge 2005-01-24 11:05 ` Artem 2005-01-07 20:16 ` Re[2]: [sisyphus] LDAP ÇÒÁÂÌÉ Volkov Serge 2005-01-06 12:33 ` [sisyphus] LDAP грабли Artem 2005-01-06 12:36 ` [sisyphus] " 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=41DD3D4C.1050302@sakhalin.ru \ --to=dima@sakhalin.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