public inbox for gentoo-user-ru@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user-ru] bind-dlz + LDAP
@ 2008-01-23 15:21 Сергей Догадкин
  0 siblings, 0 replies; only message in thread
From: Сергей Догадкин @ 2008-01-23 15:21 UTC (permalink / raw
  To: gentoo-user-ru

Не работает данная связка:

 net-dns/bind-9.4.1_p1  USE="dlz ldap ssl threads -berkdb -doc -idn
-ipv6 -mysql -odbc -postgres -resolvconf (-selinux) -urandom"
net-nds/openldap-2.3.39-r2  USE="berkdb crypt gdbm perl samba ssl tcpd
-debug -ipv6 -kerberos -minimal -odbc -overlays -sasl (-selinux) -slp
-smbkrb5passwd"


В интернете нашел кучу подобных проблем, но ни одного решения. Проблема
возникла из-за символа % в named.conf при переходе openldap с версии
2.2.х на версию 2.3.х.

/etc/bind/names/conf:
dlz "ldap zone" {
    database "ldap 2
    v3 simple {cn=Manager,dc=rusdom-textile,dc=ru} {password} {127.0.0.1}
   
ldap:///dlzZoneName=$zone$,ou=dns,dc=rusdom-textile,dc=ru???objectclass=dlzZone
ldap:///dlzHostName=$record$,dlzZoneName=%zone%,ou=dns,dc=rusdom-textile,dc=ru?dlzTTL,dlzType,dlzPreference,dlzData,dlzIPAddr,dlzPrimaryNS,dlzAdminEmail,dlzSerial,dlzRefresh,dlzRetry,dlzExpire,dlzMi
};

Вывод в /var/log/messages:
Jan 23 18:02:22 pdc named[10245]: loading configuration from
'/etc/bind/named.conf'
Jan 23 18:02:22 pdc named[10245]: listening on IPv4 interface lo,
127.0.0.1#53
Jan 23 18:02:22 pdc named[10245]: listening on IPv4 interface eth0,
192.168.0.243#53
Jan 23 18:02:22 pdc named[10245]: Loading 'ldap zone' using driver ldap
Jan 23 18:02:22 pdc named[10245]: lookup query must specify a search base
Jan 23 18:02:22 pdc named[10245]: SDLZ driver failed to load.
Jan 23 18:02:22 pdc named[10245]: DLZ driver failed to load.
Jan 23 18:02:22 pdc named[10245]: loading configuration: failure
Jan 23 18:02:22 pdc named[10245]: exiting (due to fatal error)
Jan 23 18:02:22 pdc slapd[8248]: conn=3942 fd=12 closed (connection lost)



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

only message in thread, other threads:[~2008-01-23 15:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 15:21 [gentoo-user-ru] bind-dlz + LDAP Сергей Догадкин

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox