osx - API to add principals to Kerberos -
i trying kerberize restful backend , not seeing anywhere in gss-api documentation how add user/service - i.e., understand authentication process gss-api, not signup process. make question simpler : kinit command line tool used add principals, there equivalent gss-api ? if answer no - should go , @ kinit source code , port project (using system("kinit ...") raises security questions/problems not thinking using it) ?
users should added kerberos database using api provided kerberos distribution centre. in microsoft active directory, kdc uses ldap database, users can added/removed using jndi, described here: http://cyberlizard.livejournal.com/120080.html.
kinit not tool adding users (simply speaking) "logging in", or (technically speaking) it's tool "obtains , caches initial ticket-granting ticket principal" (see: http://web.mit.edu/kerberos/krb5-devel/doc/user/user_commands/kinit.html), i.e. takes credentials (i.e. example principal , password, connects kdc , tries receive initial tgt it. client).
Comments
Post a Comment