I am trying to understand Kerberos basic concepts. I read about the principals over here, which typically looks like:
primary/instance@REALM
I wanted to ask what exactly is a primary, instance and a realm. Of course there are definitions given on the above page and several other places on the internet, but can someone give an example?
What I understand is this: Primary is the consumer(user or a service). Instance is something that is used for access control. A primary can be a part of multiple instances. Realm is the collection of instances? Please correct me if I am wrong.
If I have a server: foo.bar.com
on this I can I have 2 realms: REALM1, REALM2. Can these be named as such? or can I have only 1 realm here as FOO.BAR.COM?
Now I have say 3 services: s1,s2,s3 which talk to each other. Since kerberos is enabled, each of them will have to have a principal with its own keytab file? or since each service is talking to each other service, does each keytab file needs to have principals for each other services?