Jump to content

Search the Community

Showing results for tags 'ldap'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 4 results

  1. Hi, I'm setting up a TeamCity by using Plastic Cloud, and I'm getting the following error: Failed for the root '"default" {instance id=1, parent internal id=1, parent id=DefaultVCSRoot, description: "PlasticSCM: br:/main@reponame@organization@cloud"}: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 Hide stacktrace jetbrains.buildServer.vcs.VcsRootVcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 I did the usual approach: Created AWS instance Installed Windows Server 2019 Installed TeamCity 2020.1 Installed the full Plastic version with local server included Created connection profile for cloud Copied client.conf to Plastic Client installation path under Program Files. Added Plastic plugin to TeamCity Created VCS Root and tested that connection works It looked like all should be good to go, but after a moment I was getting that error on TC project view. I have previously only set TeamCity for enterprise accounts and dedicated servers, so my approach might be completely wrong here. Does this ring a bell for anyone over here? And is there some good guides on how to setup TeamCity with Plastic Cloud? Here is the full stack trace as well, with user account replaced with name@domain.com: at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.createRootException(VcsChangesStatesCollector.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:10) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) ... 18 more Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: devops@returnentertainment.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
  2. Our organization uses LDAP to authenticate people to PlasticSCM. For our CI/CD servers, I have been looking into using a separate user. Ideally I would like it to be a user local to the PlasticSCM server rather than one from LDAP; since we use a Directory-as-a-Service provider for our LDAP configuration, each new user has an additional cost, so I'd like to not incur that cost if possible. I suspect that one cannot mix authentication modes as I've described, but I would like confirmation either way on this. Thanks for the help!
  3. Hello, I've been having issues configuring permissions for groups. We are set up using LDAP for our users. Ideally I would use our pre-existing LDAP groups, yet, when I add those groups using the `cm acl` command, developers in their respective groups do not get the permissions. When doing research, I came upon the fact that LDAP users can be added to PlasticSCM groups. I created the groups, per the documentation. Users still are not getting permissions set as intended. My groups.conf file looks like this: My server.conf as well is set up per the documentation: I'm not sure what is going wrong, and would appreciate any help. Thank you!
  4. I'd like to setup Plastic to use LDAP authentication with SSL, connecting to Novell's eDirectory. There seem to be several issues with this. First, I can't seem to get Plastic to connect using SSL to any LDAP (tried both the LDAP interface to Active Directory as well as eDirectory). Are SSL connections not supported? Trying to bind to LDAP while sending credentials information across the network unencrypted simply won't work anywhere where security is a priority. Second, it seems that Plastic's implementation of "pure" LDAP is maybe lacking? I'm not sure. Does plastic truly support LDAP, or just the LDAP interface to Active Directory? On the configuration wizard for LDAP, I enter the host and domain for the eDirectory server. I then have tried several different ways of specifying the user, all to no avail. My normal user id in order to bind would be fully qualified, such as "uid=username,ou=orgunit,dc=subdomain,dc=topleveldomain". There simply seems no way for me to be able to get the "Test Connection" button to work. The response it gives is unhelpful, telling me the username, password, or domain is incorrect. I know the user and password are correct because I can bind using those credentials through an LDAP explorer. The thing I'm not so sure about is the domain. I've tried several different strings in that box, all to no avail. I've tried the host name, the "subdmian.topdomain", the "dc=subdomain,dc=topdomain" syntax, I even tried including the ou in that as well, all to no avail. What am I missing here? 1) Does Plastic support connecting to LDAP over SSL? 2) Does Plastic support connecting to Novell's eDirectory? If so, how does one go about doing that? I have no problems connecting using other tools. As an aside...would the developers of Plastic ever consider adding a plugin/extension capability for authentication? Many other unrelated products (such as Jira) do this, just defining an interface and allowing customer to implement their own mechanism. It would be nice, for example, to simply write a quick and dirty plugin that just forwards the credentials specified to our federated SSO provider.
×
×
  • Create New...