2008-01-04 16:42:33 -05:00
. \" 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
2008-02-04 15:15:52 -05:00
. \" the Free Software Foundation; version 2 only
2008-01-04 16:42:33 -05:00
. \"
. \" 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"
2008-02-26 13:51:56 -05:00
ipa\- addservice [\fI OPTION\fR ]... \fI principal\fR
2008-01-04 16:42:33 -05:00
.SH "DESCRIPTION"
Adds a service principal \fI principal\fR .
The principal takes the form of:
2008-02-21 22:37:36 -05:00
service/fully\- qualified\- hostname
2008-01-04 16:42:33 -05:00
2008-05-30 11:06:07 -04:00
The list of possible services is too extensive to list here but a short list is:
2008-01-04 16:42:33 -05:00
cifs
dhcp
dns
host
HTTP
ldap
2008-04-23 15:42:41 -04:00
nfs
2008-01-04 16:42:33 -05:00
rpc
snmp
2008-02-21 22:37:36 -05:00
The IPA server automatically appends the Kerberos realm for which it is configured. You cannot specify a different realm.
2008-02-26 13:51:56 -05:00
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.
2008-07-01 14:18:16 -04:00
.TP
\fB \- v\fR , \fB \- \- verbose\fR
Display the XML\- RPC request and response for more verbose debugging output.
2008-01-04 16:42:33 -05:00
.SH "EXAMPLES"
2008-02-21 22:37:36 -05:00
.TP
2008-01-04 16:42:33 -05:00
ipa\- addservice HTTP/www.example.com
Add a service principal for a web server
2008-02-21 22:37:36 -05:00
.TP
2008-01-04 16:42:33 -05:00
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.