ipa-addservice (1) - Linux Manuals

ipa-addservice: Add a service principal

NAME

ipa-addservice - Add a service principal

SYNOPSIS

ipa-addservice [OPTION]... principal

DESCRIPTION

Adds a service principal principal.

The principal takes the form of:

service/fully-qualified-hostname

The list of possible services is too extensive to list here but a short list is:

cifs dns host HTTP ldap nfs

The IPA server automatically appends the Kerberos realm for which it is configured. You cannot specify a different realm.

The hostname must resolve to a DNS A record in order to ensure that it will work with Kerberos. Use the --force flag to force the creation of a principal.

OPTIONS

--force
Force the creation of the given principal name.
-v, --verbose
Display the XML-RPC request and response for more verbose debugging output.

EXAMPLES

ipa-addservice HTTP/www.example.com
Add a service principal for a web server
ipa-addservice host/ipa.example.com
Add a service principal for the host (for ssh, for example)

EXIT STATUS

The exit status is 0 on success, nonzero on error.