[java-identity-provider] branch master updated: IDP-1523 idp.authn.LDAP.bindDNCredential has moved to secrets.properties

Rod Widdowson rdw at steadingsoftware.com
Fri Dec 20 04:32:10 EST 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=b71a8e0c6281bae3b916bac689ab05f3b62faeed

The following commit(s) were added to refs/heads/master by this push:
       new  b71a8e0   IDP-1523 idp.authn.LDAP.bindDNCredential has moved to secrets.properties
b71a8e0 is described below

commit b71a8e0c6281bae3b916bac689ab05f3b62faeed
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 20 09:31:39 2019 +0000

    IDP-1523 idp.authn.LDAP.bindDNCredential has moved to secrets.properties
    
    https://issues.shibboleth.net/jira/browse/IDP-1523
---
 idp-installer/src/main/wix/scripts/shib_write_configs.vbs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/idp-installer/src/main/wix/scripts/shib_write_configs.vbs b/idp-installer/src/main/wix/scripts/shib_write_configs.vbs
index f180d4b..e7884a0 100644
--- a/idp-installer/src/main/wix/scripts/shib_write_configs.vbs
+++ b/idp-installer/src/main/wix/scripts/shib_write_configs.vbs
@@ -103,6 +103,9 @@ if (Err.Number = 0 ) then
     SecretsFile.WriteLine "#"
     SecretsFile.WriteLine "idp.sealer.storePassword=" & SealerPassword
     SecretsFile.WriteLine "idp.sealer.keyPassword=" & SealerPassword
+	if ConfigureAd = "true" then
+        SecretsFile.Writeline "idp.authn.LDAP.bindDNCredential=" & AdPass
+    end if
     SecretsFile.Close
 else
     LogFile.Writeline "SecretsFile failed " & Err & "  -  " & SecretsFile
@@ -180,7 +183,6 @@ if ConfigureAd = "true" then
         LDAPFile.Writeline "idp.authn.LDAP.userFilter= (sAMAccountName={user})"
         LDAPFile.Writeline "idp.authn.LDAP.bindDN=" & AdUser & "@" & AdDomain
         LDAPFile.Writeline "idp.attribute.resolver.LDAP.searchFilter= (sAMAccountName=$resolutionContext.principal)"
-        LDAPFile.Writeline "idp.authn.LDAP.bindDNCredential=" & AdPass
         LDAPFile.Writeline "idp.authn.LDAP.dnFormat= %s@" & AdDomain
         LDAPFile.Close
     else

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list