Good evening!
Once again, I would need your help to achieve following:
The environment:in the LAN, I've got a "Sme9-clone" for tests. This is a clone of the production Sme and it is installed on a virtual machine:
internet -------<Sme8-prod>-----------------<switch>--------------------<client>
|
|
<Sme9-clone>
<IP 192.168.2.109>
The settings:- Sme8-prod: hostname=Sme8-prod domain: domain.org DNS: field empty - no entry
- Sme9-clone: hostname=sme9-clone domain: sme9-clone.domain.org DNS: IP Sme8-prod
- Into the server-manager of Sme8-prod --> Hosts and adresses:
sme9-clone.domain.org --> local --> 192.168.2.109
This configuration allows me to send emails from and to the sme9-clone.
- Sme8-prod is the DNS of the client.
The problem:I'm trying the contrib "Lemonldap-ng"
http://wiki.contribs.org/LemonLDAP-NG on the sme9-clone and the configuration panel of this application is in a subdomain of sme9-clone:
"sso-manager.sme9-proxmox.guedel.eu" is therefore the url that I need to reach from the client and I still haven't find a way to do it.

- sme9-proxmox.guedel.eu can be pinged
- sso-manager.sme9-proxmox.guedel.eu can't be pinged, but works (tested by setting temporairy Sme9-clone as DNS for the client)
It is quite in the same direction that this topic:
http://forums.contribs.org/index.php/topic,49965.msg250422.html#msg250422I don't understand why it doesn't work: why don't Sme8-prod relay the request of the subdomain to Sme9-clone which main domain (sme9-clone.domain.org) is resolved?
Trials:- enter "sso-manager.sme9-clone.domain.org" as a host in the server-manager of Sme8-prod: --> It's not possible because the dots are not accepted in the hostname.
- Set proxypass in Sme8-prod:
db domains set sso-manager.sme9-clone.domain.org domain
db domains setprop sso-manager.sme9-clone.domain.org Nameserver internet
db domains setprop sso-manager.sme9-clone.domain.org ProxyPassTarget http://192.168.2.109
db domains setprop sso-manager.sme9-clone.domain.org TemplatePath ProxyPassVirtualHosts
signal-event domain-create sso-manager.sme9-clone.domain.org
With it, I reach the
main domain of the sme9-clone by entering "sso-manager.sme9-clone.domain.org" as url for the browser, but not its
subdomain "sso-manager.sme9-clone.domain.org" (it is the same result than entering
http://192.168.2.109 directly - btw I don't know how it can work in an other way because domain and subdomains have the same url!)
Ideas:- - Create in the server-manager of Sme8-prod a host "lemonldap.domain.org" pointing to 192.168.2.109 too.
- In the server-manager of Sme9-clone, create a domain "lemonldap.domain.org" pointing on an ibay (to be created) "lemonldap".
- Then in Sme9-clone find a way (templates? db?) to relay "lemonldap-domain.org" to "sso-manager.sme9-clone.domain.org domain" ( sso-manager.sme9-clone.domain.org domain is well known by the Sme9-clone).
I don't think that a simple .htaccess redirection into the ibay will help. - On a "classical" Linux OS: I would have tried to add one position including "sso-manager.sme9-clone.domain.org domain" into the /etc/hosts file.
Is it possible on the SME? Certainly with a template-custom...?? - By writing this, I could maybe enter this line in the /etc/hosts of the client?
Of course if it's working, it isn't very nice because this should be add to each client.
Questions:What do you think??
How can Sme9-clone know if the request is for the domain or for 1 subdomain??
How to reach this subdomain in a practical and in a "not too bad" way?
Notes:This example is only for 1 subdomain, but there are several that i would need to reach!
If possible, I would like to make all the "dirty" tasks on the Sme9-clone instead of on the well running Sme8-prod.
Thanks for your indications.
Bye
Arnaud