The client's command line usage is
gss-client [-port port] [-mech mechanism] [-d] [-f] [-q]
- [-seq] [-noreplay] [-nomutual]
+ [-seq] [-noreplay] [-nomutual] [-dce]
[-ccount count] [-mcount count] [-na] [-nw] [-nx] [-nm]
host service_name msg
-noreplay Tells the client to disable the use of replay
detection.
+-dce Tells the client to request DCE-style authentication.
+
-nomutual Tells the client to disable the use of mutual authentication.
-f Tells the client that the "msg" argument is actually the name
usage();
max_threads = atoi(*argv);
#endif
+ } else if (strcmp(*argv, "-dce") == 0) {
+ gss_flags |= GSS_C_DCE_STYLE;
} else if (strcmp(*argv, "-d") == 0) {
gss_flags |= GSS_C_DELEG_FLAG;
} else if (strcmp(*argv, "-seq") == 0) {
tgs_test(realm, ['-krb5'])
tgs_test(realm, ['-spnego'])
tgs_test(realm, ['-iakerb'])
+ # test default (i.e., krb5) mechanism with GSS_C_DCE_STYLE
+ tgs_test(realm, ['-dce'])
as_test(realm, ['-krb5'])
as_test(realm, ['-spnego'])
as_test(realm, ['-iakerb'])
+ # test default (i.e., krb5) mechanism with GSS_C_DCE_STYLE
+ as_test(realm, ['-dce'])
success('GSS sample application')