1eecc2d01f3449b6a0026ee88aaad6b6e20ddc8a
[krb5.git] / doc / rst_source / krb_appldev / h5l_mit_apidiff.rst
1 Differences between Heimdal and MIT Kerberos API
2 ==================================================================================
3
4 .. note:: :c:func:`krb5_auth_con_getaddrs()`
5
6 Heimdal: If either of the pointers to local_addr and remote_addr is not NULL,
7          it is freed first and then reallocated before being populated with
8          the content of corresponding address from authentication context.
9
10 .. note:: :c:func:`krb5_auth_con_setaddrs()`
11
12 Heimdal: If either address is NULL, the previous address remains in place 
13
14 .. note:: :c:func:`krb5_auth_con_setports()`
15
16 Heimdal: Not implemented as of version 1.3.3
17
18 .. note:: :c:func:`krb5_auth_con_setrecvsubkey()`
19
20 Heimdal: If either port is NULL, the previous port remains in place 
21
22 .. note:: :c:func:`krb5_auth_con_setsendsubkey()`
23
24 Heimdal: Not implemented as of version 1.3.3
25
26 .. note:: :c:func:`krb5_cc_set_config()`
27
28 MIT: Before version 1.10 it was assumed that the last arguments *data* is ALWAYS non-zero.
29
30 .. note:: :c:func:`krb5_cccol_last_change_time ()`
31
32 Prototype difference.
33
34 Heimdal takes three arguments:
35
36    |   krb5_context context,
37    |   const char type,
38    |   krb5_timestamp \* change_time
39
40 MIT takes two arguments: 
41
42    |   krb5_context context, 
43    |   krb5_timestamp * change_time 
44
45 .. note:: :c:func:`krb5_set_default_realm()`
46
47 Heimdal: Caches the computed default realm context field.
48          If the second argument is NULL, it tries to retrieve it from libdefaults or DNS.
49
50 MIT: Computes the default realm each time if it wasn't explicitly set in the context
51
52 ..
53
54 ------------------
55
56 Feedback
57
58
59 Please, provide your feedback on this document at krb5-bugs@mit.edu?subject=Documentation___h5lMITdiff
60  
61