Cover | Table of Contents | Colophon
> ./sserver -h usage: ./sserver [-p port] [-s service] [-S keytab]
-p argument specifies what
TCP port that the server will listen on for client requests. If this
argument isn't specified, then sserver will immediately exit. The -s option can be used to specify a particular
service principal (instead of the default, "sample"). For example, the
host principal can be specified by -s
host. Finally, the -S
option specifies a keytab file in which the server can find the secret
key for the service principal. By default, sserver will use
/etc/krb5.keytab.sserver as. Note that the server
won't test for the readability of the keytab until a client connects to
it, and your client will report "Permission denied".> ./sclient usage: ./sclient <hostname> [port] [service]
freebsd> and slave> respectively:freebsd> ./sserver -p 8888 -s sample -S /tmp/sample.keytab slave> ./sclient freebsd 8888 sample sendauth succeeded, reply is: reply len 27, contents: You are jgarman@WEDGIE.ORG
> kinit Password for jgarman@WEDGIE.ORG: kinit(v5): Preauthentication failed while