BlackLotus Posted February 18, 2016 Report Share Posted February 18, 2016 I have a local server running with UP mode for authentication, but apparently the Cloud server requires LDAP mode to be turned on. On Mac there's that clconfigureclient app, and that's apparently the only way to change modes? MacPlastic seems to switch between repos on these two different servers without much problem, but I can't seem to use Unity's plugin properly. Is this a limitation of the Mac client right now? Will I be able to use a local server without LDAP and then use the push/pull workflow to the Cloud? Btw, is there a guide for this push/pull workflow? I can't seem to find any reference to it. Link to comment Share on other sites More sharing options...
manu Posted February 19, 2016 Report Share Posted February 19, 2016 Hi there! you don't need to reconfigure the macplastic client constantly, we have something that is called "profiles" and will allow you to have multiple configurations for multiple servers with different authentications. I do recommend you the following: 0) Change your client configuration to work with your local server. 1) Configure a sync view to work with the cloud. 2) Just after you perform the first operation with the cloud, macplastic will ask you to enter user name and password, both will be saved as a new profile to work with the cloud. Notice that if your cloud repositories are encrypted you'll need to install the encryption key, well, you don't need to manually do it, it's automatically done by Plastic but if your Plastic SCM client user is not the "admin/root" user it will fail. The "admin/root" user for a Plastic SCM server is the repository server owner, by default it's set to "ALL USERS" which means no one is the root user. in order to change it: 0) Open a Terminal window 1) "cm whoami" 2) "cm setowner -user=<Here_goes_the_cm_whoami_result" repserver:localhost:8087" Done! Regarding the pull/push workflow: https://www.plasticscm.com/evaluation-guide/index.html https://www.plasticscm.com/documentation/distributed/plastic-scm-version-control-distributed-guide.shtml Link to comment Share on other sites More sharing options...
BlackLotus Posted February 19, 2016 Author Report Share Posted February 19, 2016 Thx Manu, I later found those guides digging a little deeper through your docs and actually setup as you suggested, but right now I'm getting another very cryptic error from Macplastic, this is a screenshot from my Sync Replication screen: The source is my local machine, that I replicated from our local server in the middle there (that I'm trying to replace with Plastic Cloud). As you can see I added a Repo I just created in the Cloud and I'm getting that error when it tries to refresh the state of the sync. Again, my localhost server is using UP mode. Also, just using @cloud isn't working properly in the OSX client, so I expanded it to cloud.plasticscm.com as you can see. Any thoughts? Link to comment Share on other sites More sharing options...
BlackLotus Posted February 19, 2016 Author Report Share Posted February 19, 2016 And here's another interesting development, I now tried to make a Sync View directly between the server in the middle in the previous post (my old local server) and the cloud, and THAT seems to work: Ideas? Link to comment Share on other sites More sharing options...
manu Posted February 19, 2016 Report Share Posted February 19, 2016 Yes, it seems to be a problem with the SSL certification store on the first machine. We try to create a store called "Plastic client". Let me check more info. Link to comment Share on other sites More sharing options...
BlackLotus Posted February 19, 2016 Author Report Share Posted February 19, 2016 Cool, thx... I just went and sit on the local server I mentioned and from there the localhost <-> Plastic Cloud setup is working alright, so it must be a problem with my laptop indeed! Link to comment Share on other sites More sharing options...
manu Posted February 19, 2016 Report Share Posted February 19, 2016 Can you tell me if you have this directory? manus-mac:/ Codice$ ls -l "/Users/Codice/.config/.mono/certs/Plastic Client" total 8 -rw-r--r-- 1 Codice staff 1346 Feb 10 15:27 ski-9C54E44443ACB13234171C017B1671910E95FCAB.cer Can you check it on the mac machine it's working fine? Link to comment Share on other sites More sharing options...
BlackLotus Posted February 19, 2016 Author Report Share Posted February 19, 2016 None of the machines has this directory, not the server and not the laptop: ls -l /Users/BlackLotus/.config/.mono/certs/ total 0 drwxr-xr-x 2 BlackLotus staff 68 Apr 20 2015 CA/ drwxr-xr-x 2 BlackLotus staff 68 Apr 20 2015 Trust/ Link to comment Share on other sites More sharing options...
manu Posted February 22, 2016 Report Share Posted February 22, 2016 Well, so the "Plastic Client" directory is missing. I'm wondering what happens if we manually create it.... Can you give it a try? Just "mkdir '/Users/BlackLotus/.config/.mono/certs/Plastic Client'" Then retry the replication. Link to comment Share on other sites More sharing options...
BlackLotus Posted February 22, 2016 Author Report Share Posted February 22, 2016 This just made the error message turn into something really weird: Link to comment Share on other sites More sharing options...
manu Posted February 23, 2016 Report Share Posted February 23, 2016 Wow. No idea why you are having that issue. Let me check more info. Sorry for the inconveniences. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.