krbservicesetup(8) | System Manager's Manual | krbservicesetup(8) |
krbservicesetup
—
Kerberos — Open Directory
Single Sign On
krbservicesetup |
[-r REALM] -a
admin_name [-p
password] [-t
keytab] [-f
setup_file] [service_type
service_principal] |
krbservicesetup
is used by
sso_util to configure Kerberized services on the
current host. It uses kadmin to add service principals
to the KDC database and create the krb5.keytab file. And then edits/creates
the config files of the given service to use the proper service principal.
krbservicesetup
knows how to configure the FTP, AFP,
POP, IMAP, SMTP and SSH services shipped by Apple in Mac OS X 10.3
krbservicesetup
takes either a service_type,
service_principal pair or a plist file with a list of services to configure.
The plist file also allows more control over the options used when creating
the principals.
krbservicesetup
arguments:
-x
-r
REALM-a
admin_name-p
password-t
keytab-f
setup_fileThe service_types understood by
krbservicesetup
are:
The plist file format used by
krbservicesetup
consists of a couple of optional
boolean flag items and an array of dictionaries representing the services to
be configured.
The options for the add_princ command are detailed in the man page for kadmin Some of the possibly options are restricted specifically the pw and needchange commands are ignored. Every service principal is generated with the randkey option.
You can add -v debug_level to the
krbservicesetup
command. Debug level 1 provides
status information, higher levels add progressivly more levels of
detail.
It is better to use the configure command in
sso_util to configure multiple services. Here is an
example of using krbservicesetup
to configure a FTP
server in the realm FOO.ORG
krbservicesetup
-r FOO.ORG -a admin -p
password ftp ftp/myhost.foo.org@FOO.ORG
(the above should be all on one line)
The krbservicesetup
tool is used by the
Apple Single Sign On system to set up Kerberized services integrated with
the rest of the Single Sign On components.
Tue Mar 11 2003 | Darwin |