Recover lost password for .kyr

It is often forgotten that it’s possible to recover lost password for .kyr file. Basically, Domino reads it from .sth file every time…

To make it shown at console (and logs), set:

SSL_TRACE_KEYFILEREAD=1

And restart HTTP.

Don’t forget to remove it after use!

Brave New World and weapons of choice – PoweShell(on ISESteroids) + WinScp

Today it is impossible to stick to one tool, one programming language, one paradigm, one environment, one anything 🙂

To fit in fast evolving environment, we find ourselves in need to learn news things and to learn it fast.

Since most of my development is IBM Domino related, and it’s most of the time some integration stuff (real developers are developing real apps 🙂 ) all kinds of scripting is of great use for me and my projects.

Some time ago I was in situation to develop some SFTP integration and since all things in customer’s environment is Microsoft friendly, and Domino is running on Windows and nudge nudge recommendation was to use PowerShell to do file syncing, I found myself in environment that made me thing like: “powershell IDE”, “poweshell development”, “powershell debugg”…

In good news, SFTP part was solved really fast after I found out that WinSCP has .NET assembly that can be used  to automate things. Great free tool that deserves your donation.

PowerShell was a bit different story. Off course, you can write script in every text editor, but IDE will make things more easy. I tried few options and all of them were fine, but two years later I had to revisit this code and found myself in similar situation – how to edit and debug “old” code…

After I had moments of “stupid software” moments, try of good old ISE was relief. I’ll will not give negative publicity since my dissatisfaction might be based on my “quick and dirty” way of learning PS, more than a year not using tools, bad day…

In good impressions, award™ goes to ISESteroids. Interesting way of eat your own dog food concept (not accurately since ISE is developed by Microsoft).

In simple words, ISESteroids is extension to ISE (ships with PowerShell 3 or better) and converts a bit spartan ISE to full feature GUI for PowerShell.

It would be pretentious of me to try to list all ISESteroids features and/or to point out what is best feature, you can find comments and reviews form much more experienced users.

Few things that caught my attention, on first glance are:

Fancy welcome screen:

goodmorning

Fancy tips to improve performance and your PS skill – double click to issue (right side pane) and blocks of same code get converted to function 🙂

where-object-to-function

Error and best/worst practice tips – great improvement for occasional PS developers:

make_your_ps1_better

GUI and wizard for digital signing of your PS1 files – just double click and you’ll get your (self signed) certificate, and your script will get it’s SIG block.

pssig

Untitled

View index out of NSF – already here?

Just followed one referrer on blog to forum in France, and found something veeeeery interesting 🙂

Jérôme Deniau wrote blog post about how to set view index out of NSF. And also here.

New INI options are:

  • NIFBasePath=<path to folder for indexes>
  • NIFEnable=1
  • CREATE_NIFNSF_DATABASES=1

Funny part is that when you search this INI option, you can find it only at IBM Knowledge Center page – in French, and in Google cache…

screenshot_6
NIFNSF on|off

Original page lost this info

Just gave it a try, and quick result is:

You have to enable transaction log on server, or you’ll get “dest shoud be linked, but not accessed”:

1

I think that this thing is also on Jérôme’s blog, but I don’t speak French :-/

If translog is on, things look better:

2

And, as expected, index – .ndx file is in defined folder:

3

Handle with care… Can’t wait for FP8 (just saw preliminary release notices, this is announced)

Bonus hint: If you change NIFBasePath and don’t move files, you have to do “compact -d”.

Bonus hint 2: You need R9 databases, but you should have this set already, R9 is almost 4 years old.

Web archive links:

http://web.archive.org/web/20170126223548/http://www.move4ideas.com:8080/blogs/wiki_blogD.nsf/dx/Externaliser_les_index_des_vues_IBM_Domino

https://web.archive.org/web/20170126230408/https://www.developpez.net/forums/blogs/854098-jerome-deniau/b1831/externalisation-index-vues-domino/

and PDF of Google cache: options-doptimisation

 

 

IBM Domino 9.0.1 FP2 – IF2 – Regression testing anyone? /Formula Error/ – SOLVED.

Just put IF2 on test VOP server, and got “Formula Error” in Verse and in iNotes… awfully looks like issue with FP7

Update1: Workaround 2 solves issue – looks like regression bug. PMR is on the way…

Update2: Support made me see that I overlooked information about IF3 for iNotes. When you apply this IF, everything works as expected.

I’m not sure weather to be happy with this (why is not this same IF?), but Demo Verse is back on track.

Tip: Know what you do :)

Just got issue while setting up NGINX reverse-proxy for Domino…

Guide that Jesse Gallagher made was great, but, brain-dead copy/paste is not something that should be done for this kind of change.

Some of resources were redirected to HTTPS although I enabled just HTTP on Domino server and set NGINX to listen on port 80 and not to redirect to HTTPS.

First solution was to add self-signed SSL to NGINX and everything was fine, but it’s not geek way to use solution without explanation 🙂

Examining of Jesse’s example brought me to $WSXX headers that were set by NGINX. $WSIS was forced to True… Off with this forcing and reverse-proxy is working as expected. Details are here.

Moral of the story:

 

HTTPEnableConnectorHeaders=1 and $WS-Headers notes (read carefully):

If you get page errors after disabling HTTPEnableConnectorHeaders in Domino, try this

Security hole leaves IBM Domino server wide open – Part One

Security hole leaves IBM Domino server wide open – Part Two