cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
979
Views
80
Helpful
13
Replies

CMS with ldap role user

Vinod16
Level 1
Level 1

Hello All,

 

I am trying to add user in CMS MMP with role ldap but getting below error ,

 

CMS1> user add ssaini266 ldap
Invalid role: ldap
CMS1> user add vgeorge260 ldap
Invalid role: ldap

 

 

Can anyone help on this ?

 

 

1 Accepted Solution

Accepted Solutions

Finally i got the solutions, its working for cms 3.3 

 

 

 

 

View solution in original post

13 Replies 13

b.winter
VIP
VIP

Hi,

"ldap" is not a role.

The optional parameter "ldap" just defines, if the added user is a ldap user.

 

Syntax is:

user add <username> <role> [ldap]

role parameter must be one of the following: admin | crypto | audit | appadmin | api

Hello ,

Its not taking command : 


ICMS1>
CMS1> user add njai260 admin ldap
Incorrect number of arguments
CMS1> user add njai260 admin [ldap]
Incorrect number of arguments
CMS1>

 

Do you have integrated your CMS with LDAP sync?

I haven't found this in any documents, but maybe this needs to be set up first.

Because with the "ldap" parameter, you are trying to add a user, which is not a "local" user, but which is synced via LDAP into the CMS.

Just tested on a brand new CMS installation:

Command should be able to configure, even without any config in CMS.

 

Which version of CMS are you using?

Which options do you see, when you enter the command "user ?"

Hello winter, 

 

Version is 3.1 .

We have already sync LDAP 

What options does it give you, when you enter the command "user ?"

Please post the output.

 

Should look like this:

Manage users

Usage:
    user add    <username> <role> [ldap]
    user del    <username>
    user info   <username>
    user evict  <username>
    user expire <username>
    user unlock <username>
    user host  <username> add <hostname>
    user host  <username> del <hostname>
    user duty  <username> <duty hours>
    user duty  <username> none
    user rule   <rule name> <value>
    user list

Do you see the "ldap" parameter under the "user add" command?

Are you logged in with an admin user, while trying to configure a new user?

No i can't see., using admin user .


Usage:
user add <username> <role>
user del <username>
user info <username>
user evict <username>
user expire <username>
user unlock <username>
user host <username> add <hostname>
user host <username> del <hostname>
user duty <username> <duty hours>
user duty <username> none
user rule <rule name> <value>
user list
CMS1>

Then it's obvious, why there is an error with "invalid argument"

What's your exact version? Can you post the output of the command "version"?

Hello Winter ,

 

Its 3.1 

 

I am referring this doc on page 23 , i don't know why its not taking in 3.1 and 3.2 as well .

 https://www.cisco.com/c/dam/en/us/td/docs/conferencing/ciscoMeetingServer/Reference_Guides/Version-3-1/Cisco-Meeting-Server-MMP-Command-Reference-3-1.pdf   

Hello winter,

 

Have you found any solution for this . 

Hi,

I think it's time to open  TAC case.

I check my CMS 3.2.2.

Regarding documentation > "help ldap" command has many option and configurations for LDAP.

But my CMS don't have any ldap MMP command .

P.S. if i try create user >user add newadmin admin ldap  , i received same error "Incorrect number of arguments"

P.P.S. i don't need ldap integration with MMP just only check your issue on my CMS )

 

BR Oleksandr

 

 

Hi Vinod,

 

sorry, I don't have any clue, why the parameter isn't showing up in your CMS.

Maybe you have to ask TAC as @Oleksandr Yurchenko recommended.

 

Do you have the chance to deploy a new CMS, just to check, if the parameter is showing up there?

As already written, when I did that, I didn't need any config at all.

The only thing, I could imagine is, that you are logging in with a user, that has no admin role, but then probably, you would not be able to issue the command at all

But I don't have any solution.

Finally i got the solutions, its working for cms 3.3