Unable to create another ldap Account if another account is linked to ldap group in the same domain
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 32
描述
##### 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": []
}
}
~~~
貢獻指南
研究方向
在所描述的 CloudStack 4.19 LDAP 設定中,使用 ldapCreateAccount,接著使用 linkAccountToLdap 重現此問題,然後檢查 LDAP 帳戶建立與群組連結的進入點。完成的標準是:可以在相同網域中建立第二個帳戶,並將其連結至另一個 LDAP 群組,而不出現 HTTP 534 錯誤;pull request #13945 已經開啟。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- authentication
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100