Details
-
Bug
-
Resolution: Duplicate
-
Major
-
4.5.0
-
4.5.0-1759 Enterprise Edition (build-1759)
-
Untriaged
-
Centos 64-bit
-
No
Description
1. Configure CB Server with LDAP and create a LDAP user in LDAP server.
2. Configure the user created in 1 with role as bucket_admin[*]
3. From couchbase-cli, try and create a bucket using the user 1 that has role bucket_admin[*]
[root@cherry-s10126 bin]# /opt/couchbase/bin/couchbase-cli bucket-create --cluster=localhost -u ritam123 -p password --bucket=default --bucket-type=couchbase --bucket-port=11211 --bucket-ramsize=200 --bucket-replica=1 --wait
|
...SUCCESS: bucket-create
|
User role:
[root@cherry-s10126 bin]# curl -X GET http://Administrator:password@localhost:8091/settings/rbac/users
|
[{"name":"ritam","id":"ritam123","roles":[{"role":"bucket_admin","bucket_name":"*"}]}]
|