Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
This document provides information on how to configure proxies for hybrid domains within ZENworks Mobile Workspace (ZMW). In this scenario, one domain is created for an on-premises mail server and the other for an Office 365 mail server, located in the cloud.
To connect ZMW (located in a DMZ), with the mail server (located in a private network) and the Office 365 server (located in the cloud), the following proxies need to be configured within the private network:
The image below depicts the communication channel for the ZMW server, and its hybrid domains. The blue arrows indicate the communication channel for the Office365 domain with the on-premises LDAP user source and the mail server located in the public network. The grey arrows indicate the communication channel for the domain that is configured with the mail server and the LDAP user sources located in a private network.
Prerequisites
Configuring the Nginx Proxy
For ZMW to communicate with the on-premises mail server (GroupWise or Exchange) the NGINX proxy should first be configured.
To configure the NGINX proxy, refer to the Configuring the NGINX Proxy section in the following Cool Solution: https://www.novell.com/communities/coolsolutions/configuring-proxies-zenworks-mobile-workspace-groupwise-server-ldap-source/
Configuring the LDAP Proxy
To route the requests between the GroupWise and Office365 user sources, you need to configure the LDAP proxy. Hence, a search policy has to be defined with conditions and actions considering the filter attributes to route the connections appropriately. To configure the LDAP proxy, you need to modify the following configuration settings within the nlpconf.xml file:
Configuring the Listeners
Listeners are the network interfaces on which LDAP proxies listen for incoming requests. Using the proxy you can configure any number of listeners to listen on multiple interfaces. Here, in the following example snippet, two connection route policies are defined for the two LDAP sources, one in the GroupWise domain and the other in the Office365 domain.
To configure a listener on a secure port:
For more information about Listeners click here.
Configuring the Back- End Server
A back end server is a directory server to which the LDAP proxy server is connected.
To configure a back end server on a secure port:
For more information about back-end servers click here
Listing Back- End Server groups
This section lists all the back end server groups configured for the proxy. Ensure that the content within the nlpconf.xml file is as follows:
Configuring Connection Route Policy
A Connection Route policy defines where the LDAP proxy must route the incoming connections.
To configure a Connection Route policy for different LDAP sources (Example: eDirectory and Active Directory) with search filters, ensure that the content within the nlpconf.xml file is as follows:
<list-policy>
<policy-search-request id-policy="ad_search" disabled="false">
<rule>
<conditions>
<or>
<if-srch-filter filter-type="equality-match" op="equal">
<filter-attribute match="case-ignore">sAMAccountName
</filter-attribute>
</if-srch-filter>
<if-srch-filter filter-type="equality-match" op="equal">
<filter-attribute match="case-ignore">userPrincipalName
</filter-attribute>
</if-srch-filter>
</or>
</conditions>
<actions>
<do-modify-search>
<base op="replace">OU=REGION,OU= USES,DC=COMPANY,DC=COM</base>
</do-modify-search>
</actions>
<actions-default>
<do-allow/>
</actions-default>
</rule>
</policy-search-request>
<policy-connection-route id-policy="groupwise-conn-route-policy"
disabled="false" moddncache-enabled-for-bind="false">
<rule>
<comment>
Route all connections to the groupwise-backend-grp
</comment>
<conditions>
<if-bind-dn-container match="case-ignore" op="equal">
o=COMPANY</if-bind-dn-container>
</conditions>
<actions>
<do-use-route>
<ref-load-balancer>groupwise-backend-grp</ref-load-balancer>
</do-use-route>
</actions>
<actions-default>
<do-nothing/>
</actions-default>
</rule>
</policy-connection-route>
<policy-connection-route id-policy="office365-conn-route-policy"
disabled="false" moddncache-enabled-for-bind="false">
<rule>
<comment>
Route all connections to the office365-backend-grp
</comment>
<conditions>
<if-bind-dn-container match="case-ignore" op="not-equal">
o=COMPANY</if-bind-dn-container>
</conditions>
<actions>
<do-use-route>
<ref-policy>ad_search</ref-policy>
<ref-load-balancer>office365-backend-grp</ref-load-balancer>
</do-use-route>
</actions>
<actions-default>
<do-nothing/>
</actions-default>
</rule>
</policy-connection-route>
</list-policy>
For more information about Policies click here.
Save the nlpconf.xml file and restart the nlpd service.
To verify if the configuration are successful: