aboutsummaryrefslogtreecommitdiff
path: root/perl/lib/Wallet/Config.pm
diff options
context:
space:
mode:
authorBill MacAllister <whm@dropbox.com>2016-06-01 18:48:31 +0000
committerRuss Allbery <eagle@eyrie.org>2018-05-27 17:33:31 -0700
commit48a2962830eccfd28bc5d7f0541bf28e0a3ff7b1 (patch)
treefcb1965a892e35ea34267585217b5ff21f3ec61d /perl/lib/Wallet/Config.pm
parent635bd213d11085e128abccb1c7d8cbac49b6705e (diff)
Update handling of long host names
Diffstat (limited to 'perl/lib/Wallet/Config.pm')
-rw-r--r--perl/lib/Wallet/Config.pm14
1 files changed, 13 insertions, 1 deletions
diff --git a/perl/lib/Wallet/Config.pm b/perl/lib/Wallet/Config.pm
index 5d40978..09db609 100644
--- a/perl/lib/Wallet/Config.pm
+++ b/perl/lib/Wallet/Config.pm
@@ -463,10 +463,22 @@ default PATH.
our $AD_MSKTUTIL = 'msktutil';
+=item AD_SERVICE_LENGTH
+
+The maximum length of a unique identifier, samAccountName, for Active
+Directory keytab objects. If the indentifier exceeds this length then
+it will be trunciated and an integer will be appended to the end of
+the identifier. This parameter is here in hopes that at some point
+in the future Microsoft will remove the limitation.
+
+=cut
+
+our $AD_SERVICE_LENGTH = '20';
+
=item AD_SERVICE_LIMIT
Used to limit the number of iterations used in attempting to find a
-unique account name for service principals. Defaults to 999.
+unique account name for principals. Defaults to 999.
=cut