mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
17.29.2007 c462bf01d4cc35d6da8cd20da193e60f5df71bd3
refs
author neil_a_wilson <neil_a_wilson@localhost>
Saturday, March 17, 2007 23:29 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Saturday, March 17, 2007 23:29 +0100
commitc462bf01d4cc35d6da8cd20da193e60f5df71bd3
tree 2ddd116e50f1f1cd884c482f15c1ab05eafc6fbe tree | zip | gz
parent 9010e77d3ef42effd5ec14fe5001e45064203e3e view | diff
Update the dseecompat access control implementation to provide a mechanism for
detecting and warning administrators about the use of non-canonical hostnames
in the "dns" bind rule. The dns bind rule requires that all addresses be
provided in canonical form or they will not match the intended target.

This change also includes special handling for the "localhost" name. In the
event that it does not match its canonical representation, then the
corresponding rule will automatically allow the canonical name as well. This
may be needed in some environments because the canonical hostname for the
loopback address may be something else, like "localhost.localdomain", and the
hostname "localhost" is likely to appear more commonly than other kinds of
hostnames.

With these changes, a number of reported mysterious ACI failures should go away
and the AciTests should now pass cleanly.

OpenDS Issue Number: 1385
2 files modified
119 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/AciMessages.java 50 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/authorization/dseecompat/DNS.java 69 ●●●●● diff | view | raw | blame | history