Posts Tagged ‘office’

SharePoint 2010 with OpenLDAP authentication

Wednesday, July 18th, 2012

A relevant piece from web.config that worked for me allowing SharePoint 2010 authenticate against OpenLDAP. OpenLDAP is powered by Ubuntu 10.04.2 LTS (lucid) and OpenLDAP 2.4.21 (installed from packages).


Three points to mention:

1. As you can see I’m using SSL — make sure to import your certificates through mmc.

2. agentname is allowed to search ‘ou=People,dc=domain,dc=org’. In ACL language:

 access to dn.subtree="ou=People,dc=domain,dc=org"
    by dn.regex="cn=(.*),ou=Agents,dc=domain,dc=org" read
    by * none

3. I had to enable ‘allow bind_v2’ in slapd.conf to allow agentname to query OpenLDAP, otherwise I was getting ‘historical protocol version requested, use LDAPv3 instead‘.

All in all it was a hell of an exercise!

Opening OpenOffice (odt) files without OO installed

Wednesday, October 8th, 2008

Got odt file and don’t want to install OpenOffice just to open it? Here is a nice piece of software that could allow you to open, view and print odt files (and many more!). It’s called TextMaker Viewer and it’s free. Here is the current list of supported file formats:

.doc (Microsoft Word 6.0 up to Word 2007), .rtf (Rich Text Format), .dot (Microsoft Word templates 6.0 up to 2007), .psw (Pocket Word (Pocket PC)), .tmd (TextMaker 6.0 up to 2008, .pwd (Pocket Word (Handheld PC)), .odt (OpenDocument Text), .htm/html (HTML documents), .sxw ( Text), .txt (Text files (DOS, Windows, Unicode, UTF-8)).


Upgrading to FreeBSD 7 from 6.3-STABLE

Monday, August 25th, 2008

Yesterday, I’ve finally get some time to upgrade one of my FreeBSD 6.3-STABLE test machines to FreeBSD 7.

Note that starting from 6.2-RELEASE you can do binary upgrades by using freebsd-update utility. Detailed explanation is provided by Colin Percival in his blog entry available at

Source-based upgrades are supported as well and this is what I prefer to use. I’ll try to summarize key points you should take into consideration before starting upgrading to version 7.


How to disable IPv6 in Windows Vista

Friday, August 8th, 2008

Disabling IPv6 in Windows Vista could be done using one of the following methods. Both methods will disable IPv6 on all networks adapters, excluding IPv6 loopback interface (excluding tunnel as well if you follow the first approach).


How to insert image into PDF file

Saturday, July 19th, 2008

Yesterday, I’ve been asked a question about how to insert an image into PDF file with Adobe Acrobat installed? Well, it came out that it’s not as straightforward as it supposes to be. Anyway, here we go.


How to disable autorun in Windows XP

Wednesday, July 2nd, 2008

With all these nasty worms going wild nowadays disabling autorun becomes a must-have decision. It’s all mainly because of USB flash drives getting infected with bunch of stuff. Not a big deal for office environment because no one should have administrative rights, however, in a home environment, where PCs are usually shipped with admin rights granted by default, people get into a mess almost immediately. Anyways, here is what I do to disable autorun in AD environment.


Dealing with Cannot delete file: Access is denied error

Wednesday, June 25th, 2008

This morning I’ve been fighting with “Cannot delete file: Access is denied” error under Vista Enterprise while trying to reinstall Adobe Acrobat 7.0 Professional. Don’t know what went wrong initially but activation get corrupted and Adobe was closing immediately after opening any pdf file. While trying to uninstall the package it failed to delete several dll files leaving Adobe half-removed. There was nothing wrong with permissions, nor I was able to trace by whom this dlls were locked. After googling and reading several similar cases on Adobe forum I came across to small piece of code which did the trick for me. The software is called Unlocker and it’s free. Try it – it worked for me, so I was finally able to delete and reinstall Adobe.