https://bugzilla.novell.com/show_bug.cgi?id=335143
User manfred.knops@3ds.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=335143#c6
Manfred Knops changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manfred.knops@3ds.com
--- Comment #6 from Manfred Knops 2008-12-01 02:55:43 MST ---
Hello,
we also use bind with ldap on machines with SuSE 9.3.
Today I would install bind with ldap on a machine with openSuSE 10.3.
During this installation I found this bug.
Now I have two questions.
1. Uwe, you wrote that it should be possible to rebuild the package with LDAP
support.
1.1 I download
ftp://ftp.uni-freiburg.de/pub/opensuse/update/10.3/rpm/src/bind-9.4.1.P1-12.5.src.rpm.
1.2 I made rpmbuild --rebuild bind-9.4.1.P1-12.5.src.rpm.
1.3 I got following packages:
adams:/usr/src/packages/RPMS/x86_64 # ls -l
insgesamt 10272
-rw-r--r-- 1 root root 256475 1. Dez 10:20 bind-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 25161 1. Dez 10:20
bind-chrootenv-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 3405503 1. Dez 10:20
bind-debuginfo-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 3711958 1. Dez 10:21
bind-devel-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 1604824 1. Dez 10:21 bind-doc-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 1106836 1. Dez 10:21 bind-libs-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 174991 1. Dez 10:21
bind-lwresd-9.4.1.P1-12.5.x86_64.rpm
-rw-r--r-- 1 root root 184848 1. Dez 10:21
bind-utils-9.4.1.P1-12.5.x86_64.rpm
adams:/usr/src/packages/RPMS/x86_64 #
1.4 I made rpm -Uvh bind-9.4.1.P1-12.5.x86_64.rpm
But I got the same error like before.
Dec 1 10:23:14 adams named[31395]: unsupported database type 'ldap'
So what sould I do to rebuild this package with LDAP support like you wrote?
2. Uwe, you wrote about a script called ldapdump.
2.1 I found this script and made tests.
adams:/etc/named.d # /usr/share/bind/ldapdump -s 127.0.0.1 -l localhost -p 389
-D cn=TOPSECRET,dc=abaqus,dc=de -w TOPSECRET -b dc=abaqus,dc=de -e
ou=dns,dc=abaqus,dc=de -z
ldapServer = localhost
ldapPort = 389
ldapBaseDN = dc=abaqus,dc=de
named dir = /var/lib/named
named run = 1
DNS DN = ou=dns,dc=abaqus,dc=de
********** CHECKPOINT : get named.conf zones
$VAR1 = {};
********** CHECKPOINT : drop static zone entries in dynamic zones
********** CHECKPOINT : drop all static zones
********** CHECKPOINT : drop all dynamic zones that are not in LDAP
********** CHECKPOINT : create Zones that are new in LDAP
********** CHECKPOINT : add the new entries for dynamic zones now
2.2 The files in /etc/named.d are the same like before.
So what should be the result of this script?
Regards
Manfred Knops
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.