[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple realms and databases, again



Couple questions:

1)
I know that someone has asked this before but still don't know if this
works, or if I had a configuration problem.

Using RedHat 4 U4
Heimdal 0.7.2
OpenLDAP 2.3.27

How can I define multiple realms in krb5.conf and multiple databases
 ex.
[kdc]
database = {
	realm = EXAMPLE1.COM
	dbname = ldap:ou=krb5principals,dc=example1,dc=com
}
database = {
	realm = EXAMPLE2.COM
	dbname = ldap:ou=krb5principals,dc=example2,dc=com
}

when I do:
kadmin>init EXAMPLE.COM  blah, blah
kadmin>init EXAMPLE1.COM  blah, blah

Only the default LDAP container is used.

2)
At present I'm running kdc kadmind kpasswdd on a single machine. Can I
use one config file for all?

Thanks

Kent N