Summary: When you create a new Active Directory group or edit group properties in Cayosoft Web Interface you can get the error: String is too long (maximum 20 chars) in the Group name (pre-Windows 2000) field.
Cayosoft Administrator has 20 characters limitation because it is recommended by Microsoft in case of backward compatibility, the details you can get from this article: https://msdn.microsoft.com/en-us/library/ms679635(v=vs.85).aspx
This is not a hard limit and you can increase the max number of allowed characters in the Group name by Attribute Policy.
Applies to: Cayosoft Administrator 9.X or later.
ID: KB20180814-1
How to increase the number of allowed chars in the Group name
Follow the steps below to increase the maximum number of characters in the Group name (pre Windows 2000) in Active Directory new group wizard and in group properties form to 64:
-
In Administrator Console, navigate to Web Portal
-
Click Attribute Policies
-
Click on the button Add Attribute Policy (also you can modify an existing policy if you have a suitable one)
-
Enter the policy name and select Trustees if you need to apply the policy only to specific trustees
-
Click Add Scope > select Active Directory | AD Groups | Properties and New Group
-
Select just created scope and find Group name attribute
-
Click Edit policy to modify Attribute Policy
-
Set Max Characters to 64
-
Click OK
-
Select just created scope and find Group name (Pre-Windows 2000) attribute
-
Click Edit policy to modify Attribute Policy
-
Set Max Characters to 64
-
Check Generation value and click ...
-
In Expression Builder: Group Name (Pre-Windows 2000):
-
In Tokens add DisplayName
- In Exclude characters select Characters prohibited for SamAccountName/UserPrincipalName
Note: You can select Custom characters setting and specify only those characters that you need to prohibit.
-
Set Limit Length to 64
-
-
Click OK to close the dialog
-
Save Changes
Related Articles
KB20180731-1 How to set Default and Possible values for Country/Region
KB20180704-1 How to use Regular Expression (RegExp) to enforce attribute format in typical scenarios
KB20180507-1 Uniqness names generation in Attribute Policy
Comments
0 comments
Please sign in to leave a comment.