I'm running this on an ubuntu 6.06 box:
root@tssgtestbox:/home/tssgtestbox/Kerberos/krb5-1.6.3/src/kadmin/dbutil# ./kdb5_util create -r tssg.org -s
Loading random data
Initializing database '/krb5/var/krb5kdc/principal' for realm
'tssg.org',
master key name 'K/M...@tssg.org'
You will be prompted for the database Master Password.
It is important that you NOT FORGET this password.
Enter KDC database master key:
Re-enter KDC database master key to verify:
create: Unable to load requested database module 'db2': plugin symbol
'kdb_function_table' not found while creating database
'/krb5/var/krb5kdc/principal'
root@tssgtestbox:/home/tssgtestbox/Kerberos/krb5-1.6.3/src/kadmin/dbutil#
I have checked the google machine and on the FAQ's on the MIT site but i
cant find anything about this error. Would anyone be able to help me?
Kind Regards
Anthony McGovern
I may be wrong, but I think the code is expecting that you've done a
'make install' so that it can find the plugin libraries.
Also, the convention is that your realm name should be all upper-case
(TSSG.ORG rather than tssg.org).
I downloaded the source from the MIT site again and ran the configure
command. Then i ran the make and then make install.
After that i ran the krb5_util command again using TSSG.ORG but i keep
getting the same error message:
create: Unable to load requested database module 'db2': plugin symbol
'kdb_function_table' not found while creating database
Error. If i attached my kdc.conf and krb5.conf files would that make any
difference?
Kind Regards
Anthony McGovern
>From your previous output, it looked like you may have run configure
with "--prefix=/krb5". If so, it should be looking for the db2 plugin
at /krb5/lib/krb5/plugins/kdb/db2.so
K.C.
I guess i just have to start following the install guide/manual again
and see where to go next.
You've saved my office from another 2 weeks of my coffee driven rants at
kerberos. My colleges wish to thank you :o)
Thanks again
Anthony McGovern