/crypto/heimdal/kuser/kdigest-commands.in

https://bitbucket.org/freebsd/freebsd-head/ · Autoconf · 280 lines · 279 code · 1 blank · 0 comment · 1 complexity · 2a1c43c43ccec4eaaf30fa4a3f50f871 MD5 · raw file

  1. /*
  2. * Copyright (c) 2006 Kungliga Tekniska Hรถgskolan
  3. * (Royal Institute of Technology, Stockholm, Sweden).
  4. * All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without
  7. * modification, are permitted provided that the following conditions
  8. * are met:
  9. *
  10. * 1. Redistributions of source code must retain the above copyright
  11. * notice, this list of conditions and the following disclaimer.
  12. *
  13. * 2. Redistributions in binary form must reproduce the above copyright
  14. * notice, this list of conditions and the following disclaimer in the
  15. * documentation and/or other materials provided with the distribution.
  16. *
  17. * 3. Neither the name of the Institute nor the names of its contributors
  18. * may be used to endorse or promote products derived from this software
  19. * without specific prior written permission.
  20. *
  21. * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
  22. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23. * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  24. * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
  25. * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  26. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  27. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  28. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  29. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  30. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  31. * SUCH DAMAGE.
  32. */
  33. /* $Id$ */
  34. command = {
  35. name = "digest-probe"
  36. option = {
  37. long = "realm"
  38. type = "string"
  39. help = "Kerberos realm to communicate with"
  40. }
  41. help = "probe what mech is allowed/supported for this server"
  42. }
  43. command = {
  44. name = "digest-server-init"
  45. option = {
  46. long = "type"
  47. type = "string"
  48. help = "digest type"
  49. default = "sasl"
  50. }
  51. option = {
  52. long = "kerberos-realm"
  53. type = "string"
  54. argument = "realm"
  55. help = ""
  56. }
  57. option = {
  58. long = "digest"
  59. type = "string"
  60. argument = "digest-type"
  61. help = "digest type to use in the algorithm"
  62. }
  63. option = {
  64. long = "cb-type"
  65. type = "string"
  66. argument = "type"
  67. help = "type of channel bindings"
  68. }
  69. option = {
  70. long = "cb-value"
  71. type = "string"
  72. argument = "value"
  73. help = "value of channel bindings"
  74. }
  75. option = {
  76. long = "hostname"
  77. type = "string"
  78. argument = "hostname"
  79. help = "hostname of the server"
  80. }
  81. option = {
  82. long = "realm"
  83. type = "string"
  84. help = "Kerberos realm to communicate with"
  85. }
  86. help = "Sets up a digest context and return initial parameters"
  87. }
  88. command = {
  89. name = "digest-server-request"
  90. option = {
  91. long = "type"
  92. type = "string"
  93. help = "digest type"
  94. default = "sasl"
  95. }
  96. option = {
  97. long = "kerberos-realm"
  98. type = "string"
  99. argument = "realm"
  100. help = ""
  101. }
  102. option = {
  103. long = "username"
  104. type = "string"
  105. argument = "name"
  106. help = "digest type"
  107. }
  108. option = {
  109. long = "server-nonce"
  110. type = "string"
  111. argument = "nonce"
  112. help = ""
  113. }
  114. option = {
  115. long = "server-identifier"
  116. type = "string"
  117. argument = "nonce"
  118. help = ""
  119. }
  120. option = {
  121. long = "client-nonce"
  122. type = "string"
  123. argument = "nonce"
  124. help = ""
  125. }
  126. option = {
  127. long = "client-response"
  128. type = "string"
  129. argument = "response"
  130. help = ""
  131. }
  132. option = {
  133. long = "opaque"
  134. type = "string"
  135. argument = "string"
  136. help = ""
  137. }
  138. option = {
  139. long = "authentication-name"
  140. type = "string"
  141. argument = "name"
  142. help = ""
  143. }
  144. option = {
  145. long = "realm"
  146. type = "string"
  147. argument = "realm"
  148. help = ""
  149. }
  150. option = {
  151. long = "method"
  152. type = "string"
  153. argument = "method"
  154. help = ""
  155. }
  156. option = {
  157. long = "uri"
  158. type = "string"
  159. argument = "uri"
  160. help = ""
  161. }
  162. option = {
  163. long = "nounce-count"
  164. type = "string"
  165. argument = "count"
  166. help = ""
  167. }
  168. option = {
  169. long = "qop"
  170. type = "string"
  171. argument = "qop"
  172. help = ""
  173. }
  174. option = {
  175. long = "ccache"
  176. type = "string"
  177. argument = "ccache"
  178. help = "Where the the credential cache is created when the KDC returns tickets"
  179. }
  180. help = "Completes digest negotiation and return final parameters"
  181. }
  182. command = {
  183. name = "digest-client-request"
  184. option = {
  185. long = "type"
  186. type = "string"
  187. help = "digest type"
  188. default = "sasl"
  189. }
  190. option = {
  191. long = "username"
  192. type = "string"
  193. argument = "name"
  194. help = "digest type"
  195. }
  196. option = {
  197. long = "password"
  198. type = "string"
  199. argument = "password"
  200. }
  201. option = {
  202. long = "server-nonce"
  203. type = "string"
  204. argument = "nonce"
  205. help = ""
  206. }
  207. option = {
  208. long = "server-identifier"
  209. type = "string"
  210. argument = "nonce"
  211. help = ""
  212. }
  213. option = {
  214. long = "client-nonce"
  215. type = "string"
  216. argument = "nonce"
  217. help = ""
  218. }
  219. option = {
  220. long = "opaque"
  221. type = "string"
  222. argument = "string"
  223. help = ""
  224. }
  225. option = {
  226. long = "realm"
  227. type = "string"
  228. argument = "realm"
  229. help = ""
  230. }
  231. option = {
  232. long = "method"
  233. type = "string"
  234. argument = "method"
  235. help = ""
  236. }
  237. option = {
  238. long = "uri"
  239. type = "string"
  240. argument = "uri"
  241. help = ""
  242. }
  243. option = {
  244. long = "nounce-count"
  245. type = "string"
  246. argument = "count"
  247. help = ""
  248. }
  249. option = {
  250. long = "qop"
  251. type = "string"
  252. argument = "qop"
  253. help = ""
  254. }
  255. help = "Client part of a digest exchange"
  256. }
  257. command = {
  258. name = "ntlm-server-init"
  259. option = {
  260. long = "version"
  261. type = "integer"
  262. help = "ntlm version"
  263. default = "1"
  264. }
  265. option = {
  266. long = "kerberos-realm"
  267. type = "string"
  268. help = "Kerberos realm to communicate with"
  269. }
  270. help = "Sets up a digest context and return initial parameters"
  271. }
  272. command = {
  273. name = "help"
  274. name = "?"
  275. argument = "[command]"
  276. min_args = "0"
  277. max_args = "1"
  278. help = "Help! I need somebody."
  279. }