Unable to create another ldap Account if another account is linked to ldap group in the same domain
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 32
Mô tả
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
~~~
ldap
~~~
##### CLOUDSTACK VERSION
~~~
4.19
~~~
##### CONFIGURATION
Advanced Networking, Domain tree with multiple subdomains
##### OS / ENVIRONMENT
RHEL 9.3
VMware 8.0c (8.0.0.3)
LDAP 389 Directory Server
##### SUMMARY
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
~~~
cs --post ldapCreateAccount username=test_admin account='Test admins' accounttype=2 domainid=6xxxxxx0e-d170-48ea-a9bf-90fexxxxx122
cs --post linkAccountToLdap account='Test 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
~~~
##### EXPECTED RESULTS
~~~
Create another account in ldap and link it to another ldap group
~~~
##### ACTUAL RESULTS
~~~
CloudStack error: HTTP 534 response from CloudStack
{
"createaccountresponse": {
"cserrorcode": 9999,
"errorcode": 534,
"errortext": "No LDAP user exists with the username of test_user",
"uuidList": []
}
}
~~~
Hướng dẫn đóng góp
Hướng nghiên cứu
Tái hiện vấn đề bằng cách sử dụng ldapCreateAccount, sau đó là linkAccountToLdap, trong cấu hình LDAP CloudStack 4.19 được mô tả, rồi kiểm tra các điểm đầu vào tạo tài khoản LDAP và liên kết nhóm. Được xem là hoàn tất khi có thể tạo tài khoản thứ hai trong cùng một domain và liên kết tài khoản đó với một nhóm LDAP khác mà không gặp lỗi HTTP 534; pull request #13945 đã được mở.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- authentication
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100