rastopato opened a new issue, #8732:
URL: https://github.com/apache/cloudstack/issues/8732
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
ldap
~~~
##### CLOUDSTACK VERSION
~~~
4.19
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
Advanced Networking, Domain tree with multiple subdomains
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
RHEL 9.3
##### SUMMARY
<!-- Explain the problem/feature briefly -->
If I create ldap account in domain with ldapCreateAccount, then link this
account to ldap group with linkAccountToLdap, I'm not able to create another
account in the same domain. I got error:
CloudStack error: HTTP 534 response from CloudStack
{
"createaccountresponse": {
"cserrorcode": 9999,
"errorcode": 534,
"errortext": "No LDAP user exists with the username of test_user",
"uuidList": []
}
}
If I create multiple accounts with ldapCreateAccount first, then I'm able to
link all these accounts to ldap groups with linkAccountToLdap. But again, not
able to create any other new ldap accounts
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
cs --post ldapCreateAccount username=test_admin account='Test admins'
accounttype=2 domainid=6xxxxxx0e-d170-48ea-a9bf-90fexxxxx122
cs --post linkAccountToLdap account='VUC Admins' accounttype=2
domainid=6xxxxxx0e-d170-48ea-a9bf-90fexxxxx122 ldapdomain='cn=test
admins,cn=test,ou=groups,dc=my,dc=domain,dc=com' type=GROUP
cs --post ldapCreateAccount username=test_users account='Test users'
accounttype=0 domainid=6xxxxxx0e-d170-48ea-a9bf-90fexxxxx122
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
Create another account in ldap and link it to another ldap group
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
CloudStack error: HTTP 534 response from CloudStack
{
"createaccountresponse": {
"cserrorcode": 9999,
"errorcode": 534,
"errortext": "No LDAP user exists with the username of test_user",
"uuidList": []
}
}
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]