xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_get_init_creds_opt_set_salt.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_get_init_creds_opt_set_salt -  Set salt for optimistic preauthentication in initial credential options.
2=============================================================================================================
3
4..
5
6.. c:function:: void krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt * opt, krb5_data * salt)
7
8..
9
10
11:param:
12
13	          **[in]** **opt** - Options structure
14
15	          **[in]** **salt** - Salt data
16
17
18..
19
20
21
22..
23
24
25
26
27
28
29
30When getting initial credentials with a password, a salt string it used to convert the password to a key. Normally this salt is obtained from the first KDC reply, but when performing optimistic preauthentication, the client may need to supply the salt string with this function.
31
32
33
34
35
36
37..
38
39
40
41
42
43