1ipa-addservice(1) ipa-addservice(1)
2
3
4
6 ipa-addservice - Add a service principal
7
8
10 ipa-addservice [OPTION]... principal
11
13 Adds a service principal principal.
14
15 The principal takes the form of:
16
17 service/fully-qualified-hostname
18
19 The list of possible services is too exhaustive to list here but a
20 short list is:
21
22 cifs dhcp dns host HTTP ldap rpc snmp
23
24 The IPA server automatically appends the Kerberos realm for which it is
25 configured. You cannot specify a different realm.
26
27 The hostname must resolve to a DNS A record in order to ensure that it
28 will work with Kerberos. Use the --force flag to force the creation of
29 a principal.
30
32 --force
33 Force the creation of the given principal name.
34
36 ipa-addservice HTTP/www.example.com
37 Add a service principal for a web server
38
39 ipa-addservice host/ipa.example.com
40 Add a service principal for the host (for ssh, for example)
41
43 The exit status is 0 on success, nonzero on error.
44
45
46
47freeipa Jan 4 2008 ipa-addservice(1)