Developer's Guide to Oracle® Solaris 11 Security

Exit Print View

Updated: July 2014

Running the GSSAPI Server Example

gss-server takes this form on the command line

gss-server [–port port] [–verbose] [–inetd] [–once] [–logfile file] \
                 [–mech mechanism] service-name
  • port is the port number to listen on. If no port is specified, the program uses port 4444 as the default.

  • –verbose causes messages to be displayed as gss-server runs.

  • –inetd indicates that the program should use the inetd daemon to listen to a port. –inetd uses stdin and stdout to connect to the client.

  • –once indicates a single-instance connection only.

  • mechanism is the name of a security mechanism to use, such as Kerberos v5. If no mechanism is specified, the GSS-API uses a default mechanism.

  • service-name is the name of the network service that is requested by the client, such as telnet, ftp, or login service.

A typical command line might look like the following example:

% gss-server -port 8080 -once -mech kerberos_v5 erebos.eng nfs "hello"