* [Comm] Правильное написание спека/configure @ 2004-03-30 7:27 Eugene Prokopiev 2004-03-30 8:01 ` Alexey Morozov 2004-03-30 8:58 ` [Comm] dhcp с ldap (was: Re: Правильное написание спека ) Nick S. Grechukh 0 siblings, 2 replies; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-30 7:27 UTC (permalink / raw) To: Community Здравствуйте! Потребовался dhcpd с поддержкой ldap. Скачал http://www.lunytune.net/dhcp-3.0.1rc11-ldap.diff.gz При выполнении инструкций с http://www.opennet.ru/docs/RUS/ldap_integr/#dhcp все собирается. Хочется сделать RPM. Наложение патча в спеке вроде как делается без особых проблем: Patch3: %name-3.0.1rc11-ldap.diff и %patch3 -p1 Но далее рекомендуют после ./configure в файл work.linux-2.2/server/Makefile в LIBS добавить -lldap Во-первых, непонятно, как это сделать в спеке, во-вторых, кажется что делать этого не стоит, т.к. ./configure вроде бы для этого и нужен. Хотя утверждать не буду, т.к. с ним не знаком. Может кто-нибудь помочь? -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] Правильное написание спека/configure 2004-03-30 7:27 [Comm] Правильное написание спека/configure Eugene Prokopiev @ 2004-03-30 8:01 ` Alexey Morozov 2004-03-30 8:58 ` [Comm] dhcp с ldap (was: Re: Правильное написание спека ) Nick S. Grechukh 1 sibling, 0 replies; 16+ messages in thread From: Alexey Morozov @ 2004-03-30 8:01 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 491 bytes --] On Tue, Mar 30, 2004 at 11:27:25AM +0400, Eugene Prokopiev wrote: > Но далее рекомендуют после ./configure в файл > work.linux-2.2/server/Makefile в LIBS добавить -lldap Патч на work.linux-2.2/server/Makefile.am ? Если он есть, конечно. Если нет - то на work.linux-2.2/server/Makefile.in Если был патч на Makefile.am, то перед запуском configure надо сказать automake (и, возможно, autoconf) Впрочем, можно еще "глобально" добавить нужную библиотеку (в LDFLAGS перед запуском configure) [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Comm] dhcp с ldap (was: Re: Правильное написание спека ) 2004-03-30 7:27 [Comm] Правильное написание спека/configure Eugene Prokopiev 2004-03-30 8:01 ` Alexey Morozov @ 2004-03-30 8:58 ` Nick S. Grechukh 2004-03-30 10:36 ` [Comm] dhcp с ldap Eugene Prokopiev 1 sibling, 1 reply; 16+ messages in thread From: Nick S. Grechukh @ 2004-03-30 8:58 UTC (permalink / raw) To: community > Потребовался dhcpd с поддержкой ldap. Скачал сбросишь то что получится? сам спек я имею в виду ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 8:58 ` [Comm] dhcp с ldap (was: Re: Правильное написание спека ) Nick S. Grechukh @ 2004-03-30 10:36 ` Eugene Prokopiev 2004-03-30 11:27 ` Eugene Prokopiev 0 siblings, 1 reply; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-30 10:36 UTC (permalink / raw) To: community Nick S. Grechukh пишет: >>Потребовался dhcpd с поддержкой ldap. Скачал > сбросишь то что получится? сам спек я имею в виду если сделаю :) -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 10:36 ` [Comm] dhcp с ldap Eugene Prokopiev @ 2004-03-30 11:27 ` Eugene Prokopiev 2004-03-30 11:33 ` ath 0 siblings, 1 reply; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-30 11:27 UTC (permalink / raw) To: community Если кому надо, вот разница с оригинальным спеком из ALM 2.2: $ diff RPM/SPECS/dhcp.spec RPM2/SPECS/dhcp.spec 26a27 > Patch3: %name-3.0.1rc11-ldap.diff 126a128 > %patch3 -p1 129a132 > echo LIBS=-lldap >> site.conf Собралось. Работоспособность еще не проверял :) -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 11:27 ` Eugene Prokopiev @ 2004-03-30 11:33 ` ath 2004-03-30 12:27 ` Eugene Prokopiev 0 siblings, 1 reply; 16+ messages in thread From: ath @ 2004-03-30 11:33 UTC (permalink / raw) To: community Извините, можно узнать, а что родится при скрещивании dhcp и ldap? С уважением, Антон ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 11:33 ` ath @ 2004-03-30 12:27 ` Eugene Prokopiev 2004-03-30 11:45 ` Nick S. Grechukh ` (2 more replies) 0 siblings, 3 replies; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-30 12:27 UTC (permalink / raw) To: community ath@isk-clever.ru пишет: > Извините, можно узнать, а что родится при скрещивании dhcp и > ldap? Как что, мутант !!! :) То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень много), можно хранить в дереве ldap. Вот только как это сделать, пока не пойму ... -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 12:27 ` Eugene Prokopiev @ 2004-03-30 11:45 ` Nick S. Grechukh 2004-03-30 12:58 ` Eugene Prokopiev 2004-03-30 14:36 ` Maxim Tyurin 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович 2 siblings, 1 reply; 16+ messages in thread From: Nick S. Grechukh @ 2004-03-30 11:45 UTC (permalink / raw) To: community В сообщении от Вторник 30 Март 2004 15:27 Eugene Prokopiev написал(a): > ath@isk-clever.ru пишет: > > Извините, можно узнать, а что родится при скрещивании dhcp и > > ldap? > > Как что, мутант !!! :) > > То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень > много), можно хранить в дереве ldap. Вот только как это сделать, пока не > пойму ... а чтоб leases попадали автоматом в ldap (и удалялись) можно? ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 11:45 ` Nick S. Grechukh @ 2004-03-30 12:58 ` Eugene Prokopiev 0 siblings, 0 replies; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-30 12:58 UTC (permalink / raw) To: community Nick S. Grechukh пишет: > В сообщении от Вторник 30 Март 2004 15:27 Eugene Prokopiev написал(a): > >>ath@isk-clever.ru пишет: >> >>>Извините, можно узнать, а что родится при скрещивании dhcp и >>>ldap? >> >>Как что, мутант !!! :) >> >>То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень >>много), можно хранить в дереве ldap. Вот только как это сделать, пока не >>пойму ... > > > а чтоб leases попадали автоматом в ldap (и удалялись) можно? судя по наличию в схеме dhcpLeases, dhcpExpirationTime, и т.д. - да -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 12:27 ` Eugene Prokopiev 2004-03-30 11:45 ` Nick S. Grechukh @ 2004-03-30 14:36 ` Maxim Tyurin 2004-03-30 15:25 ` Alexander Bokovoy 2004-03-31 3:02 ` BSW 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович 2 siblings, 2 replies; 16+ messages in thread From: Maxim Tyurin @ 2004-03-30 14:36 UTC (permalink / raw) To: community Eugene Prokopiev <john@rmts.donpac.ru> writes: > ath@isk-clever.ru пишет: > >> Извините, можно узнать, а что родится при скрещивании dhcp и >> ldap? > > Как что, мутант !!! :) > > То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень > много), можно хранить в дереве ldap. Вот только как это сделать, пока > не пойму ... Есть патч для dhcpd И работает даже. Также есть патч для bind9 тоже работает. И если dhcp инфу еще имеет смысл в LDAP хранить то с DNS я такого смысла не вижу (громе того я не понял как при хранении зон в LDAP делать $GENERATE) -- With Best Regards, Maxim Tyurin JID: MrKooll@jabber.pibhe.com ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 14:36 ` Maxim Tyurin @ 2004-03-30 15:25 ` Alexander Bokovoy 2004-03-31 3:02 ` BSW 1 sibling, 0 replies; 16+ messages in thread From: Alexander Bokovoy @ 2004-03-30 15:25 UTC (permalink / raw) To: community On Tue, Mar 30, 2004 at 05:36:35PM +0300, Maxim Tyurin wrote: > Eugene Prokopiev <john@rmts.donpac.ru> writes: > > > ath@isk-clever.ru пишет: > > > >> Извините, можно узнать, а что родится при скрещивании dhcp и > >> ldap? > > > > Как что, мутант !!! :) > > > > То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень > > много), можно хранить в дереве ldap. Вот только как это сделать, пока > > не пойму ... > > Есть патч для dhcpd > И работает даже. > Также есть патч для bind9 > тоже работает. > > И если dhcp инфу еще имеет смысл в LDAP хранить то с DNS я такого > смысла не вижу (громе того я не понял как при хранении зон в LDAP > делать $GENERATE) Для DNS смысл есть при учете интеграции с AD или организации AD-подобной системы на базе Samba/Krb5/DHCP/Bind. -- / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/ ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 14:36 ` Maxim Tyurin 2004-03-30 15:25 ` Alexander Bokovoy @ 2004-03-31 3:02 ` BSW 1 sibling, 0 replies; 16+ messages in thread From: BSW @ 2004-03-31 3:02 UTC (permalink / raw) To: community Maxim Tyurin wrote: > Также есть патч для bind9 > тоже работает. Dот с этим надо осторожнее. Во-первых, он не умеет самостоятельно писать в базу, следовательно не работает ddns. Во-вторых там нехилая утечка памяти, максимум за неделю система увязает в свопе, named отстреливается по причине нехватки памяти. OpenBSD-3.2 bind-9.2.1 версию патча - не помню. ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re[2]: [Comm] dhcp с ldap 2004-03-30 12:27 ` Eugene Prokopiev 2004-03-30 11:45 ` Nick S. Grechukh 2004-03-30 14:36 ` Maxim Tyurin @ 2004-03-30 15:48 ` Сухов Антон Иванович 2004-03-31 4:59 ` Eugene Prokopiev ` (2 more replies) 2 siblings, 3 replies; 16+ messages in thread From: Сухов Антон Иванович @ 2004-03-30 15:48 UTC (permalink / raw) To: Eugene Prokopiev Hello Eugene, Tuesday, March 30, 2004, 4:27:41 PM, you wrote: EP> ath@isk-clever.ru пишет: >> Извините, можно узнать, а что родится при скрещивании dhcp и >> ldap? EP> Как что, мутант !!! :) EP> То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень EP> много), можно хранить в дереве ldap. Вот только как это сделать, пока не EP> пойму ... А какой смысл это делать, конфигурационный файл от дхцпд пишется один раз и на всю жизнь (у нормальных людей), )) правда им можно ещё и гвозди забивать. ПС В последнее время отслеживаю моду всё пихать в лдап, это что паранойя? -- Best regards, Сухов mailto:ath@isk-clever.ru ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович @ 2004-03-31 4:59 ` Eugene Prokopiev 2004-03-31 8:17 ` Nick S. Grechukh 2004-03-31 19:14 ` [Comm] " Michael Shigorin 2 siblings, 0 replies; 16+ messages in thread From: Eugene Prokopiev @ 2004-03-31 4:59 UTC (permalink / raw) To: community Сухов Антон Иванович пишет: > Hello Eugene, > > Tuesday, March 30, 2004, 4:27:41 PM, you wrote: > > EP> ath@isk-clever.ru пишет: > > >>>Извините, можно узнать, а что родится при скрещивании dhcp и >>>ldap? > > > EP> Как что, мутант !!! :) > > EP> То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень > EP> много), можно хранить в дереве ldap. Вот только как это сделать, пока не > EP> пойму ... > > А какой смысл это делать, конфигурационный файл от дхцпд пишется один > раз и на всю жизнь (у нормальных людей), )) правда им можно ещё и > гвозди забивать. ни фига > ПС В последнее время отслеживаю моду всё пихать в лдап, это что > паранойя? давайте-ка начнем насчет паранойи новую ветку, см. ниже а то сам за себя боюсь ;) -- С уважением, Прокопьев Евгений ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Comm] dhcp с ldap 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович 2004-03-31 4:59 ` Eugene Prokopiev @ 2004-03-31 8:17 ` Nick S. Grechukh 2004-03-31 19:14 ` [Comm] " Michael Shigorin 2 siblings, 0 replies; 16+ messages in thread From: Nick S. Grechukh @ 2004-03-31 8:17 UTC (permalink / raw) To: community В сообщении от Вторник 30 Март 2004 18:48 Сухов Антон Иванович написал(a): > Hello Eugene, > > Tuesday, March 30, 2004, 4:27:41 PM, you wrote: > > EP> ath@isk-clever.ru пишет: > >> Извините, можно узнать, а что родится при скрещивании dhcp и > >> ldap? > > EP> Как что, мутант !!! :) > > EP> То, что обычно пишут в /etc/dhcpd.conf (и получается иногда очень > EP> много), можно хранить в дереве ldap. Вот только как это сделать, пока > не EP> пойму ... > > А какой смысл это делать, конфигурационный файл от дхцпд пишется один > раз и на всю жизнь (у нормальных людей), )) правда им можно ещё и > гвозди забивать. > > ПС В последнее время отслеживаю моду всё пихать в лдап, это что > паранойя? та да, как только /me начал заниматься лдапом, как сразу в коммунити пошла мода на лдап. {|:-) ^ permalink raw reply [flat|nested] 16+ messages in thread
* [Comm] Re: dhcp с ldap 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович 2004-03-31 4:59 ` Eugene Prokopiev 2004-03-31 8:17 ` Nick S. Grechukh @ 2004-03-31 19:14 ` Michael Shigorin 2 siblings, 0 replies; 16+ messages in thread From: Michael Shigorin @ 2004-03-31 19:14 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 901 bytes --] On Tue, Mar 30, 2004 at 07:48:20PM +0400, Сухов Антон Иванович wrote: > ПС В последнее время отслеживаю моду всё пихать в лдап, это что > паранойя? Это не паранойя (см. определение), а как SQL DB вместо таблицек в *.txt. Только LDAP -- типичная иерархическая СУБД, не "прямоугольная", а ветвистая. Это другой класс, который обычно гораздо эффективнее для хранения данных, характеризующихся переменным числом могущих повторяться атрибутов; из ярких представителей -- Cache`, FramerD, GT.M (свободные общего назначения), Daylight (несвободная под хим. струкруты, см. daylight.com). Из минусов "всегопихания" -- дополнительный уровень; видимо, более чем компенсируется централизацией и универсализацией управления (писать в БД -- не то что парсить/генерить конфигурационные файлы в зверинце форматов). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2004-03-31 19:14 UTC | newest] Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-03-30 7:27 [Comm] Правильное написание спека/configure Eugene Prokopiev 2004-03-30 8:01 ` Alexey Morozov 2004-03-30 8:58 ` [Comm] dhcp с ldap (was: Re: Правильное написание спека ) Nick S. Grechukh 2004-03-30 10:36 ` [Comm] dhcp с ldap Eugene Prokopiev 2004-03-30 11:27 ` Eugene Prokopiev 2004-03-30 11:33 ` ath 2004-03-30 12:27 ` Eugene Prokopiev 2004-03-30 11:45 ` Nick S. Grechukh 2004-03-30 12:58 ` Eugene Prokopiev 2004-03-30 14:36 ` Maxim Tyurin 2004-03-30 15:25 ` Alexander Bokovoy 2004-03-31 3:02 ` BSW 2004-03-30 15:48 ` Re[2]: " Сухов Антон Иванович 2004-03-31 4:59 ` Eugene Prokopiev 2004-03-31 8:17 ` Nick S. Grechukh 2004-03-31 19:14 ` [Comm] " Michael Shigorin
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