Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

2,593

Downloads of v 2.0.0.25:

2,593

Last Update:

14 Feb 2020

Package Maintainer(s):

Software Author(s):

  • Apache

Tags:

ldap kerberos server apache apacheds

Apache Directory Studio

  • 1
  • 2
  • 3

2.0.0.25 | Updated: 14 Feb 2020

Downloads:

2,593

Downloads of v 2.0.0.25:

2,593

Maintainer(s):

Software Author(s):

  • Apache

Apache Directory Studio 2.0.0.25

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Apache. The inclusion of Apache trademark(s), if any, upon this webpage is solely to identify Apache goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Investigate

Details
NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved by moderator flcdrg on 06 Mar 2020.

WARNING

This package is unlisted and hidden from package listings.

Description

ApacheDS is a LDAP and Kerberos server. It is possible to connect to this server by using Apache Directory Studio and connecting to localhost port 10389, username uid=admin,ou=system and password secret.

Optional installation commands:

Issue -packageparameters '"/InstallLocation=C:\Path\to\installationdirectory"' to overwrite the default installation directory, e.g. choco install apacheds -packageparameters '"/InstallLocation=C:\temp"' extracts the package in C:\temp.


tools\chocolateyInstall.ps1
$packageName = 'apacheds'
$Url = 'http://apache.hippo.nl/directory/apacheds/dist/2.0.0.AM25/apacheds-2.0.0.AM25.zip'
$global:installLocation = "C:\ApacheDS"
$checksum = '0f3aa2011c8723fb79435260d0ee7bbd'
$checksumType = 'md5'

if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
. "$PSScriptRoot\OverwriteParameters030.ps1"
. "$PSScriptRoot\Install-ChocolateyService030.ps1"

OverwriteParameters030

Install-ChocolateyZipPackage "$packageName" "$Url" "$global:installLocation" -checksum "$checksum" -checksumType "$checksumType"

$packageVersion = (gci "$global:installLocation\apacheds-*\").FullName -replace ".*apacheds-" | sort -Descending | Select -first 1
$apachedsHome = "${global:installLocation}\apacheds-${packageVersion}"

Install-ChocolateyService030 "apacheds" "ApacheDS" "nssm install ApacheDS `"java`" -jar `"${apachedsHome}\lib\apacheds-service-${packageVersion}.jar`" `"${apachedsHome}\instances\default-$packageVersion`"" "10389"
tools\chocolateyUninstall.ps1
$packageName = 'apacheds'

if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
. "$PSScriptRoot\Install-ChocolateyService030.ps1"
. "$PSScriptRoot\Uninstall-ChocolateyZipPackage030.ps1"

Uninstall-ChocolateyService030 "$packageName"

Uninstall-ChocolateyZipPackage030 "$packageName"
tools\Install-ChocolateyService030.ps1
function Install-ChocolateyService030 {
    <#
    .SYNOPSIS
    Installs a service

    .DESCRIPTION
    This will install a service

    .PARAMETER PackageName
    The name of the package for whom the service will be installed.

    .PARAMETER ServiceName
    The name of service which will be used to install and start the service.

    .PARAMETER CreateServiceCommand
    The command which installs the service.

    .PARAMETER AvailablePort (OPTIONAL)
        The port which needs to be available in order to start the service.

        .EXAMPLE
        Install-ChocolateyService030 'PACKAGE_NAME' 'SERVICE_NAME' 'INSTALL_COMMAND' 'PORT'
        Install-ChocolateyService030 "dcm4chee" "DCM4CHEE" "nssm install DCM4CHEE `"java`" -jar `"%DCM4CHEE_HOME%/bin/run.jar"`" "8090"
        Install-ChocolateyService030 "postgresqlzip" "PostgreSQL" "pg_ctl register -N `"PostgreSQL`" -U `"LocalSystem`" -w" "5432"
        Install-ChocolateyService030 "apacheds" "ApacheDS" "nssm install ApacheDS `"java`" -jar `"%APACHEDS_HOME%/lib/apacheds-service-${version}.jar`" `"%APACHEDS_HOME%/instances/default`"" "10389"
        Install-ChocolateyService030 "test" "test" "nssm install test `"$testDirectory\testService.bat`""

        .OUTPUTS
        None

        .NOTES
        This helper reduces the number of lines one would have to write to install a service to 1 line.
        This method has error handling built into it.

        .LINK
        UnInstall-ChocolateyService030
        Get-ServiceExistence
#>
        param(
            [string] $packageName,
            [string] $serviceName,
            [string] $createServiceCommand,
            [int] $availablePort
        )
        Write-debug "Running 'Install-ChocolateyService030' for $packageName with serviceName:`'$serviceName`', createServiceCommand: `'$createServiceCommand`', availablePort: `'$availablePort`' ";

    if (!$packageName) {
        Write-ChocolateyFailure "Install-ChocolateyService030" "Missing PackageName input parameter."
        return
        }

    if (!$serviceName) {
        Write-ChocolateyFailure "Install-ChocolateyService030" "Missing ServiceName input parameter."
        return
        }

    if (!$createServiceCommand) {
        Write-ChocolateyFailure "Install-ChocolateyService030" "Missing CreateServiceCommand input parameter."
        return
        }

        Uninstall-ChocolateyService030 -serviceName "$serviceName"

    if ($availablePort -and (Get-StatePort)) {
        Write-ChocolateyFailure "Install-ChocolateyService030" "$availablePort is in LISTENING state and not available."
        return
        }

    try {
        Write-Host "$packageName service will be installed"
        iex $createServiceCommand
    } catch {
    Write-ChocolateyFailure "Install-ChocolateyService030" "The createServiceCommand is incorrect: '$_'."
    return
}

if (Get-ServiceExistence030) {
        Write-Host "$packageName service will be started"

        for ($i=0;$i -lt 12; $i++) {
            $serviceStatus = Get-Service -Name $serviceName

                             start-service $serviceName

            if (($serviceStatus.Status -eq "running") -and (Get-StatePort)) {
                Write-Host "$packageName service has been started"
                return
            } else {
                Write-Host "$packageName service cannot be started. Attempt $i to start the service."
            }

            if ($i -eq 11) {
                Write-ChocolateyFailure "Install-ChocolateyService030" "service $serviceName cannot be started."
                return
                }

                Start-Sleep -s 10
            }
    } else {
        Write-ChocolateyFailure "Install-ChocolateyService030" "service $serviceName does not exist."
        return
        }
    }

function Get-ServiceExistence030 {
    param(
        [string] $serviceName = $serviceName
    )
    Get-WmiObject -Class Win32_Service -Filter "Name='$serviceName'"
}

function Uninstall-ChocolateyService030 {
    param(
        [string] $serviceName = $serviceName
    )
    $service = Get-ServiceExistence030 -serviceName $serviceName

    if ($service) {
        Write-Host "$serviceName service already exists and will be removed"
        stop-service $serviceName
        $service.delete()
    }
}

function Get-StatePort {
    return Get-NetTCPConnection -State Listen | Where-Object {$_.LocalAddress -match "::|0.0.0.0" -and $_.LocalPort -eq "$availablePort"}
}
tools\OverwriteParameters030.ps1
function OverwriteParameters030 {
	$arguments = @{};
	$packageParameters = $env:chocolateyPackageParameters;

	if($packageParameters) {
		$MATCH_PATTERN = "/([a-zA-Z]+)=([`"'])?(.*)([`"'])?"
		$PARAMATER_NAME_INDEX = 1
		$VALUE_INDEX = 3
		
		if($packageParameters -match $MATCH_PATTERN){
			$results = $packageParameters | Select-String $MATCH_PATTERN -AllMatches 
			$results.matches | % { 
			$arguments.Add(
				$_.Groups[$PARAMATER_NAME_INDEX].Value.Trim(),
				$_.Groups[$VALUE_INDEX].Value.Trim()) 
			}
		}     
		
		if($arguments.ContainsKey("InstallLocation")) {
			$global:installLocation = $arguments["InstallLocation"];
			Write-Host "Value variable installLocation changed to $global:installLocation"
		}
	}	
}
tools\Uninstall-ChocolateyZipPackage030.ps1
function Uninstall-ChocolateyZipPackage030 {
param(
  [string] $packageName
)
	if(!$packageName) {
		Write-ChocolateyFailure "Uninstall-ChocolateyZipPackage030" "Missing PackageName input parameter."
		return
	}
	
	ChildItem "$env:ChocolateyInstall\lib\${packageName}.*" -Recurse -Filter "${packageName}Install.zip.txt" | 
	ForEach-Object{ $installLocation = (Get-Content $_.FullName | Select-Object -First 1);
		if (("$installLocation" -match "${packageName}|adt-bundle-windows-x86_64") -and (Test-Path -Path "$installLocation")) {
			Write-Host "Uninstalling by removing directory $installLocation";
			Remove-Item -Recurse -Force "$installLocation"
		}
	}
}

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Discussion for the Apache Directory Studio Package

Ground Rules:

  • This discussion is only about Apache Directory Studio and the Apache Directory Studio package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Apache Directory Studio, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus