From 48a2962830eccfd28bc5d7f0541bf28e0a3ff7b1 Mon Sep 17 00:00:00 2001 From: Bill MacAllister Date: Wed, 1 Jun 2016 18:48:31 +0000 Subject: Update handling of long host names --- perl/lib/Wallet/Config.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'perl/lib/Wallet/Config.pm') 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 -- cgit v1.2.3