Archive for September, 2011

How-To Set Up a Continuos Synchronization on The Background With Windows 7 and The Group Policy Editor

Saturday, September 3rd, 2011

Using the Offline Files in Windows Vista or Windows 7 is not always a smooth process and can cause a lot of Offline Folders And Files Synchronization Errors.

Offline Files synchronization errors

Offline Files synchronization errors

I found the latest generation of Windows to be very sensitive in the process to keep synchronized the Offline Files and folders copy with the  remote share.

Depending on the quality of the network you rely or the quality of the link to the share the Windows 7 (or VISTA) clients may think that the share is temporarily unavailable and stop synchronizing the Offline Folder while leaving temporary files on the server.
That may confuse some applications, especially Microsoft Office making them believing that a file you just edited and closed is still opened by another application and will refuse to open such file again.

I.E.. I have a very unadvisable configuration where a Linux server is providing an NFS share to a Mac OS X Snow Leopard server, and that server is then re-sharing via SMB and AFP that share to Windows and Mac OS X clients. I have experienced problem with Windows Clients stopping to synchronize files without any reasonable motivation.

I understood that because of an obvious delay on the communication from the Windows client through the Mac OS X server (via SMB)  to the Linux server (via NFS) would make the Windows client believe that the share was offline with many unconfortable conseguences.

I have found a workaround to this problem playing a little with the Windows’s Group Policy Editor.

As I don’t have a Windows Domain in place I couldn’t generate a policy file to be pushed once for all to all the clients so I had to manually start and configure the Group Policy Editor on each single Window VISTA and Windows 7 machine.

This is how to set up a continuos synchronization on the background with the Local Group Policy Editor:

  1. Start the Local Group Policy Editor

    Launch The Local Group Policy Editor

    Launch The Local Group Policy Editor

  2. Expand the Computer Configuration policies to ‘Network -> Offline Files’
    Group Policy Editor

    Group Policy Editor

    Slow Link Speed

    Slow Link Speed

  3. Access the ‘Configure Backgraund Sync’ option to enable the background sync

    Configure Background Sync

    Configure Background Sync

  4. Activate the ‘Enable Transparent Caching’ option

    Enable Transparent Caching

    Enable Transparent Caching

  5. Access the ‘Configure slow-link mode’ option to enable the support for slow-link networks

    Slow Link Mode

    Slow Link Mode

  6. Access the ‘Configure slow-link speed’ to configure the latency level to detect weather the connection get slow.
    Follow the suggestions shown in the LGPE to calculate the appropriate value.

    Configure Slow Link Speed

    Configure Slow Link Speed

These settings should avoid many of your problems and so far they did not create any additional issue.

Please comment and post your experience about any problems with the use of Offline Files and Folders.

How-To fix pGina: “Warning: Current plugin selected could not be loaded!”

Thursday, September 1st, 2011

After installing pGina and the chosen plugins (i.e. LDAP Auth, LDAP Group, RADIUS) on Windows Vista or Windows 7, it may happen that trying to access the plugin configuration it results in an error loading the plugin with the following error message being returned:

"Warning: Current plugin selected could nor be loaded!
You may not be able to login using pGina!"
Warning: current plugin selected could not be loaded

Warning: current plugin selected could not be loaded

The most common reasons for such error are:

 

  1. The installed plugin is for a different architecture:According to your system you must choose to install the x86 (32 bits) or
    x64 (64 bits) version of the plugin.
    Some plugin may be released on a single version but this doesn’t imply that it will work for both the architectures.
  2. Otherwise it most probably happens the you are missing the installation of the Visual C++ 9.0 (2008) runtime libraries (VC90.CRT 2008):In this case you need simply to download the Microsoft Installer package from Microsoft’s site at

    x86: http://www.microsoft.com/download/en/details.aspx?id=5582
    x64: http://www.microsoft.com/download/en/details.aspx?id=2092

Applying one of these two fixes you should have resolved your problems otherwise you may consider to check the file permissions on the plugin files.