I have a domain name. Let's call it example.com. There's a server - server A - which is has hosting setup on it, and example.com configured as it's domain name. Meaning, resolving example.com, will get server A's IP.
I have another server - server B - which is a different server. It is configured as sub.example.com.
I want sub.example.com to hold subversion, using LDAP as the user directory.
When configuring LDAP and Kerberos, what parts of the domain do I use in which cases ?
Meaning, what is the realm of kerberos? example.com or sub.example.com ?
What do I configure in the ldap dc
parts? Is it dc=example,dc=com
or dc=sub,dc=example,dc=com
?
For a bit more explanation about what I'm trying to do in details, see How do I configure an ldap server on ubuntu 11.04 ? (for use with subversion and trac)