By: Meghana Dhakephalkar user 15 Dec 2016 at 2:20 a.m. CST

1 Response
Meghana Dhakephalkar gravatar
Hi! I am setting up Gluu Server CE on CentOS 7.2. But it has already its own LDAP and Apache web server, so I have following doubts: 1. Can I use external LDAP to setup Gluu server? 2. Can I change the ports of Web Server so that Gluu server's web server can run on a different port? I couldn't find any relevant documentation on this. Any help on theses doubts would be appreciated. Thanks! Meghana

By Aliaksandr Samuseu staff 15 Dec 2016 at 2:46 p.m. CST

Aliaksandr Samuseu gravatar
Hi, Meghana. > Can I change the ports of Web Server so that Gluu server's web server can run on a different port? Changing any default ports is atm not considered a standard procedure and is not covered by free support. At the very least it would require to change some configuration files on disk and entries inside of internal LDAP directory. It may also occur that some code pieces are hardcoded to use, say, port 443 in links they add to pages they generate. If you don't mind to experiment and share your findings with community, you could try this on your own. > Can I use external LDAP to setup Gluu server? It's possible. You should first install Gluu using setup.py script as usual, then spin up your external LDAP server and transfer all configuration under `o=gluu` and `o=site` contexts to correspondingly named contexts there. If it will also be OpenDJ directory, you could try to use replication feature to facilitate this transfer. After data is moved, you can point oxTrust/oxAuth to this new server in `/opt/tomcat/conf/ox-ldap.properties`. If you need Shibboleth (SAML), you also will need to edit all references to LDAP backend in its configuration files' templates under `/opt/tomcat/conf/shibboleth2/idp/`. You also may need to add certificate of the new directory to container's default java trust storage.