I just want to find out what the purpose of mapping a user to a service using ktpass
is. For example I am on Windows and I run ktpass
like this:
ktpass -out <keytab location> -princ <host/domain.com> -mapUser useraccount@domain.com -mapOp add .........
When we map a user to the -princ
does it mean that only "useraccount" can authenticate the service? And how do we use the -add
and -set
option? what is the difference?
My issue is this: I have many users wanting to use a service I have, and authenticate through kerberos (JASS Krb5LoginModule) but I don't want to specify many user principal names in the jaas.config file. So I am thinking of using SPN instead, and mapping the users.