{"task": {"agent_timeout": 3000, "task": "testgen__minio__minio-19805", "verifier_timeout": 3000, "instruction": "The following text contains a user issue (in <issue/> brackets) posted at a repository. Further, you are provided with file contents of several files in the repository that contain relevant code (in <code> brackets). It may be necessary to use code from third party dependencies or files not contained in the attached documents however. Your task is to identify the issue and implement a test case that verifies a proposed solution to this issue. More details at the end of this text.\n<issue>\n      ## Expected Behavior\n\nIt is expected that it will be possible to use Cyrillic characters in DN.\n\n## Current Behavior\n\nUnable to login via LDAP with account following DN\nsAMAccountName: i.ivanov\nCN=\u0418\u0432\u0430\u043d\u043e\u0432 \u0418\u0432\u0430\u043d,OU=Users,DC=home,DC=local (Cyrillic symbols)\n\nUpon request to\nhttp://minio.local:9000/?Action=AssumeRoleWithLDAPIdentity&LDAPUsername=i.ivanov&LDAPPassword=*****&Version=2011-06-15\n\nWe receive the following error:\n```\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<ErrorResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\n    <Error>\n        <Type></Type>\n        <Code>InvalidParameterValue</Code>\n        <Message>LDAP server error: LDAP auth failed for DN cn=**\\d0\\98\\d0\\b2\\d0\\b0\\d0\\bd\\d0\\be\\d0\\b2 \\d0\\98\\d0\\b2\\d0\\b0\\d0\\bd**,ou=Users,dc=home,dc=local: LDAP Result Code 49 &#34;Invalid Credentials&#34;: 80090308: LdapErr: DSID-0C090439, comment: AcceptSecurityContext error, data 52e, v4563 </Message>\n    </Error>\n    <RequestId>17D0040BD4CB1718</RequestId>\n</ErrorResponse>\n```\n\nwhere \\d0\\98\\d0\\b2\\d0\\b0\\d0\\bd\\d0\\be\\d0\\b2 \\d0\\98\\d0\\b2\\d0\\b0\\d0\\bd - wrong encoding.\n\nWhen using CN=test,OU=Users,DC=home,DC=local\n\n```\n<AssumeRoleWithLDAPIdentityResponse xmlns=\"https://sts.amazonaws.com/doc/2011-06-15/\">\n    <AssumeRoleWithLDAPIdentityResult>\n        <Credentials>\n            <AccessKeyId>...</AccessKeyId>\n            <SecretAccessKey>...</SecretAccessKey>\n            <SessionToken>...</SessionToken>\n            <Expiration>...</Expiration>\n        </Credentials>\n    </AssumeRoleWithLDAPIdentityResult>\n    <ResponseMetadata>\n        <RequestId>..</RequestId>\n    </ResponseMetadata>\n</AssumeRoleWithLDAPIdentityResponse>\n```\n\n## Your Environment\nrunning in docker signle node.\n\nminio version RELEASE.2024-05-10T01-41-38Z (commit-id=b5984027386ec1e55c504d27f42ef40a189cdb55)\nRuntime: go1.22.3 linux/amd64\nLicense: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html\nCopyright: 2015-2024 MinIO, Inc.\n\nLinux 6207cee3b5da 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux\n\nupd 17.05.24: running as service ubuntu, behavior is the same.\n\n</issue>\nPlease generate test cases that check whether an implemented solution resolves the issue of the user (at the top, within <issue/> brackets).\nYou may apply changes to several files.\nApply as much reasoning as you please and see necessary.\nMake sure to implement only test cases and don't try to fix the issue itself.\nYou are not allowed to read git history.\n", "memory": "8192m", "runnable": false, "difficulty": "hard", "language": "", "cpus": "", "instruction_truncated": false, "category": "test-generation", "compose": false, "has_solution": true, "oracle": null, "docker_image": "", "taskset": "devopsgym", "tags": ["test-generation", "devops-bench"]}, "runs": []}