GluuFederation / community-edition-setup

Scripts and templates to automate deployment and configuration of the Gluu Server Community Edition
https://gluu.org/docs/ce
MIT License
188 stars 58 forks source link

non-interactive setup fails to install opendj #516

Closed n2ygk closed 5 years ago

n2ygk commented 5 years ago

Gluu Version: 3.1.5

After successfully installing Gluu in a Vagrant box interactively, I tried scripting a non-interactive setup with this command line:

./setup.py -r -p -s -n -f setup.properties

and the sample setup.properties file appropriately customized like this:

### IP Address of the interface to host IDP
ip=10.0.2.15

### The hostname of the server
hostname=oauth-dev.cuit.columbia.edu

### This information is needed for self signed certificate
orgName=Columbia University
countryCode=US
city=NYC
state=NY

## Do NOT modify below this part unless you know what you're doing

### The password to be used in Java KeyStore
jksPass=

### The cn=Directory Manager's password in ldap
ldapPass=secret

### Do not change this unless you know what you're doing
inumOrg=

### Do not change this unless you know what you're doing
inumAppliance=

This appears to have failed to install opendj. I tried looking through the setup.py code for a while but wasn't able to see why. Here's the console log of the installation:

GLUU.[root@oauth-dev community-edition-setup]# ./setup.py -r -p -s -n -f setup.properties
Found setup properties setup.properties

Installing Gluu Server...
Detected OS  :  red
Detected init:  init
Detected Apache:  2.2

Installing Gluu Server...

For more info see:
  ./setup.log  
  ./setup_error.log

** All clear text passwords contained in ./setup.properties.last.

jetty_version
-------------
9.4.12.v20180830

passport_rp_client_jks_pass
---------------------------
secret

install_dir
-----------
.

ldapDsJavaPropCommand
---------------------
/opt/opendj/bin/dsjavaproperties

ldif_attributes
---------------
./output/attributes.ldif

ldap_user_home
--------------
/home/ldap

casa_war
--------
http://ox.gluu.org/maven/org/xdi/casa/3.1.5.Final/casa-3.1.5.Final.war

accessLogConfFile
-----------------
./static/openldap/accesslog.conf

setup_properties_fn
-------------------
./setup.properties

apache2_ssl_conf
----------------
./output/https_gluu.conf

httpdCertFn
-----------
/etc/certs/httpd.crt

application_max_ram
-------------------
3072

idp3_dist_jar
-------------
http://ox.gluu.org/maven/org/xdi/oxShibbolethStatic/3.1.5.Final/oxShibbolethStatic-3.1.5.Final.jar

oxauth_static_conf_json
-----------------------
./output/oxauth-static-conf.json

jetty_user_home_lib
-------------------
/home/jetty/lib

downloadWars
------------
False

apache2_24_conf
---------------
./output/httpd_2.4.conf

opendj_cert_fn
--------------
/etc/certs/opendj.crt

jreDestinationPath
------------------
/opt/jdk1.8.0_181

cmd_chmod
---------
/bin/chmod

apache_start_script
-------------------
/etc/init.d/httpd

oxauthClient_pw
---------------
None

gluuOptSystemFolder
-------------------
/opt/gluu/system

ldif_site
---------
./static/cache-refresh/o_site.ldif

encoded_ldap_pw
---------------
None

encoded_shib_jks_pw
-------------------
None

ldapPass
--------
secret

ldapBaseFolderldapPass
----------------------
None

passport_config
---------------
/etc/gluu/conf/passport-config.json

certFolder
----------
/etc/certs

asimba_configuration
--------------------
./output/asimba.xml

defaultTrustStorePW
-------------------
changeit

idp3_metadata
-------------
idp-metadata.xml

passport_rs_client_jks_pass_encoded
-----------------------------------
None

install_time_ldap
-----------------
None

openldapTLSCACert
-----------------
/etc/certs/openldap.pem

scim_rp_client_jks_fn
---------------------
./output/scim-rp.jks

idp3_configuration_ldap_properties
----------------------------------
ldap.properties

passport_rp_client_jks_fn
-------------------------
/etc/certs/passport-rp.jks

jre_version
-----------
181

passport_rs_client_jwks
-----------------------
None

ldap_admin_port
---------------
4444

openldapSchemaFolder
--------------------
/opt/gluu/schema/openldap

importLdifCommand
-----------------
/opt/opendj/bin/import-ldif

openldapSiteUser
----------------
cn=directory manager,o=site

ldap_backend_type
-----------------
je

installAsimba
-------------
False

ldif_asimba
-----------
./output/asimba.ldif

openldapSymasConf
-----------------
./output/symas-openldap.conf

ldif_base
---------
./output/base.ldif

openldapLogrotate
-----------------
./static/openldap/openldap_logrotate

idp3_configuration_saml_nameid
------------------------------
saml-nameid.properties

oxd_hostname
------------
%(oxd_hostname)s

ldif_passport
-------------
./output/passport.ldif

staticFolder
------------
./static

ce_templates
------------
{'/opt/gluu/python/libs/python.txt': True, './output/scripts_casa.ldif': False, './output/oxpassport-config.ldif': False, '/etc/hostname': False, './output/oxauth-static-conf.json': False, './output/clients.ldif': False, '/etc/hosts': False, './templates/opendj-setup.properties': False, './output/oxasimba-config.json': False, '/etc/gluu/conf/passport-saml-config.json': True, './output/httpd_2.4.conf': False, './output/https_gluu.conf': False, './output/oxidp.ldif': False, './output/asimba.properties': False, './output/scripts.ldif': False, './output/scim.ldif': False, './output/appliance.ldif': False, '/etc/gluu/conf/oxTrustLogRotationConfiguration.xml': True, './output/groups.ldif': False, './output/base.ldif': False, './output/asimba-selector.xml': False, './output/asimba.xml': False, './output/oxtrust-config.json': False, './output/passport.ldif': False, './output/attributes.ldif': False, './output/casa.json': False, './output/asimba.ldif': False, './output/oxauth-config.json': False, './output/httpd.conf': False, '/etc/sysconfig/network': False, '/etc/gluu/conf/passport-inbound-idp-initiated.json': True, './output/oxtrust-cache-refresh.json': False, '/etc/gluu/conf/ox-ldap.properties': True, './output/people.ldif': False, './output/oxtrust-import-person.json': False, './output/oxidp-config.json': False, './output/scopes.ldif': False}

ldif_people
-----------
./output/people.ldif

installLdap
-----------
True

jetty_user_home
---------------
/home/jetty

oxauth_client_id
----------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!69EB.A837

oxTrust_log_rotation_configuration
----------------------------------
/etc/gluu/conf/oxTrustLogRotationConfiguration.xml

scim_rs_client_jwks
-------------------
None

scim_rp_client_jwks
-------------------
None

httpdKeyFn
----------
/etc/certs/httpd.key

oxauth_error_json
-----------------
./static/oxauth/oxauth-errors.json

asimbaJksFn
-----------
/etc/certs/asimbaIDP.jks

gluuOptBinFolder
----------------
/opt/gluu/bin

os_type
-------
red

oxtrust_import_person_json
--------------------------
./output/oxtrust-import-person.json

orgShortName
------------
None

encode_script
-------------
/opt/gluu/bin/encode.py

allowPreReleasedApplications
----------------------------
False

casa_config
-----------
./output/casa.json

jython_home
-----------
/opt/jython

loadLdifCommand
---------------
/opt/opendj/bin/ldapmodify

cmd_dpkg
--------
/usr/bin/dpkg

openldapLogDir
--------------
/var/log/openldap/

system_profile_update_init
--------------------------
./output/system_profile_init

ldapBaseFolder
--------------
/opt/opendj

openldapSyslogConf
------------------
./static/openldap/openldap-syslog.conf

cmd_mkdir
---------
/bin/mkdir

passportSpTLSCACert
-------------------
/etc/certs/passport-sp.pem

idpClient_pw
------------
None

distFolder
----------
/opt/dist

idp3ConfFolder
--------------
/opt/shibboleth-idp/conf

passport_rp_client_cert_alias
-----------------------------
None

inumApplianceFN
---------------
0AF95A636D8C2EA50002794BE604

allowDeprecatedApplications
---------------------------
False

inumAppliance
-------------
@!0AF9.5A63.6D8C.2EA5!0002!794B.E604

logError
--------
./setup_error.log

network
-------
/etc/sysconfig/network

node_user_home
--------------
/home/node

service_requirements
--------------------
{'idp': ['opendj oxauth', 76], 'oxauth-rp': ['opendj oxauth', 84], 'casa': ['opendj oxauth', 78], 'oxauth': ['opendj', 72], 'passport': ['opendj oxauth', 82], 'oxd-server': ['opendj oxauth', 80], 'opendj': ['', 70], 'asimba': ['opendj oxauth', 86], 'identity': ['opendj oxauth', 74]}

distGluuFolder
--------------
/opt/dist/gluu

opendlapIndexDef
----------------
./static/openldap/index.json

node_version
------------
9.9.0

passport_inbound_idp_initiated_json
-----------------------------------
/etc/gluu/conf/passport-inbound-idp-initiated.json

idp3_configuration_password_authn
---------------------------------
authn/password-authn-config.xml

state
-----
NY

oxTrustConfigGeneration
-----------------------
None

ce_setup_zip
------------
https://github.com/GluuFederation/community-edition-setup/archive/version_3.1.5.zip

jksPass
-------

opendj_p12_pass
---------------
WHUO9KbOxW5V

idp3Folder
----------
/opt/shibboleth-idp

node_base
---------
/opt/gluu/node

passportSpTLSKey
----------------
/etc/certs/passport-sp.key

passportSpKeyPass
-----------------
VRLPD3uJauLl

os_types
--------
['centos', 'red', 'fedora', 'ubuntu', 'debian']

currentGluuVersion
------------------
3.1.5

ldif_passport_config
--------------------
./output/oxpassport-config.ldif

idp3ConfAuthnFolder
-------------------
/opt/shibboleth-idp/conf/authn

oxauth_openid_jks_fn
--------------------
/etc/certs/oxauth-keys.jks

outputFolder
------------
./output

passport_initd_script
---------------------
./static/system/initd/passport

debian_services
---------------
['apache2', 'rsyslog']

gluuAccessLogConf
-----------------
./static/openldap/o_gluu_accesslog.conf

idpClient_encoded_pw
--------------------
None

jetty_home
----------
/opt/jetty

asimba_war
----------
http://ox.gluu.org/maven/org/asimba/asimba-wa/3.1.5.Final/asimba-wa-3.1.5.Final.war

oxauth_rp_war
-------------
https://ox.gluu.org/maven/org/xdi/oxauth-rp/3.1.5.Final/oxauth-rp-3.1.5.Final.war

oxd_port
--------
%(oxd_port)s

githubBranchName
----------------
version_3.1.5

openldapTLSCert
---------------
/etc/certs/openldap.crt

templateFolder
--------------
./templates

ldif_scim
---------
./output/scim.ldif

idp3_war
--------
http://ox.gluu.org/maven/org/xdi/oxshibbolethIdp/3.1.5.Final/oxshibbolethIdp-3.1.5.Final.war

gluu_python_readme
------------------
/opt/gluu/python/libs/python.txt

fido2ConfigFolder
-----------------
/etc/gluu/conf/fido2

inumOrgFN
---------
0AF95A636D8C2EA500014B2D25BE

oxauth_config_json
------------------
./output/oxauth-config.json

system_profile_update_systemd
-----------------------------
./output/system_profile_systemd

scim_rs_client_id
-----------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!3005.B03B

jetty_base
----------
/opt/gluu/jetty

idp3CredentialsFolder
---------------------
/opt/shibboleth-idp/credentials

default_key_expiration
----------------------
365

ldap_jmx_port
-------------
1689

openldapConfFolder
------------------
/opt/symas/etc/openldap

savedProperties
---------------
./setup.properties.last

opensslCommand
--------------
/usr/bin/openssl

ldif_idp
--------
./output/oxidp.ldif

idp3_configuration_properties
-----------------------------
idp.properties

installOxTrust
--------------
True

ldap_port
---------
1389

node_home
---------
/opt/node

orgName
-------
Columbia University

idp3MetadataCredentialsFolder
-----------------------------
/opt/shibboleth-idp/metadata/credentials

ldif_files
----------
['./output/base.ldif', './output/appliance.ldif', './output/attributes.ldif', './output/scopes.ldif', './output/clients.ldif', './output/people.ldif', './output/groups.ldif', './static/cache-refresh/o_site.ldif', './static/metric/o_metric.ldif', './output/scripts.ldif', './output/configuration.ldif', './output/scim.ldif', './output/asimba.ldif', './output/passport.ldif', './output/oxpassport-config.ldif', './output/oxidp.ldif']

ldif_groups
-----------
./output/groups.ldif

apache2_conf
------------
./output/httpd.conf

oxidp_config_json
-----------------
./output/oxidp-config.json

osDefault
---------
/etc/default

shibboleth_version
------------------
v3

openldapKeyPass
---------------
04gJvhKJw00Y

openDjIndexJson
---------------
./static/opendj/index.json

node_initd_script
-----------------
./static/system/initd/node

ldapDsconfigCommand
-------------------
/opt/opendj/bin/dsconfig

openDjSchemaFolder
------------------
/opt/opendj/config/schema

oxBaseDataFolder
----------------
/var/ox

asimba_configuration_xml
------------------------
/etc/gluu/conf/asimba/asimba.xml

city
----
NYC

oxVersion
---------
3.1.5.Final

baseInum
--------
@!0AF9.5A63.6D8C.2EA5

log
---
./setup.log

os_version
----------
6

asimbaJksPass
-------------
msjHYUgGDByK

ox_ldap_properties
------------------
/etc/gluu/conf/ox-ldap.properties

ldaps_port
----------
1636

jython_version
--------------
2.7.2a

idp3_configuration_services
---------------------------
services.properties

openldapRootUser
----------------
cn=directory manager,o=gluu

asimba_selector_configuration_xml
---------------------------------
/etc/gluu/conf/asimba/asimba-selector.xml

default_key_algs
----------------
RS256 RS384 RS512 ES256 ES384 ES512

openldapTLSKey
--------------
/etc/certs/openldap.key

staticIDP3FolderMetadata
------------------------
./static/idp3/metadata

ldif_metric
-----------
./static/metric/o_metric.ldif

opendj_p12_fn
-------------
/etc/certs/opendj.pkcs12

oxPhotosFolder
--------------
/var/ox/photos

shibJksFn
---------
/etc/certs/shibIDP.jks

os_initdaemon
-------------
init

openDjschemaFiles
-----------------
['./static/opendj/96-eduperson.ldif', './static/opendj/101-ox.ldif', './static/opendj/77-customAttributes.ldif']

distAppFolder
-------------
/opt/dist/app

jetty_dist
----------
/opt/jetty-9.4

passport_rp_client_id
---------------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!9022.758F

oxauth_war
----------
https://ox.gluu.org/maven/org/xdi/oxauth-server/3.1.5.Final/oxauth-server-3.1.5.Final.war

ldapModifyCommand
-----------------
/opt/opendj/bin/ldapmodify

idp3MetadataFolder
------------------
/opt/shibboleth-idp/metadata

pairwiseCalculationKey
----------------------
None

pbar
----
<__main__.ProgressBar instance at 0x26b8b00>

asimba_selector_configuration
-----------------------------
./output/asimba-selector.xml

ldif_clients
------------
./output/clients.ldif

openldapMetricUser
------------------
cn=directory manager,o=metric

scim_rp_client_jks_pass
-----------------------
secret

openldapP12Fn
-------------
/etc/certs/openldap.pkcs12

passportSpJksPass
-----------------
92em0YhqeGvV

gluu_python_base
----------------
/opt/gluu/python

scim_rp_client_id
-----------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!C3A9.105E

cmd_ln
------
/bin/ln

passport_rp_client_cert_fn
--------------------------
/etc/certs/passport-rp.pem

httpdKeyPass
------------
2QBNVRmg30ZQ

oxtrust_war
-----------
https://ox.gluu.org/maven/org/xdi/oxtrust-server/3.1.5.Final/oxtrust-server-3.1.5.Final.war

opendj_version_number
---------------------
3.0.1.gluu

pairwiseCalculationSalt
-----------------------
None

installOxAuth
-------------
True

cmd_java
--------
/opt/jre/bin/java

app_custom_changes
------------------
{'jetty': {'files': [{'path': '/opt/jetty/etc/webdefault.xml', 'replace': [{'pattern': '(\\<param-name\\>dirAllowed<\\/param-name\\>)(\\s*)(\\<param-value\\>)true(\\<\\/param-value\\>)', 'update': '\\1\\2\\3false\\4'}]}, {'path': '/opt/jetty/etc/jetty.xml', 'replace': [{'pattern': '<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler"/>', 'update': '<New id="DefaultHandler" class="org.eclipse.jetty.server.handler.DefaultHandler">\n\t\t\t\t <Set name="showContexts">false</Set>\n\t\t\t </New>'}]}], 'name': 'jetty'}}

scim_rs_client_jks_pass_encoded
-------------------------------
None

ldif_scopes
-----------
./output/scopes.ldif

passport_saml_config
--------------------
/etc/gluu/conf/passport-saml-config.json

staticIDP3FolderConf
--------------------
./static/idp3/conf

oxtrust_cache_refresh_json
--------------------------
./output/oxtrust-cache-refresh.json

admin_email
-----------
support@columbia.edu

distTmpFolder
-------------
/opt/dist/tmp

idp3LogsFolder
--------------
/opt/shibboleth-idp/logs

passport_rs_client_jks_pass
---------------------------
None

cmd_jar
-------
/opt/jre/bin/jar

oxauth_openid_jks_pass
----------------------
Xs1x8rnsJNOh

idp3WebappFolder
----------------
/opt/shibboleth-idp/webapp

countryCode
-----------
US

ip
--
10.0.2.15

passport_rp_client_jwks
-----------------------
None

opendj_ldap_binddn
------------------
cn=directory manager

installSaml
-----------
False

sysemProfile
------------
/etc/profile

ldap_setup_properties
---------------------
./templates/opendj-setup.properties

default_openid_jks_dn_name
--------------------------
CN=oxAuth CA Certificates

oxtrust_config_json
-------------------
./output/oxtrust-config.json

openldapBaseFolder
------------------
/opt/symas

listenAllInterfaces
-------------------
False

ldapDsCreateRcCommand
---------------------
/opt/opendj/bin/create-rc-script

ldapPassFn
----------
/home/ldap/.pw

etc_hosts
---------
/etc/hosts

passport_rs_client_jks_fn
-------------------------
/etc/certs/passport-rs.jks

openldapSlapdConf
-----------------
./output/slapd.conf

encoded_ldapTrustStorePass
--------------------------
None

encode_salt
-----------
wMxg4KMHym7WhCLYrfD08Wzk

templateRenderingDict
---------------------
{}

extensionFolder
---------------
./static/extension

passportSpTLSCert
-----------------
/etc/certs/passport-sp.crt

hostname
--------
oauth-dev.cuit.columbia.edu

gluu_passport_base
------------------
/opt/gluu/node/passport

ldif_scripts_casa
-----------------
./output/scripts_casa.ldif

oxTrustCacheRefreshFolder
-------------------------
/var/ox/identity/cr-snapshots

inumOrg
-------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE

openldapJksPass
---------------
BuXElkWurohD

ldif_scripts
------------
./output/scripts.ldif

asimba_conf_folder
------------------
/etc/gluu/conf/asimba

apache2_ssl_24_conf
-------------------
./output/https_gluu.conf

ldapSetupCommand
----------------
/opt/opendj/setup

opendj_service_centos7
----------------------
./static/opendj/systemd/opendj.service

encoded_ox_ldap_pw
------------------
None

redhat_services
---------------
['httpd', 'rsyslog']

passportSpJksFn
---------------
/etc/certs/passport-sp.jks

openldapSetupAccessLog
----------------------
False

cmd_rpm
-------
/bin/rpm

idp3LibFolder
-------------
/opt/shibboleth-idp/lib

cmd_keytool
-----------
/opt/jre/bin/keytool

installHttpd
------------
True

passport_rs_client_id
---------------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!612F.A180

ldif_appliance
--------------
./output/appliance.ldif

defaultTrustStoreFN
-------------------
/opt/jre/jre/lib/security/cacerts

jetty_app_configuration
-----------------------
{'oxauth-rp': {'installed': False, 'memory': {'ratio': 0.10000000000000001, 'max_allowed_mb': 512, 'jvm_heap_ration': 0.69999999999999996}, 'name': 'oxauth-rp', 'jetty': {'modules': 'server,deploy,annotations,resources,http,http-forwarded,threadpool,console-capture,jsp,websocket'}}, 'oxauth': {'installed': False, 'memory': {'ratio': 0.29999999999999999, 'max_allowed_mb': 4096, 'jvm_heap_ration': 0.69999999999999996}, 'name': 'oxauth', 'jetty': {'modules': 'server,deploy,annotations,resources,http,http-forwarded,threadpool,console-capture,jsp,ext,websocket'}}, 'idp': {'installed': False, 'memory': {'ratio': 0.20000000000000001, 'max_allowed_mb': 1024, 'jvm_heap_ration': 0.69999999999999996}, 'name': 'idp', 'jetty': {'modules': 'server,deploy,annotations,resources,http,http-forwarded,threadpool,console-capture,jsp'}}, 'passport': {'node': {}, 'installed': False, 'name': 'passport', 'memory': {'ratio': 0.10000000000000001, 'max_allowed_mb': 1024}}, 'asimba': {'installed': False, 'memory': {'ratio': 0.10000000000000001, 'max_allowed_mb': 1024, 'jvm_heap_ration': 0.69999999999999996}, 'name': 'asimba', 'jetty': {'modules': 'server,deploy,http,resources,console-capture,jsp'}}, 'identity': {'installed': False, 'memory': {'ratio': 0.20000000000000001, 'max_allowed_mb': 2048, 'jvm_heap_ration': 0.69999999999999996}, 'name': 'identity', 'jetty': {'modules': 'server,deploy,annotations,resources,http,http-forwarded,threadpool,console-capture,jsp,ext,websocket'}}}

gluuBaseFolder
--------------
/etc/gluu

oxauth_keys_utils_libs
----------------------
['bcprov-jdk15on-*.jar', 'bcpkix-jdk15on-*.jar', 'commons-lang-*.jar', 'log4j-*.jar', 'commons-codec-*.jar', 'commons-cli-*.jar', 'commons-io-*.jar', 'jackson-core-*.jar', 'jackson-core-asl-*.jar', 'jackson-mapper-asl-*.jar', 'jackson-xc-*.jar', 'jettison-*.jar', 'oxauth-model-*.jar', 'oxauth-client-*.jar']

passport_rp_client_cert_alg
---------------------------
RS512

apache_version
--------------
2.2

configFolder
------------
/etc/gluu/conf

openldapBinFolder
-----------------
/opt/symas/bin

scim_rs_client_jks_pass
-----------------------
None

jre_home
--------
/opt/jre

scim_resource_oxid
------------------
72a8c73b-5680-494b-8dd0-04afad0cc60d

ldap_type
---------
None

ldap_hostname
-------------
localhost

openldapJksFn
-------------
/etc/certs/openldap.jks

cmd_chgrp
---------
/bin/chgrp

gluuOptPythonFolder
-------------------
/opt/gluu/python

oxauthClient_encoded_pw
-----------------------
None

opendj_version
--------------
None

shibJksPass
-----------
TJWtYOx1Pr5C

oxasimba_config_json
--------------------
./output/oxasimba-config.json

cmd_chown
---------
/bin/chown

opendj_init_file
----------------
./static/opendj/opendj

scim_rs_client_jks_fn
---------------------
/etc/certs/scim-rs.jks

oxTrustRemovedFolder
--------------------
/var/ox/identity/removed

idp3_cml_keygenerator
---------------------
http://ox.gluu.org/maven/org/xdi/oxShibbolethKeyGenerator/3.1.5.Final/oxShibbolethKeyGenerator-3.1.5.Final.jar

asimba_properties
-----------------
./output/asimba.properties

gluuOptFolder
-------------
/opt/gluu

installPassport
---------------
True

openldapRootSchemaFolder
------------------------
/opt/gluu/schema

rsyslogUbuntuInitFile
---------------------
./static/system/ubuntu/rsyslog

gluuScriptFiles
---------------
['./static/scripts/logmanager.sh', './static/scripts/testBind.py']

ldapTrustStoreFn
----------------
None

idp_client_id
-------------
@!0AF9.5A63.6D8C.2EA5!0001!4B2D.25BE!0008!76A8.C7B4

oxauth_openid_jwks_fn
---------------------
/etc/certs/oxauth-keys.json

ldif_configuration
------------------
./output/configuration.ldif

etc_hostname
------------
/etc/hostname

installOxAuthRP
---------------
True

Installing [##################################] Completed                               

 Gluu Server installation successful! Point your browser to https://oauth-dev.cuit.columbia.edu

GLUU.[root@oauth-dev community-edition-setup]# ls /etc/init.d/
crond      halt          identity  messagebus  network    passport  restorecond  saslauthd  udev-post
denyhosts  htcacheclean  iptables  netconsole  oxauth     postfix   rsyslog      single
functions  httpd         killall   netfs       oxauth-rp  rdisc     sandbox      sshd
GLUU.[root@oauth-dev community-edition-setup]# cat setup.properties 
setup.properties         setup.properties.last    setup.properties.sample  
GLUU.[root@oauth-dev community-edition-setup]# cat setup.properties
#The MIT License (MIT)
#
#Copyright (c) 2014 Gluu
#
#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in all
#copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#SOFTWARE.

### IP Address of the interface to host IDP
ip=10.0.2.15

### The hostname of the server
hostname=oauth-dev.cuit.columbia.edu

### This information is needed for self signed certificate
orgName=Columbia University
countryCode=US
city=NYC
state=NY

## Do NOT modify below this part unless you know what you're doing

### The password to be used in Java KeyStore
jksPass=

### The cn=Directory Manager's password in ldap
ldapPass=secret

### Do not change this unless you know what you're doing
inumOrg=

### Do not change this unless you know what you're doing
inumAppliance=
GLUU.[root@oauth-dev community-edition-setup]# 
n2ygk commented 5 years ago

Worked around with this:

### had to add this or opendj does not get installed                                                     
ldap_type=opendj

Because the default value for ldap_type is None when doing a non-interactive install.

Will submit a PR.

n2ygk commented 5 years ago

Also fails to install SAML unless installSaml=True is set.

There appear to be a number of features that the non-interactive setup doesn't cover.

devrimyatar commented 5 years ago

I added two parameters. Since we have experimental wrends support in 3.1.6

### Backend type. For opendj, both will be opendj
ldap_type=
opendj_type=