[GODRIVER-720] Support GSSAPI CANONICALIZE_HOST_NAME property on Linux/Darwin Created: 18/Dec/18 Updated: 01/Aug/22 Resolved: 01/Aug/22 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Authentication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In sspi.go the driver does a net.LookupAddr to canonicalize. Seems it could do the same in gss.go |
| Comments |
| Comment by Bernie Hackett [ 31/Jan/19 ] |
|
Assuming that the gssapi package uses libkrb5 under the hood, you don't want to do this. Hostname canonicalization and reverse lookups are done automagically by krb5, configurable through the krb5.conf configuration file. Doing this in the driver may conflict with the system configuration, or at the very least cause the work to be done twice. |