Jump to content

Logging to cloud version through cm configure


Sygan
 Share

Recommended Posts

Hey

I'm trying to set up PlasticSCM for a Debian based Jenkins docker. 

I was able to install PlasticSCM but when I run the 

cm configure

and use the @cloud address as the Plastic SCM server address I get 
 

There was an error while checking the Plastic SCM server security mode.
Maybe the server is offline, or the address specified is wrong.


Is it a correct way of handling this. 

Also, how would I login to the account via the command line if the account is handled through Unity ID? 
 

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

Are you installing Plastic Cloud edition? If you are trying to configure a regular standalone Plastic client to a cloud server, please select the LDAP authentiation mode and enter your email and password. 

Also review there is not any network restriction, firewall... to reach the server.

image.png

 

Quote

Also, how would I login to the account via the command line if the account is handled through Unity ID? 

I'm afraid you will need some web browser to enter the Unity ID credentials.

Potentially, as a workaround you could configure the Unity ID user in some Windows machine and paste all the client configuration files to your Linux server.

Link to comment
Share on other sites

I have a same problem. I can't login PlasticSCM cloud with Unity ID on Linux CLI.

$ cm configure
####--- Client configuration wizard ---####
Configuring language. These are the available languages:
1. English
2. Spanish
Choose a language (type a number): 1

------------

Configure the Plastic SCM server address/port:
Plastic SCM server address [localhost]: xxxxxx@cloud

There was an error while checking the Plastic SCM server security mode.
Maybe the server is offline, or the address specified is wrong.
Do you want to re-enter the Plastic SCM server address? [Y/n]: n

------------

Select the users authentication mode. These are the available modes:
1. NameWorkingMode (Name)
2. NameIDWorkingMode (Name + ID)
3. LDAPWorkingMode (LDAP)
4. ADWorkingMode (Active Directory)
5. UPWorkingMode (User and password)
Choose a mode (type a number): 3

------------

Configuring LDAP connection...
LDAP user: xxx@xxx
LDAP password: ******

------------

Configure a proxy server? [y/N]: n

------------

The Plastic SCM client has been correctly configured.
$
$ cm crypt xxxxxx
ENCRYPTED: xxxxxx
$
$ cm repository
Select the system you want to use to sign in to the organization: xxxxxxx@cloud
0 - unityid
1 - email
Select your system [0-1] 0
Open the following URL in your browser:
https://www.plasticscm.com/api/oauth/unityid/authorize/session/xxxxxx
Invalid credentials, username or password are not valid.
$
$ cm workspace create aaa bbb --repository=xxxxx@xxxxxx@cloud
Invalid credentials, username or password are not valid.

(some personal informations removed)

I want to download remote PlasticSCM cloud repository on my linux machine. I don't have GUI environment so I could use CLI only. :( I already tried like the above but it doesn't work. In my case, LDAPWorkingMode doesn't work. I could login with Windows GUI, and client.conf file in Windows says WorkingMode is SSOWorkingMode. SSOWorkingMode doesn't exist in CLI.

Link to comment
Share on other sites

Hi,

I'm afraid there is not an easy workaround to configure a Plastic client via Unity ID in a Linux machine with no web browser.  You should be able to configure it via CLI, but just user and password.

For the Unity ID authentiation, you may need to paste the configuration files from a Windows machine.

I'm checking with the team if we can somehow support it soon an an easier way.

Regards,

Carlos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...