Discussion:
Brutus + Lorica, best configuration options
Luis Correia
2009-04-20 13:35:39 UTC
Permalink
Hi Jules,

can you write up a very simple HOWTO for configuring the very minimum
configuration options for both the client and server?

This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.


Luis Correia
Jules Colding
2009-04-20 15:23:18 UTC
Permalink
Hi Luis,
Post by Luis Correia
can you write up a very simple HOWTO for configuring the very minimum
configuration options for both the client and server?
Yes.

The client lorica configuration should be:


/etc/lorica.conf
----------------
Internal_Address localhost:4080
External_Address localhost:4082/random_alias
Generic_Evaluator yes
Collocate_IFR yes
ORB_Option -ORBSvcConf /etc/lorica_codeset.conf


/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"


e-b may then connect to port 4082 on the server side. The server
brutus and lorica configuration should be just as the are delivered by
the Windows installer, except for the lorica,conf "External_Address"
option which must be for the correct host IP.
Post by Luis Correia
This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.
On the server yes, on the client it is very encouraged.


Best,
jules
Jules Colding
2009-04-20 15:25:12 UTC
Permalink
On 20/04/2009, at 17.23, Jules Colding wrote:


The configuration below must be one line. My mailer breaks the line :-(
Post by Jules Colding
/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"
--
jules
Luis Correia
2009-04-20 15:44:19 UTC
Permalink
Hi Jules,
Post by Jules Colding
Hi Luis,
<snip>
Post by Jules Colding
/etc/lorica.conf
----------------
Internal_Address localhost:4080
External_Address localhost:4082/random_alias
Generic_Evaluator yes
Collocate_IFR yes
ORB_Option -ORBSvcConf /etc/lorica_codeset.conf
So, no changes whatsoever in what is provided by the default config?
Post by Jules Colding
/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"
e-b may then connect to port 4082 on the server side. The server
brutus and lorica configuration should be just as the are delivered by
the Windows installer, except for the lorica,conf "External_Address"
option which must be for the correct host IP.
In e-b configuration we just put the brutus server IP and port 4082?
Post by Jules Colding
Post by Luis Correia
This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.
On the server yes, on the client it is very encouraged.
Ok, now, by reading the README file I no longer see the need to change
permissions for the user under which brutus-server runs.
Is this the new default or all previous configs need to be done?

Particularly, the registry permissions, the user for the brutus and
lorica services and the permissions for the mpp filesystem.
Post by Jules Colding
Best,
  jules
Luis Correia
Luis Correia
2009-04-20 16:02:31 UTC
Permalink
Hi Jules,

nothing like a simple error message:

(evolution:7953): evolution-mail-WARNING **: couldn't get service
brutus://my_domain_user;auth=***@my_exchangeserver/;expect_other_clients;exchange_mailbox_email=***@my_corp;windows_domain=my_windows_domain;brutus_server=my_brutus_server_ip;check_all;iiop_port=4082:
Could not construct the store - CORBA exception caught

any hint is appreciated,
Luis Correia
Post by Luis Correia
Hi Jules,
Post by Jules Colding
Hi Luis,
<snip>
Post by Jules Colding
/etc/lorica.conf
----------------
Internal_Address localhost:4080
External_Address localhost:4082/random_alias
Generic_Evaluator yes
Collocate_IFR yes
ORB_Option -ORBSvcConf /etc/lorica_codeset.conf
So, no changes whatsoever in what is provided by the default config?
Post by Jules Colding
/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"
e-b may then connect to port 4082 on the server side. The server
brutus and lorica configuration should be just as the are delivered by
the Windows installer, except for the lorica,conf "External_Address"
option which must be for the correct host IP.
In e-b configuration we just put the brutus server IP and port 4082?
Post by Jules Colding
Post by Luis Correia
This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.
On the server yes, on the client it is very encouraged.
Ok, now, by reading the README file I no longer see the need to change
permissions for the user under which brutus-server runs.
Is this the new default or all previous configs need to be done?
Particularly, the registry permissions, the user for the brutus and
lorica services and the permissions for the mpp filesystem.
Post by Jules Colding
Best,
  jules
Luis Correia
Jules Colding
2009-04-21 07:21:17 UTC
Permalink
Hi Luis,
Post by Luis Correia
(evolution:7953): evolution-mail-WARNING **: couldn't get service
brutus://
my_domain_user
;auth
=
Plain
@my_exchangeserver
/;expect_other_clients
;exchange_mailbox_email
=
my_internal_email
@my_corp
;windows_domain
=
my_windows_domain
Could not construct the store - CORBA exception caught
any hint is appreciated,
Please post the previous client log messages too. They should tell us
why the store construction failed.

Thanks,
jules
Jules Colding
2009-04-21 07:19:43 UTC
Permalink
Hi Luis,
Post by Luis Correia
Post by Jules Colding
/etc/lorica.conf
----------------
Internal_Address localhost:4080
External_Address localhost:4082/random_alias
Generic_Evaluator yes
Collocate_IFR yes
ORB_Option -ORBSvcConf /etc/lorica_codeset.conf
So, no changes whatsoever in what is provided by the default config?
Correct.
Post by Luis Correia
Post by Jules Colding
/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"
e-b may then connect to port 4082 on the server side. The server
brutus and lorica configuration should be just as the are delivered by
the Windows installer, except for the lorica,conf "External_Address"
option which must be for the correct host IP.
In e-b configuration we just put the brutus server IP and port 4082?
Yes.
Post by Luis Correia
Post by Jules Colding
Post by Luis Correia
This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.
On the server yes, on the client it is very encouraged.
Ok, now, by reading the README file I no longer see the need to change
permissions for the user under which brutus-server runs.
Is this the new default or all previous configs need to be done?
The old way with the server (versions 0.x and 1.x) was that it needed
a special user to run the service and manual adjustment of directory
permissions. The 2.x or later Brutus Server is in reality a totally
different product. Just try to compare the 2.x code with the old code
and you'll see. So the need to use a special domain user isn't any more.
Post by Luis Correia
Particularly, the registry permissions, the user for the brutus and
lorica services and the permissions for the mpp filesystem.
You don't need a special user or manual adjustment of directory
permissions at all. All directories, including the mmp directory, is
created by Brutus Server with the needed permissions already in place.
Brutus Server 2.x is very much an install-and-forget product, except
for that little detail of the External_Address option in "lorica.conf".

Best,
jules
Luis Correia
2009-04-21 07:41:59 UTC
Permalink
Jules,
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Post by Jules Colding
/etc/lorica.conf
----------------
Internal_Address localhost:4080
External_Address localhost:4082/random_alias
Generic_Evaluator yes
Collocate_IFR yes
ORB_Option -ORBSvcConf /etc/lorica_codeset.conf
So, no changes whatsoever in what is provided by the default config?
Correct.
Post by Luis Correia
Post by Jules Colding
/etc/lorica_codeset.conf
------------------------
static Resource_Factory "-ORBNativeCharCodeset 0x05010001 -
ORBNativeWCharCodeset 0x00010109"
e-b may then connect to port 4082 on the server side. The server
brutus and lorica configuration should be just as the are delivered by
the Windows installer, except for the lorica,conf "External_Address"
option which must be for the correct host IP.
In e-b configuration we just put the brutus server IP and port 4082?
Yes.
Post by Luis Correia
Post by Jules Colding
Post by Luis Correia
This is with or without Lorica, althoughI got the impression that now
Lorica _is_ mandatory.
On the server yes, on the client it is very encouraged.
Ok, now, by reading the README file I no longer see the need to change
permissions for the user under which brutus-server runs.
Is this the new default or all previous configs need to be done?
The old way with the server (versions 0.x and 1.x) was that it needed
a special user to run the service and manual adjustment of directory
permissions. The 2.x or later Brutus Server is in reality a totally
different product. Just try to compare the 2.x code with the old code
and you'll see. So the need to use a special domain user isn't any more.
Post by Luis Correia
Particularly, the registry permissions, the user for the brutus and
lorica services and the permissions for the mpp filesystem.
You don't need a special user or manual adjustment of directory
permissions at all. All directories, including the mmp directory, is
created by Brutus Server with the needed permissions already in place.
Brutus Server 2.x is very much an install-and-forget product, except
for that little detail of the External_Address option in "lorica.conf".
This is indeed great, but a minor detail would be a simple note in
the README file to say that the permissions and such, are no longer
needed :)
Post by Jules Colding
Best,
  jules
Btw, what about SSL encryption, how do we activate it, or is that a
new default (always on)

Luis

Loading...