kerberos - Purpose of mapuser in ktpass -


i want find out purpose of mapping user service using ktpass is. example on windows , run ktpass this

ktpass -out <keytab location> -princ <host/domain.com> -mapuser useraccount@domain.com -mapop add .........

when map user -princ mean "useraccount" can authenticate service? , how use -add , -set option? difference.?

my issue this: have many users wanting use service have, , authenticate through kerberos (jass krb5loginmodule) don't want specify many user principal names in jaas.config file. thinking of using spn instead, , mapping users.

cheers

option -mapuser useraccount@domain.com tells ktpass store 'principal' in attribute userprincipalname of user in active directory, active directory able find it, when clients ask kerberosserviceticket 'principal' , issue such ticket.

-mapuser specifies name of user, represents service in active directory.

using ktpass you're doing 2 things: generating keytab service (so open kerberos tickets received clients, i.e. authenticate them), , registering principal in active directory (so clients tickets service @ all).

in jaas.config file specify 1 principal name (for service), not clients. once user logs active directory domain, he/she has right service ticket service.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -