将LDAP与fabric-ca一起使用时,无法在Fabric中添加从属关系

时间:2019-11-28 12:03:33

标签: hyperledger-fabric hyperledger openldap hyperledger-fabric-ca

我正在尝试使用命令行在网络中添加新的从属关系,但是即使在将强制标志传递给它之后,我也仍然收到此错误。

fabric-ca-client affiliation add org1.transactor.users.role1 --force

错误:服务器响应:错误代码:0-不支持

在查找我的Fabric-ca的日志时,我得到了:

Getting user 'Admin@org1.example.com'
[DEBUG] Searching for user 'Admin@org1.example.com' using cached connection
[DEBUG] Successfully retrieved user 'Admin@org1.example.com', DN: uid=Admin@org1.example.com,ou=users,ou=transactor,ou=org1,dc=example,dc=com
[DEBUG] Successful token authentication of 'Admin@org1.example.com'
[DEBUG] Received affiliation update request from Admin@org1.example.com
[DEBUG] Evaluating expression for attribute 'hf.AffiliationMgr' from LDAP user 'Admin@org1.example.com'
[DEBUG] Affilation path for DN 'uid=Admin@org1.example.com,ou=users,ou=transactor,ou=org1,dc=example,dc=com' is '[org1 transactor users]'
[DEBUG] Values for LDAP attribute 'uid' are '[Admin@org1.example.com]'
[DEBUG] Evaluated expression for attribute 'hf.AffiliationMgr'; parms: map[DN:uid=Admin@org1.example.com,ou=users,ou=transactor,ou=org1,dc=example,dc=com affiliation:[org1 transactor users]]; result: true
[DEBUG] Processing affiliation configuration update request
[DEBUG] Processing POST request
[DEBUG] Request to add affiliation 'org1.transactor.users.role1'
[INFO] POST /affiliations?force=true 500 0 "Not supported"

0 个答案:

没有答案