IBM Connections with external Users: Bug in profiles_functions.js

I had the following problem with external users in Connections 5. The customer used a function for the “displayName” instead of a LDAP property value like “cn” resulting in the following lines in “map_dbrepos_from_source.properties”:

[codesyntax lang=”text”]

displayName={func_decorate_displayName_if_visitor}
displayNameLdapAttr={func_compute_dn}
decorateVisitorDisplayName= - External User
mode={func_map_ext}

[/codesyntax]

The function “func_map_ext” is a self-written function which just returns “external” so that all imported users will be handled as external ones.

While running a sync or populate job to import external users, the TDI job threw the following error message:

[codesyntax lang=”text”]

2015-02-12 18:02:22,244 ERROR [com.ibm.di.log.FileRollerAppender.5b5e0f8c-90a4-4b5f-a19e-0d3c6cc7777a] - CLFRN0104E: Failure during evaluation of mapping function for displayName. Exception is: Error while parsing script of eval() method, text func_map_ext}("displayName");

[/codesyntax]

It took some time to realize that function “func_decorate_displayName_if_visitor” in “profile_functions.js” is buggy.

In this function there was a mixup between the evaluation of the function for the “displayName attribute” and the function specified by the “mode” attribute. To fix that bug you need to change the following lines in “profile_functions.js”:

OLD:

[codesyntax lang=”javascript”]

if ((displayNameLdapAttrVal.length >= 3) && (modeVal.charAt(0) == "{"))
{
    var dispFunctionName = modeVal.substring( 1, displayNameLdapAttrVal.length - 1);

[/codesyntax]

 

NEW:

[codesyntax lang=”javascript”]

if ((displayNameLdapAttrVal.length >= 3) && (displayNameLdapAttrVal.charAt(0) == "{"))
{
   var dispFunctionName = displayNameLdapAttrVal.substring( 1, displayNameLdapAttrVal.length - 1);

[/codesyntax]

If you change these lines then you also can use a function for”displayNameLdapAttr”.

Security hole in Firefox and Chrome allows leaking of IP address

A security hole in Firefox and Chrome  allows websites to determine a web user’s real IP address, even when using a VPN:

“Firefox and Chrome have implemented WebRTC that allow requests to STUN servers be made that will return the local and public IP addresses for the user. These request results are available to javascript, so you can now obtain a users local and public IP addresses in javascript. This demo is an example implementation of that.

Additionally, these STUN requests are made outside of the normal XMLHttpRequest procedure, so they are not visible in the developer console or able to be blocked by plugins such as AdBlockPlus or Ghostery. This makes these types of requests available for online tracking if an advertiser sets up a STUN server with a wildcard domain.”

See more details here on this page.

https://torguard.net/blog/browser-security-vulnerability-may-allow-real-ip-leak/

On this site you can check if your broser is affected. With your VPN connected browse to this website and you should see your real IP address in addition to your VPN provider address:

https://diafygi.github.io/webrtc-ips/

How to fix:

For Google Chrome download and install this extension to disable WebRTC.

For Firefox goto “about:config” and set the configuration setting “media.peerconnection.enabled” to “false”.

Der papierlose Haushalt / das papierlose Büro

Naja, soweit sind wir dann doch noch nicht ganz. Aber ich möchte doch mal berichten, was sich in Sachen “Papierloser Haushalt” getan hat. Im Mai 2014 habe ich mal wieder (es gab schon ein paar Anläufe in der Vergangenheit) versucht, den ganzen Papierkram hier zuhause, der sich über die Jahre so angesammelt und viele Meter Regalplatz mit Ordnern verschwendet, irgendwie wegzubekommen. Wenn ich die letzten Monate so zurückblicke, war dieser Versuch doch recht erfolgreich.

(more…)

IBM Connections 5.0: Assign Activity tasks to multiple people

Starting with IBM Connections 5.0 you can assign tasks within an activity also to multiple people at once.

ScreenClip

A task will be marked as completed once all assigned users have marked the item complete for themselves. An activity owner can also mark the activity complete in general. In this case he will get a warning message:

“Are you sure you want to mark this To Do Item as complete? If you are an assignee and want to complete your own status, you can click the checkbox before your name under this To Do Item.”

To enable this new feature you need to uncomment the following line in “/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/connectionsCell/LotusConnections-config/oa-config.xml” and set the value to true:

<property name="feature.multiAssignment.enabled">true</property>

Umrechnungsgebühren von Paypal sparen

Ich zahle vieles per Paypal weil ich dann nicht überall meine Kreditkarteninformationen hinterlegen muss. Bei Zahlungen in Fremdwährungen rechnet Paypal allerdings standardmäßig selbst den Betregg in EURO um und kassiert dabei ca. 3% Umrechnungs-Gebühren. Mir war irgendwie bislang nicht klar, dass man das auch umstellen kann. Das macht man wie folgt:

  • Anmelden bei Paypal
  • Aufrufen des eigenen Profils durch Klicken auf das Zahnrad oben rechts:ScreenClip

     

  • Unter “Zahlungen” auf “PayPal-Zahlungen per Händlerabbuchung” klicken:
    ScreenClip
  • Dann auf “Verfügbare Zahlungsquellen festlegen” klicken:ScreenClip
  • Nun auf “Umrechnungsoptionen” klicken:ScreenClip

     

  • Hier die Option “Die Rechnung in der Währung ausstellen, die auf der Rechnung des Verkäufers angegeben ist” auswählen und dann mit “Senden” bestätigen:ScreenClip

Damit sollte dann in Zukunft die Umrechnung durch die Kreditkartenfirma durchgeführt werden, was günstiger sein sollte (Meine DKB-Kreditkarte berechnet z.B. ein Auslandseinsatzentgelt von 1,75%).