@dev_team or others
is the sAMAccountName
the full username ie user@domain or just user?
asking to get nethserver-sogo-delete-user
working.
@dev_team or others
is the sAMAccountName
the full username ie user@domain or just user?
asking to get nethserver-sogo-delete-user
working.
IIRC that attribute stores the old NT username. Thus it has no @domain suffix.
Iâm trying to configure sssd to support also the traditional âshortâ username. Please comment here:
More Votes ⊠last thing to round up
Almost done, for none detail i like your help (no rush),
Its the Dashboard (application) module in this:
public function getInfo()
{
$host = explode(':',$_SERVER['HTTP_HOST']);
return array(
'url' => "https://".$host[0]."/SOGo/"
);
}
I need (pseudo code)
if sogod db prop 'VirtualHost' exists;
$host = sogod db prop 'VirtualHost';
else
$host = explode(':',$_SERVER['HTTP_HOST']);
EDIT and just donât get what is wrong with this perl:
We need some of some.crt
if ($sogo_cert =~ /./) {
$sogo_cert = (split(/./, $sogo_cert))[0];
}
Escape the . \.
thanx in advance.
You need something like this (not very elegant):
public function getInfo()
{
$vhost = $this->getPlatform()->getDatabase('configuration')->getProp('sogod,'VirtualHost');
if ($vhost) {
return array('url' => "https://".$vhost."/SOGo/");
} else {
$host = explode(':',$_SERVER['HTTP_HOST']);
return array(
'url' => "https://".$host[0]."/SOGo/"
);
}
}
Why not use the default certificate? Just use /etc/pki/tls/certs/localhost.crt
Thanx!
its a changed functionality
implement exclusive virtualhost · markVnl/nethserver-sogo@04c5ef0 · GitHub[quote=âmark_nl, post:16, topic:4783â]
and is accessible
[/quote]
Oops and is not accessible
If I understand correctly, you would give the chance to choose a custom certificate for SOGo virtual host.
Iâm not against it, but I canât figure out why you need it.
Letâs assume this scenario:
If you need a valid SSL certificate for SOGo virtual host, you can simply create a new Letâs Encrypt certificate with multiple domain names and use it also for the specific virtual host.
Please, also take note that you should take care of the chain file
User case i had in mind was mysogo.something.complexly.diferent.com (ie a specific mail domain)
Tnx,
LE works even with different domains
EDIT forgot this: Still have to look in LE
I did not succeed is redirecting https: https://mysogo.nethserver.org > https://somthing_else.
The only way i figured out to get this working is warping the hole httpd sogo.conf in a virtual host,
or make a virtualhost in the service manager for this sole purpose.
And a personal preference, i dont like SOGo to be exposed to all other hosts. Note (as is) https://mysogo.nethserver.org/SOGo doesnât get redirected.
Have to say, webthingyâs is my blind spot so open for suggestions
Have you already tried to put it inside the /etc/httpd/conf.d/default-virtualhost.inc
template?
Rewrite rules are a little bit tricky
Huge work Mark!
Even till here you deserve a big with (Heineken, Bavaria, Grolsch?)
Noticed this, @davidep and @stephdl pointed me in the right direction
Think itâs quite clean now (dropped proxypasses for dav auto_discovery in favor of RewriteMatch) and it so far it works in all scenarioâs.
I already known there are some optimizations in expanding the template, they do not change the result.
@stephdl what d you think, upload it in nethforg testing to get some feed back or invite some people to build and review this?
Working in Germany until the end of the year, das wird ein Deutsches Bier.
If you did this effort for us (NethServer SOGo module), we will make the effort to fill with beer from Netherlands!
It will be easier to bear being away from home!
You should propose built rpm for testing purposes, src.rpm are only for developers. Concerning Nethforge, Iâm a bad boy, I donât use it so much, I propose rpms from my own repository, but you can use a simple web folder somewhere and ask to install them by yum.
Tested different scenarios one more time, no failures.
I have to admid 90% of the testing is done on a OpenLdap configuration.
Decided to upload them to nethforg testing.
yum upgrade --enablerepo=nethforge-testing nethserver-sogo
Login on Ldap is with full user name to (eg user@domian)
I made my tests on an AD configuration. Thanks again for your work
which file / template does determine the permissions of the expanded template?
A workaround is a little script containing chmod 640 /etc/sogo/sogo.conf ;
Not so elegantâŠ
templates.metadata/
For instance