summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/man/ipa-addservice.1
blob: 432f54381e49a3370fefe09817aa259bae5168ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.\" A man page for ipa-addservice
.\" Copyright (C) 2007 Red Hat, Inc.
.\" 
.\" This is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU Library General Public License as published by
.\" the Free Software Foundation; version 2 only
.\" 
.\" This program is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
.\" General Public License for more details.
.\" 
.\" You should have received a copy of the GNU Library General Public
.\" License along with this program; if not, write to the Free Software
.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\" 
.\" Author: Rob Crittenden <rcritten@redhat.com>
.\" 
.TH "ipa-addservice" "1" "Jan 4 2008" "freeipa" ""
.SH "NAME"
ipa\-addservice \- Add a service principal

.SH "SYNOPSIS"
ipa\-addservice [\fIOPTION\fR]... \fIprincipal\fR
.SH "DESCRIPTION"
Adds a service principal \fIprincipal\fR.

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
dhcp
dns
host
HTTP
ldap
nfs
rpc
snmp

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.
.SH "OPTIONS"
.TP 
\fB\-\-force\fR
Force the creation of the given principal name.
.SH "EXAMPLES"
.TP 
ipa\-addservice HTTP/www.example.com
Add a service principal for a web server
.TP 
ipa\-addservice host/ipa.example.com
Add a service principal for the host (for ssh, for example)
.SH "EXIT STATUS"
The exit status is 0 on success, nonzero on error.