<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.matws.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>My not so uninteresting notes</title>
  <link>http://blog.matws.net/</link>
  <atom:link href="http://blog.matws.net:82/feed/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>en</language>
  <pubDate>Mon, 16 Jan 2012 06:05:46 +0300</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Doing GSSAPI in PERL without libauthen-sasl-cyrus-perl</title>
    <link>http://blog.matws.net/post/2011/11/26/Doing-GSSAPI-in-PERL-without-libauthen-sasl-cyrus-perl</link>
    <guid isPermaLink="false">urn:md5:32aac63d69a06f6acdf2bd1fd9d2a848</guid>
    <pubDate>Sat, 26 Nov 2011 00:37:00 +0300</pubDate>
    <dc:creator>mat</dc:creator>
        <category>PERL</category><category>SASL</category>    
    <description>    &lt;p&gt;Hability to do GSSAPI for SASL in PERL is great it allow script connections
to services (IMAP, LDAP, ...) that require a password without storing the
password in clear text.&lt;/p&gt;
&lt;p&gt;But current version of libauthen-sasl-cyrus-perl in Debian Squeeze is broken
at least partially:&lt;/p&gt;
&lt;pre&gt;
perl: ../../../src/util/support/threads.c :351 : krb5int_key_register:  L'assertion « destructors_set[keynum] == 0 » a échoué&amp;lt;/code&amp;gt;
&lt;/pre&gt;
&lt;p&gt;It &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635847&quot;&gt;seems&lt;/a&gt; to be the
case for some others.&lt;/p&gt;
&lt;p&gt;While waiting for the bug to be fixed, there is a &lt;a href=&quot;http://search.cpan.org/~gbarr/Authen-SASL-2.15/lib/Authen/SASL/Perl/GSSAPI.pm&quot;&gt;
solution&lt;/a&gt; use the non-cyrus GSSAPI module for SASL, it depends on the PERL
implementation of &lt;a href=&quot;http://perlgssapi.sourceforge.net/&quot;&gt;gssapi&lt;/a&gt;. By
chance it's debian repository so it's rather easy to get them:&lt;/p&gt;
&lt;pre&gt;
sudo apt-get install libgssapi-perl libauthen-sasl-perl
&lt;/pre&gt;
&lt;p&gt;And then in the perl program, insists on using the &amp;quot;pure&amp;quot; PERL of the SASL
library:&lt;/p&gt;
&lt;pre&gt;
use Authen::SASL qw(Perl);
&lt;/pre&gt;
&lt;p&gt;Et voilà that's all !&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2011/11/26/Doing-GSSAPI-in-PERL-without-libauthen-sasl-cyrus-perl#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/11/26/Doing-GSSAPI-in-PERL-without-libauthen-sasl-cyrus-perl#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/651751</wfw:commentRss>
      </item>
    
  <item>
    <title>Dissecting FRS protocol with Wireshark</title>
    <link>http://blog.matws.net/post/2011/10/29/Dissecting-FRS-protocol-with-Wireshark</link>
    <guid isPermaLink="false">urn:md5:2001eda9b51492ad29f9bef6c9b723f3</guid>
    <pubDate>Sat, 29 Oct 2011 19:27:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>Wireshark</category>
        <category>FRS</category><category>Network Protocols</category>    
    <description>    &lt;p&gt;Not long time ago I made a couple of patches for &lt;a href=&quot;http://www.wireshark.org&quot; hreflang=&quot;en&quot;&gt;wireshark&lt;/a&gt; so that we can generate
the FRS dissector from &lt;a href=&quot;http://www.samba.org&quot; hreflang=&quot;en&quot;&gt;Samba&lt;/a&gt;'s
IDL files.&lt;/p&gt;
&lt;p&gt;Now that Wireshark is able to dissect properly this protocol, I've just done
a &lt;a href=&quot;http://www.matws.net/mat/pres/frs.avi&quot; hreflang=&quot;en&quot;&gt;screencast&lt;/a&gt;
to show how to use Wireshark to dissect a FRS capture.&lt;/p&gt;
&lt;p&gt;The technique used in this screencast is also usable for dissection of other
protocols (ie. netlogon).&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2011/10/29/Dissecting-FRS-protocol-with-Wireshark#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/10/29/Dissecting-FRS-protocol-with-Wireshark#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/646641</wfw:commentRss>
      </item>
    
  <item>
    <title>Interoperability lab 2011</title>
    <link>http://blog.matws.net/post/2011/10/17/Interoperability-lab-2011</link>
    <guid isPermaLink="false">urn:md5:6bd1d78eca5239e4237fc51910772a6f</guid>
    <pubDate>Mon, 17 Oct 2011 20:43:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>Samba4</category>
            
    <description>    &lt;p&gt;2 weeks ago I finished my trip in the US back from the &lt;a href=&quot;http://snia.org&quot;&gt;SNIA&lt;/a&gt;'s &lt;a href=&quot;http://snia.org/events/storage-developer2011&quot; hreflang=&quot;en&quot;&gt;SDC&lt;/a&gt; and
interoperability lab at Microsoft in Redmond. I won't talk much about SDC
because my friend and long time team member, Chris Hertel, &lt;a href=&quot;http://samba.org/samba/news/developers/2011-snia-sdc-report.html&quot; hreflang=&quot;en&quot;&gt;already did it&lt;/a&gt;, like last year it was a great moment of fun, and a
pleasure to meet other team members. And as some Microsofters that participate
at the AD interoperability lab are also at SDC, it's a kind of warm-up for the
next week event: Active Directory interoperability lab.&lt;/p&gt;
&lt;p&gt;This was the 4th edition of this lab between Microsoft and the Samba-Team,
and my second participation. We usually achieve some terrific results during
this lab because of the emulation created by face to face discussion and coding
of team members and also because Microsoft provides us both a test
infrastructure and real-time support with their engineers on issues that are
found during the lab. In 2009 we managed to make directory replication work,
opening the way to a first class citizen DC for Samba, in 2010 we worked on
read-only DC, BackupKey procotol and an internal DNS server.&lt;/p&gt;
&lt;p&gt;This year I had the objective to have a working FRS client. For those who
are not too familiar with all the AD technologies, &lt;a href=&quot;http://www.google.com/url?sa=t&amp;amp;rct=j&amp;amp;q=ms-frs1.pdf&amp;amp;source=web&amp;amp;cd=5&amp;amp;ved=0CDkQFjAE&amp;amp;url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2Fa%2Fe%2F6%2Fae6e4142-aa58-45c6-8dcf-a657e5900cd3%2F%5BMS-FRS1%5D.pdf&amp;amp;ei=zmCgToGeBOKg4gTAnZi1BA&amp;amp;usg=AFQjCNH2Q196-nGaTts7zipPoUxigPvriQ&amp;amp;cad=rja&quot;&gt;
FRS&lt;/a&gt; stands for File Replication Protocol. It's one of the options to
replicate shares and up to Windows 2008 it was the only option to replicate the
sysvol and netlogon share for domain controllers. So in the Samba-Team and in
the Samba community we are pretty interested to have this working therefor I
decided to work on it. I was quite decided to work on this as much as I could
during the lab.&lt;/p&gt;
&lt;p&gt;It has turned out not to be the case, mostly because we had the opportunity
to test Samba's Active Directory implementation against a couple of test
suites, among them netlogon and drs. Although we have our own test suites in
the Samba project to avoid regression and check the correct behavior of our
products, testing against other test suites can shed light on bugs that we
have. And guess what ? we have found some of them during this week but not too
much, for sure fixing some flags not correctly set is not as sexy as shiny new
features but having a really stable AD implementation is also a good feature
and in any case other team members who participated to this event have worked
on new features like multi-domain forest or DNS updates for our internal DNS
server so we had a week a very studious week.&lt;/p&gt;
&lt;p&gt;I'm now waiting for the next one !&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2011/10/17/Interoperability-lab-2011#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/10/17/Interoperability-lab-2011#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/644325</wfw:commentRss>
      </item>
    
  <item>
    <title>More patches</title>
    <link>http://blog.matws.net/post/2011/07/08/More-patches</link>
    <guid isPermaLink="false">urn:md5:def2ec95573855fb7a32214f35cd434e</guid>
    <pubDate>Fri, 08 Jul 2011 23:20:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>Patches</category>
        <category>dokuwiki</category>    
    <description>    &lt;p&gt;I just pushed most of my patches &lt;a href=&quot;http://www.matws.net/mat/patches&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt; not sure it can be always interesting for every body but
still there is some quite useful patches like &lt;a href=&quot;http://www.matws.net/mat/patches/dokuwiki_enable_extensionless.patch&quot; hreflang=&quot;en&quot;&gt;this one&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It allows dokuwiki to accept extensionless files.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2011/07/08/More-patches#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/07/08/More-patches#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/619573</wfw:commentRss>
      </item>
    
  <item>
    <title>SSO for dokuwiki</title>
    <link>http://blog.matws.net/post/2011/07/08/SSO-for-dokuwiki</link>
    <guid isPermaLink="false">urn:md5:cd33d3c56d1320fa454331f71be2c401</guid>
    <pubDate>Fri, 08 Jul 2011 22:49:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>Patches</category>
        <category>Active Directory</category><category>dokuwiki</category><category>SASL</category>    
    <description>    &lt;p&gt;I tend to prefer &lt;a href=&quot;http://dokuwiki.org&quot; hreflang=&quot;en&quot;&gt;dokuwiki&lt;/a&gt;
over other Wiki tools. One thing that is neat with dokuwiki is that you can use
Active Directory as a backend for user storage and user rights. If you don't
want to multiply the number of database where your users are and where their
right are affected I think that's a must !&lt;/p&gt;
&lt;p&gt;But one big minus is that there is no way to use any kind of SSO technics
like NTLMSSP auth or Kerberos. That's too bad because I guess people get tired
of having to type and retype their password everywhere (and it leads to weaker
password to my mind as they know they'll have to type it 10,20 ... 100 times a
day).&lt;/p&gt;
&lt;p&gt;In order to be able to support SSO the following &lt;a href=&quot;http://blog.matws.net/public/Download/patchs/adLDAP_enable_sso.patch&quot; hreflang=&quot;en&quot;&gt;patch&lt;/a&gt; is
needed and the use of mod_auth_kerberos.&lt;/p&gt;
&lt;p&gt;The patch enable SASL bind in AdLDAP (the library used by dokuwiki for doing
Active Directory lookup), as most SASL implementation know how to use Kerberos
(well GSSAPI). This implementation know also how to request additional tickets
(if delegation is authorized) so that additional connexion can be done without
asking the user to (re)enter its password.&lt;/p&gt;
&lt;p&gt;I also created a &lt;a href=&quot;https://sourceforge.net/apps/trac/adldap/ticket/13&quot; hreflang=&quot;en&quot;&gt;ticket&lt;/a&gt;
in AdLDAP's request tracker so that hopefully this patch will become
mainstream.&lt;/p&gt;</description>
    
          <enclosure url="http://blog.matws.net/public/Download/patchs/adLDAP_enable_sso.patch"
      length="2881" type="text/plain" />
    
    
          <comments>http://blog.matws.net/post/2011/07/08/SSO-for-dokuwiki#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/07/08/SSO-for-dokuwiki#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/619569</wfw:commentRss>
      </item>
    
  <item>
    <title>Wammu on mac</title>
    <link>http://blog.matws.net/post/2011/01/08/Wammu-on-mac</link>
    <guid isPermaLink="false">urn:md5:5517f643cac93a533c940b34f87080c3</guid>
    <pubDate>Sat, 08 Jan 2011 00:12:00 +0300</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;I lately discovered &lt;a href=&quot;http://wammu.eu&quot; hreflang=&quot;en&quot;&gt;Wammu&lt;/a&gt;, if
you need to synchronize contacts between your computer and your phone (not a
too fancy one like iphone or any android one's) then you might be interested
with it.&lt;/p&gt;
&lt;p&gt;This &lt;a href=&quot;http://www.dedoimedo.com/computers/cellphone-sync.html&quot; hreflang=&quot;en&quot;&gt;guide&lt;/a&gt; explain clearly how to install it so won't do it twice.
Nevertheless for those who wants to use it on a mac, there is no available
binary distribution or there wasn't. Lately I fixed it and it's available
&lt;a href=&quot;http://blog.matws.net/public/Download/Gammu-1.28.95-Darwin.dmg&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt;.
This DMG should work for OS X 10.4 and upper (at least it has been tested on
Tiger and Snowleopard).&lt;/p&gt;
&lt;p&gt;In order to get it on mac you'll need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.matws.net/public/Download/Gammu-1.28.95-Darwin.dmg&quot; hreflang=&quot;en&quot;&gt;Wammu
1.28.95&lt;/a&gt; in DMG format&lt;/li&gt;
&lt;li&gt;Python 2.6 (in standard on Snowleopard, for others have a look at python
release &lt;a href=&quot;http://www.python.org/download/releases/&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Wxpython (on more time standard in Snowleopard, for others it's &lt;a href=&quot;http://wxpython.org/download.php#stable&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt;, be sure to
take a version compiled for python 2.6 ...)&lt;/li&gt;
&lt;li&gt;A recent version of wammu, why not the version &lt;a href=&quot;http://dl.cihar.com/wammu/v0/wammu-0.35.zip&quot; hreflang=&quot;en&quot;&gt;0.35&lt;/a&gt; !&lt;/li&gt;
&lt;li&gt;A &lt;a href=&quot;http://blog.matws.net/public/Download/patchs/wammu.patch&quot; hreflang=&quot;en&quot;&gt;patch&lt;/a&gt; for
making wammu more friendly&lt;/li&gt;
&lt;li&gt;A &lt;a href=&quot;http://blog.matws.net/public/Download/Wammu.sh&quot; hreflang=&quot;en&quot;&gt;script&lt;/a&gt; for starting
Wammu&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Install the different DMGs, then unzip the wamm-0.35.zip in your home folder
and put there the patch and the script. To start just click on Wammu.sh
icon.&lt;/p&gt;
&lt;p&gt;If you did everything correctly wammu should start, if not well try more
!&lt;/p&gt;
&lt;p&gt;The trickiest part is to connect your mac and your phone, as the method used
in this &lt;a href=&quot;http://www.dedoimedo.com/computers/cellphone-sync.html&quot; hreflang=&quot;en&quot;&gt;guide&lt;/a&gt; for the phone port didn't work. Instead select the
serial emulation solution like pictured below (in my case I need AT over serial
line which might be or might not be your case ...) &lt;img src=&quot;http://blog.matws.net/public/wammu/wammu1.png&quot; alt=&quot;wammu1.png&quot; title=&quot;wammu1.png, Jan 2011&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Then pair your computer with your phone, once paired, open the bluetooth
preferences depending on the version of your mac it will look like this on
Snowleopard: &lt;img src=&quot;http://blog.matws.net/public/wammu/btmac1.png&quot; alt=&quot;btmac1.png&quot; title=&quot;btmac1.png, Jan 2011&quot; /&gt;&lt;/p&gt;
&lt;p&gt;And like this on Tiger: &lt;img src=&quot;http://blog.matws.net/public/wammu/btmac1bis.png&quot; alt=&quot;btmac1bis.png&quot; title=&quot;btmac1bis.png, Jan 2011&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Then click on the Gear symbol or on &lt;em&gt;change serial ports&lt;/em&gt;, an
approaching window should open:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;http://blog.matws.net/public/wammu/btmac2.png&quot; alt=&quot;btmac2.png&quot; title=&quot;btmac2.png, Jan 2011&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Note down the name for &lt;em&gt;serial port&lt;/em&gt; service (here it's
C5212-SerialPort in my example), from the name we can derive the name of the
device that you have to specify for Wammu. The device has the following name:
&lt;code&gt;/dev/tty.&amp;lt;NAME&amp;gt;&lt;/code&gt;. At least SnowLeopard is kind enough to give
you the full name for Tiger you have to work it out.&lt;/p&gt;
&lt;p&gt;Once you have the name of the device, go back to Wammu, hit the next button
and fill the field with the name of the device so that it looks like this:
&lt;img src=&quot;http://blog.matws.net/public/wammu/wammu2.png&quot; alt=&quot;wammu2.png&quot; title=&quot;wammu2.png, Jan 2011&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2011/01/08/Wammu-on-mac#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2011/01/08/Wammu-on-mac#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/575879</wfw:commentRss>
      </item>
    
  <item>
    <title>Correct magic mouse scrolling on Linux</title>
    <link>http://blog.matws.net/post/2010/10/16/Correct-magic-mouse-scrolling-on-Linux</link>
    <guid isPermaLink="false">urn:md5:2d7c43b4bbf378c00fbc23c143eeed6a</guid>
    <pubDate>Sat, 16 Oct 2010 16:04:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;If you're like me you have a magic mouse and you use it under Linux you
might have noticed that the scrolling is desperately slow.&lt;/p&gt;
&lt;p&gt;A couple of modification made by guys of Ubuntu in May/June should have an
impact on it.&lt;/p&gt;
&lt;p&gt;Namely this two parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;scroll-speed&lt;/li&gt;
&lt;li&gt;scroll-acceleration&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default scroll-speed has a value of 32 in a range of 0-63 which is
definitely not enough, I found that 45 is ok if used with scroll-acceleration
otherwise you have to use more than 50. The parameter scroll-acceleration is
not very clear, my understanding is that if you make a small scroll move the
scrolling will be small but if you make a a bigger one the scrolling effect
will be greatly amplified (it's particularly true if you start or stop from the
very top of the mouse).&lt;/p&gt;
&lt;p&gt;To test your parameter in order to get the value that suits your need do the
following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;rmmod hid_magicmouse;modprobe hid_magicmouse scroll-speed=45
scroll-acceleration=1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Try different value for scroll-speed in order to get the best value that
suits your need.&lt;/p&gt;
&lt;p&gt;Once it's ok, create a file in &lt;em&gt;/etc/modprobe.d&lt;/em&gt; called
&lt;em&gt;magicmouse.conf&lt;/em&gt; with the following content:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;options hid_magicmouse scroll-speed=45
scroll-acceleration=1&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Of course change 45 for the value you estimated before.&lt;/p&gt;
&lt;p&gt;Enjoy !&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2010/10/16/Correct-magic-mouse-scrolling-on-Linux#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2010/10/16/Correct-magic-mouse-scrolling-on-Linux#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/554912</wfw:commentRss>
      </item>
    
  <item>
    <title>Misc notes about truecrypt</title>
    <link>http://blog.matws.net/post/2009/12/07/Misc-notes-about-truecrypt</link>
    <guid isPermaLink="false">urn:md5:27a0bb43a8f161b40842f4f88db2e3ec</guid>
    <pubDate>Mon, 07 Dec 2009 00:54:00 +0300</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;Truecrypt is a very handy tool for disk encryption, but it lacks for an
enterprise use the capacity to have a remote rescue mode. It's a kind of second
&lt;strong&gt;very&lt;/strong&gt; complicated password that you will dictate to the user
when he was s****** enough to forgot his boot password.&lt;/p&gt;
&lt;p&gt;Well the good news with free software it's that you can always do something
as you have the source code. And in the case of Truecrypt it turns out that it
seems not so complicated. Here are my notes for someone (maybe me) who wants to
add this option.&lt;/p&gt;
&lt;p&gt;In Boot/Windows/BootMain.cppBoot/Windows/BootMain.cpp (to support dual
password that's all that is needed)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make OpenVolume read 2 sector instead of 1&lt;/li&gt;
&lt;li&gt;Try to read each sector to see if the entered password correspond to one of
the two sector&lt;/li&gt;
&lt;li&gt;In repair menu define the offset for the second sector holding rescue/admin
encoded key&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In Common/BootEncryption.cpp (so that when creating the volume a second
password can be added)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Make Prepare installation create two volume header (one with the normal
password and one for rescue/admin)&lt;/li&gt;
&lt;li&gt;Make InstallVolumeHeader install the two volume header&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And a few things for password but I didn't investigated much (yet).&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/12/07/Misc-notes-about-truecrypt#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/12/07/Misc-notes-about-truecrypt#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/465421</wfw:commentRss>
      </item>
    
  <item>
    <title>Openvpn GUI improvments</title>
    <link>http://blog.matws.net/post/2009/09/21/Openvpn-GUI</link>
    <guid isPermaLink="false">urn:md5:b22b5bcb781f0a1399c62550e1bb0372</guid>
    <pubDate>Mon, 21 Sep 2009 22:56:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;&lt;a href=&quot;http://www.openvpn.org&quot;&gt;Openvpn&lt;/a&gt; is a great VPN tool and further
more it has client for Linux, Mac OsX and Windows. The latter has also a simple
GUI that allow people less familiar with computer to use a VPN.&lt;/p&gt;
&lt;p&gt;Unfortunately I found the current version 1.0.3 too limited when dealing
with a user with limited right (ie. without administrative rights) so I
produced a version 1.0.4 that provide the following improvements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;allow unlimited timeout for the pre-connection script (useful when
prompting a user for password)&lt;/li&gt;
&lt;li&gt;provide a better feedback to the user on the real status of the connection
when using service managed connections&lt;/li&gt;
&lt;li&gt;allow to run post connection script per connection when using service
managed connection&lt;/li&gt;
&lt;li&gt;allow to run a post non connection script per connection when using service
managed connection (that is when a connection is though to be
unsuccessful)&lt;/li&gt;
&lt;li&gt;allow service to be terminated on user logoff or on suspend&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I attached to this entry the binary openvpn-gui-1.0.4.exe, the patch from
1.0.3 to 1.0.4 and also a patch to allow to crosscompile openvpn on linux using
mingw32 crosscompile environment.&lt;/p&gt;</description>
    
          <enclosure url="http://blog.matws.net/public/Download/openvpn/openvpn-1.0.4.patch"
      length="37884" type="text/plain" />
          <enclosure url="http://blog.matws.net/public/Download/openvpn/crosscompile"
      length="1748" type="text/plain" />
          <enclosure url="http://blog.matws.net/public/Download/openvpn/openvpn-gui-1.0.4-en.exe"
      length="108032" type="application/octet-stream" />
    
    
          <comments>http://blog.matws.net/post/2009/09/21/Openvpn-GUI#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/09/21/Openvpn-GUI#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/443639</wfw:commentRss>
      </item>
    
  <item>
    <title>Making DHCP interim still work when bind9 only accept signed requests</title>
    <link>http://blog.matws.net/post/2009/09/06/Making-DHCP-interim-still-work-when-bind9-only-accept-signed-requests</link>
    <guid isPermaLink="false">urn:md5:616decf6e3e379109dbc995aeba5559f</guid>
    <pubDate>Sun, 06 Sep 2009 17:34:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>&lt;p&gt;Having workstations names updated in the DNS is quite cool and very usefull
(the more you use it the more it becomes important to you ...).&lt;/p&gt;
&lt;p&gt;The problem is that once you active DDNS update directly from Windows
workstations like it's describe &lt;a href=&quot;http://blog.matws.net/post/2009/09/06/DDNS%2C-Bind9-and-MS-Active-Directory&quot;&gt;here&lt;/a&gt; or &lt;a href=&quot;http://blog.matws.net/post/2009/09/03/DDNS-with-Windows-and-Samba4&quot;&gt;here&lt;/a&gt; it that it usually
breaks DHCP interim updates (also known as the second way to make DDNS update
works).&lt;/p&gt;
&lt;p&gt;You might wonder, why bother to use DDNS update from the workstation if we
can achieve it from the DHCP server ?&lt;/p&gt;
&lt;p&gt;Well it's simply because sometimes you have resources which IP address is
not defined by DHCP server (ie. fixed IP workstations or servers or most
important: workstations connected through VPN). We can also wonder why use DHCP
interim if DDNS from workstation work, well it's because not all the
workstation are for the moment able to update their DHCP records (ie. Mac OsX,
Linux, printers, ...).&lt;/p&gt;
&lt;p&gt;So you sometimes you want to take the best of the both world, the good news
is that it's possible and it's even not very complicated !&lt;/p&gt;    &lt;p&gt;This small guide suppose that you have already DHCP interim that was working
before you decided to activate signed DDNS (that are used by the Windows
workstations), if not please check on this internet for guides like &lt;a href=&quot;http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/&quot; hreflang=&quot;en&quot;&gt;this one&lt;/a&gt; or &lt;a href=&quot;http://www.debian-administration.org/article/Configuring_Dynamic_DNS__DHCP_on_Debian_Stable&quot; hreflang=&quot;en&quot;&gt;this one&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why DHCP Interim has to be disactivated when signed DDNS is used
?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;So most of the tutorial about DHCP DDNS use a configuration like this to
authorize updates from the DHCP server:&lt;/p&gt;
&lt;pre&gt;
  allow-update { key dhcpupdate; };
&lt;/pre&gt;
&lt;p&gt;But Bind9 do not accept both &lt;em&gt;allow-update&lt;/em&gt; and
&lt;em&gt;update-policy&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The solution&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The solution is to migrate from allow-update to update-policy to do so you
have to add something like that to the &lt;em&gt;update-policy&lt;/em&gt; for your DNS
zone: grant dhcp.example.org subdomain example.org A AAAA; so that the whole
thing looks like:&lt;/p&gt;
&lt;pre&gt;
   update-policy {
        grant dhcp.example.org  subdomain example.org A AAAA;
        grant EXAMPLE.ORG ms-self * A AAAA;
   };
&lt;/pre&gt;
&lt;p&gt;Once that done you have to search for the definition of the dhcp update key
(here &lt;em&gt;dhcpupdate&lt;/em&gt; in my example) and replace it to dhcp.example.org
(where example.org is your DNS domain). Usually tutorials propose to create a
separate file for storing the key or propose to add a &lt;em&gt;key&lt;/em&gt; stanza in
the named.conf. Anyhow you have to change it to have something like this:&lt;/p&gt;
&lt;pre&gt;
key dhcp.example.org {
  algorithm hmac-md5;
  secret &amp;quot;YOURKEYGOESHERE&amp;quot;;
};
&lt;/pre&gt;
&lt;p&gt;The last step is to modify the &lt;em&gt;dhcpd.conf&lt;/em&gt; to replace all the
occurrence of old key name to the new one (ie dhcpupdate to dhcp.example.org).
Last note: if your dhcp server is on a different server than the DNS server
&lt;strong&gt;and&lt;/strong&gt; that the key is stored in a separate file then you need to
modify the name of the key in this file as well.&lt;/p&gt;
&lt;p&gt;Once every thing is modified you have to restart dhcpd and bind9 and
everything should work (you can verify as your mileage can vary ...)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/09/06/Making-DHCP-interim-still-work-when-bind9-only-accept-signed-requests#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/09/06/Making-DHCP-interim-still-work-when-bind9-only-accept-signed-requests#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/437923</wfw:commentRss>
      </item>
    
  <item>
    <title>DDNS, Bind9 and MS Active Directory</title>
    <link>http://blog.matws.net/post/2009/09/06/DDNS%2C-Bind9-and-MS-Active-Directory</link>
    <guid isPermaLink="false">urn:md5:8e8b71b707c374107cf38ff25fe44071</guid>
    <pubDate>Sun, 06 Sep 2009 16:54:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;If you are interested to make Bind9 accept DDNS request directly from
Windows workstation (XP, Vista, Seven) or server (2003, 2008, ...) the way
proceed is not much different from &lt;a href=&quot;http://blog.matws.net/post/2009/09/03/DDNS-with-Windows-and-Samba4&quot;&gt;this one&lt;/a&gt;. So reading the
howto of Samba4 about DDNS is a good starting point.&lt;/p&gt;
&lt;p&gt;The only difference is that by default you do not have an access to the DNS
keytab. Hopefully this &lt;a href=&quot;https://lists.isc.org/pipermail/bind-users/2008-December/074311.html&quot; hreflang=&quot;en&quot;&gt;email&lt;/a&gt; give all the needed informations, you need to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a user into your active directory, I suggest bind9 as the login name
and also as first name and make the password not to expire (&lt;em&gt;Password never
expire&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;Modify the &lt;em&gt;/etc/bind/named.conf.option&lt;/em&gt; so that the entry
&lt;em&gt;tkey-gssapi-credential&lt;/em&gt; contains &amp;quot;DNS/bind9.example.org&amp;quot;;&lt;/li&gt;
&lt;li&gt;Use ktpass to extract the credentials as a keytab:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;
ktpass -out dns.keytab -princ DNS/bind9.example.org@EXAMPLE.ORG -pass * -mapuser bind@example.org
&lt;/pre&gt;
&lt;p&gt;Of course you should adapt example.org and EXAMPLE.ORG to the name of your
AD realm ...&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/09/06/DDNS%2C-Bind9-and-MS-Active-Directory#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/09/06/DDNS%2C-Bind9-and-MS-Active-Directory#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/437919</wfw:commentRss>
      </item>
    
  <item>
    <title>DDNS with Windows and Samba4</title>
    <link>http://blog.matws.net/post/2009/09/03/DDNS-with-Windows-and-Samba4</link>
    <guid isPermaLink="false">urn:md5:7090c18633de300a4758496167305968</guid>
    <pubDate>Thu, 03 Sep 2009 17:15:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>Samba4</category>
            
    <description>    &lt;p&gt;I recently tried Dynamic DNS updates (aka DDNS) with Windows XP (but that's
valid for anything newer) and Samba4. Globaly the explaination that &lt;a href=&quot;http://wiki.samba.org/index.php/Samba4/HOWTO#Step_8_.28Optional.29:_Configure_Server-side_DNS&quot; hreflang=&quot;en&quot;&gt;comes&lt;/a&gt; with Samba4 are good but I noted a few points that need
to be tweaked (or checked at least) to be sure that it works.&lt;/p&gt;
&lt;h2&gt;Activate signed DDNS updates&lt;/h2&gt;
&lt;p&gt;Once you configured the bind server accordingly with the documentation, it
will only accept signed updates. On my test systems it turns out that XP didn't
send signed updates by default.&lt;/p&gt;
&lt;p&gt;To change this you have two choices:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use GPO&lt;/li&gt;
&lt;li&gt;Use local policy editor, this choice is not recommended as the modification
has to be done on every workstation in the domain but for testing it's just
fine !&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To change the DDNS parameters you have to go in Computer Configuration -&amp;gt;
Administrative templates -&amp;gt; Network -&amp;gt; DNS Client, if the choice is not
present it's mostly likely that you miss the needed adm file (system.adm) they
can be found &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?familyid=92759d4b-7112-4b6c-ad4a-bbf3802a5c9b&amp;amp;displaylang=en&quot; hreflang=&quot;en&quot;&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then enable &lt;em&gt;Dynamic Update&lt;/em&gt; and &lt;em&gt;Update Security Level&lt;/em&gt; (set
the latter to &lt;em&gt;Only Secure&lt;/em&gt; or &lt;em&gt;Unsecure followed by Secure&lt;/em&gt;)
select also &lt;em&gt;Register PTR Records&lt;/em&gt; if you want PTR record as well. If
you choose the GPO way you have to wait for the workstation to update its
policy (well you can help it with &lt;strong&gt;gpupdate /force&lt;/strong&gt;).&lt;/p&gt;
&lt;h2&gt;Configure correctly the reverse zone&lt;/h2&gt;
&lt;p&gt;Check the SOA record of your reverse zone, the primary name server
&lt;strong&gt;must&lt;/strong&gt; be valid an point to your DNS server (the DNS server is
the name just after SOA in the record). To check use dig on any ip address of
your zone (here my range is 10.6.1.0/24 with the dns server at 10.6.1.1)
:&lt;strong&gt;dig 1.1.6.10.in-addr.arpa. SOA @10.6.1.1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You should get something similar to this&lt;/p&gt;
&lt;pre&gt;
; &amp;lt;&amp;lt;&amp;gt;&amp;gt; DiG 9.5.1-P2 &amp;lt;&amp;lt;&amp;gt;&amp;gt; 1.1.6.10.in-addr.arpa. SOA @10.6.1.1
;; global options:  printcmd
;; Got answer:
;; -&amp;gt;&amp;gt;HEADER&amp;lt;&amp;lt;- opcode: QUERY, status: NOERROR, id: 4956
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;1.1.6.10.in-addr.arpa.         IN      SOA

;; AUTHORITY SECTION:
1.6.10.in-addr.arpa.    604800  IN      SOA     test.smb4.tst. root.localhost. 2009090320 172800 14400 3628800 604800

;; Query time: 2 msec
;; SERVER: 10.6.1.1#53(10.6.1.1)
;; WHEN: Thu Sep  3 19:07:17 2009
;; MSG SIZE  rcvd: 103

&lt;/pre&gt;
&lt;h2&gt;Test, test and test&lt;/h2&gt;
&lt;p&gt;The easiest way to test is to use ipconfig like this &lt;strong&gt;ipconfig
/registerdns&lt;/strong&gt;, it will force a Windows to update its DNS records in the
DNS server.&lt;/p&gt;
&lt;p&gt;Note: &lt;a href=&quot;http://support.microsoft.com/kb/307882&quot; hreflang=&quot;en&quot;&gt;This&lt;/a&gt; KB from Microsoft explains quite well what are the option for the
DNS client in case that you had specials constraints.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/09/03/DDNS-with-Windows-and-Samba4#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/09/03/DDNS-with-Windows-and-Samba4#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/437136</wfw:commentRss>
      </item>
    
  <item>
    <title>Updating wireshark dissectors</title>
    <link>http://blog.matws.net/post/2009/08/16/Updating-wireshark-dissectors</link>
    <guid isPermaLink="false">urn:md5:79b012462dad16025315da2520b66856</guid>
    <pubDate>Sun, 16 Aug 2009 11:24:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;Last weeks I've been pretty busy on wireshark dissectors.&lt;/p&gt;
&lt;p&gt;Apart from some small modifications in the NTLMSSP dissector, I've been
working hard on DCE/RPC dissector for netlogon.&lt;/p&gt;
&lt;p&gt;Both lastest patches for this are attached to this entry.&lt;/p&gt;</description>
    
          <enclosure url="http://blog.matws.net/public/Download/patchs/patch_netlogon_260709.gz"
      length="22728" type="application/x-gzip" />
          <enclosure url="http://blog.matws.net/public/Download/patchs/patch_ntlm_260709.gz"
      length="16132" type="application/x-gzip" />
    
    
          <comments>http://blog.matws.net/post/2009/08/16/Updating-wireshark-dissectors#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/08/16/Updating-wireshark-dissectors#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/426996</wfw:commentRss>
      </item>
    
  <item>
    <title>me @ twitter</title>
    <link>http://blog.matws.net/post/2009/06/25/me-twitter</link>
    <guid isPermaLink="false">urn:md5:cd10486ac8bc00eca785debb0c9e1af8</guid>
    <pubDate>Thu, 25 Jun 2009 00:15:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;As a lot of people I just created an account on &lt;a href=&quot;http://twitter.com/ekacnet&quot;&gt;twitter&lt;/a&gt; ! Let see !&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/06/25/me-twitter#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/06/25/me-twitter#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/413201</wfw:commentRss>
      </item>
    
  <item>
    <title>NTLMSSP 2</title>
    <link>http://blog.matws.net/post/2009/05/04/NTLMSSP-2</link>
    <guid isPermaLink="false">urn:md5:968e4b811f3227658520257e68b08e4d</guid>
    <pubDate>Mon, 04 May 2009 21:35:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;No it's not the sequel of a film, just an updated version of &lt;a href=&quot;http://blog.matws.net/post/2009/05/04/my&quot;&gt;/public/Download/patchs/patch_ntlm_040509&lt;/a&gt; patch for wireshark. This
version add the following updates&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for DCE/RPC with direct NTLMSSP auth&lt;/li&gt;
&lt;li&gt;Support for DCE/RPC with SPNEGO with NTLM auth mechanism&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I also started to work on the verfier verification (sic) but it didn't work
for DCE/RPC (I didn't get the right HMAC MD5), and I need also to find a way to
update information into wireshark to reflect the fact that MD5 (and also NT
challenge also in case no good password can be found).&lt;/p&gt;</description>
    
          <enclosure url="http://blog.matws.net/public/Download/patchs/patch_ntlm_040509"
      length="71912" type="text/plain" />
    
    
          <comments>http://blog.matws.net/post/2009/05/04/NTLMSSP-2#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/05/04/NTLMSSP-2#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/399535</wfw:commentRss>
      </item>
    
  <item>
    <title>Xerox 7232 &amp; Samba : Veni Vidi Vici</title>
    <link>http://blog.matws.net/post/2009/05/02/Xerox-7232-Samba-%3A-Veni-Vidi-Vici</link>
    <guid isPermaLink="false">urn:md5:c6b91a29e74e3f492fd273c61914780a</guid>
    <pubDate>Sat, 02 May 2009 00:35:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;Well almost ! Last week I've been chasing down problem(s) that prevented
this printer to work with samba, or more exactly to be served through samba
print server. It's reported &lt;a href=&quot;https://bugzilla.samba.org/show_bug.cgi?id=6296&quot;&gt;here&lt;/a&gt;, if you look at the
first comment you'll find some idea for the workaround.&lt;/p&gt;
&lt;p&gt;Basically the idea is to setup a printer locally give it the same shared
name as the one on server, then export the entry into .reg file, then you
define the driver for the printer on the server it will generate some error
messages but you can ignore them. Then open the server registry (through a XP
workstation for instance), load your exported registry entry into server
registry, safely ignore error message.&lt;/p&gt;
&lt;p&gt;Et voilà you can enjoy your shared printer on a samba server !&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/05/02/Xerox-7232-Samba-%3A-Veni-Vidi-Vici#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/05/02/Xerox-7232-Samba-%3A-Veni-Vidi-Vici#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/398881</wfw:commentRss>
      </item>
    
  <item>
    <title>Patch for NTLMSPP auth mechanism</title>
    <link>http://blog.matws.net/post/2009/04/25/Patch-for-NTLMSPP-auth-mechanism</link>
    <guid isPermaLink="false">urn:md5:c47762f4fe35269d74b4fadf8e267553</guid>
    <pubDate>Sat, 25 Apr 2009 18:00:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;I'm quite proud to produce here my first real patch for an opensource
project: Wireshark.&lt;/p&gt;
&lt;p&gt;The attached patch allow to decode LDAP traffic encoded using NTLMSSP
scheme. Even if now kerberos tends to be more and more used for
authentification and encryption (through GSSAPI), NTLM and NTLMSSP mechanism is
still used frequently by Microsoft products (either as a fallback when kerberos
is unavailable, or as the only secure choice like SPA mode in outlook).&lt;/p&gt;
&lt;p&gt;So I think that this patch will definitly be useful to others.&lt;/p&gt;
&lt;p&gt;The patch is attached to this entry ! (see bellow)&lt;/p&gt;</description>
    
          <enclosure url="http://blog.matws.net/public/Download/patchs/patch_ntlm"
      length="60316" type="text/plain" />
    
    
          <comments>http://blog.matws.net/post/2009/04/25/Patch-for-NTLMSPP-auth-mechanism#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/04/25/Patch-for-NTLMSPP-auth-mechanism#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/397095</wfw:commentRss>
      </item>
    
  <item>
    <title>Creating LDAP account in Outlook</title>
    <link>http://blog.matws.net/post/2009/03/15/Creating-LDAP-account-in-Outlook</link>
    <guid isPermaLink="false">urn:md5:42cbc87b213f4ed5badb053e99bfe79c</guid>
    <pubDate>Sun, 15 Mar 2009 19:19:00 +0300</pubDate>
    <dc:creator>mat</dc:creator>
        <category>MSNightmare</category>
            
    <description>    &lt;p&gt;I spent a few hours to improve &lt;a href=&quot;http://www.codeproject.com/KB/vbscript/Add_ldap_addrbook.aspx&quot;&gt;this&lt;/a&gt; script
to allow creation of multiple LDAP entries with login and password. The result
is here: &lt;a href=&quot;http://blog.matws.net/public/Download/outlook/addldap_v1.vbs&quot;&gt;addldap.vbs&lt;/a&gt;.
It fix some flaws of the previous scripts such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;only one ldap account&lt;/li&gt;
&lt;li&gt;user has a popup on next outlook startup&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It works perfectly with anonymous LDAP, but setting a password do not work
very well: you can pass an array representing the password obtained by a manual
setup.&lt;/p&gt;
&lt;p&gt;But It will only work with this account because the password is encoded
using DPAPI which use the user personal key to encrypt the data. Trying to
deploy this to other user will badly fails (as outlook will find the whole ldap
account broken).&lt;/p&gt;
&lt;p&gt;There is a way to mitigate this problem: when using SPA authentication
outlook will firt use the credential of the logged user before those supplied
in the account creation (if they are different). So if you want to have a non
anonymous access to LDAP and what the logged user to provide his credential you
just have to call the script and supply the username, an empty array as
password and set doSPA parameter to 1.&lt;/p&gt;
&lt;p&gt;I also discovered that unlike email accounts, LDAP accounts do not prompt
the user when the password is wrong. Which reduce the number of prompt the user
receive when a password has expired.&lt;/p&gt;
&lt;p&gt;At the end the only two cases where this script is useless are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;accessing an LDAP with a generic account&lt;/li&gt;
&lt;li&gt;accessing an LDAP that do not support SPA (aka NTLM authentication)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I guess those case are pretty rare (well I hope)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2009/03/15/Creating-LDAP-account-in-Outlook#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2009/03/15/Creating-LDAP-account-in-Outlook#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/337937</wfw:commentRss>
      </item>
    
  <item>
    <title>Putting all together</title>
    <link>http://blog.matws.net/post/2008/10/19/Putting-all-together</link>
    <guid isPermaLink="false">urn:md5:9d434af29907a97068eba755028557f8</guid>
    <pubDate>Sun, 19 Oct 2008 20:07:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
        <category>l4sus</category>
            
    <description>    &lt;p&gt;I have been busy last weeks making L4SUS more friendly or at least less
complicated !&lt;/p&gt;
&lt;p&gt;I am quite happy of what I acheived so far. As the title says I put
everything together to make a real install guide and some documentation.&lt;/p&gt;
&lt;p&gt;All of this is the 0.1 release you will need the zip and the tar file
because it was easier to package one for windows and the other one for
Unix/Linux/....&lt;/p&gt;
&lt;p&gt;Enjoy !&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://blog.matws.net/public/Download/l4sus_0.10.zip&quot;&gt;l4sus_0.10.zip&lt;/a&gt; and &lt;a href=&quot;http://blog.matws.net/public/Download/l4sus_0.10.tar.gz&quot;&gt;l4sus_0.10.tar.gz&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2008/10/19/Putting-all-together#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2008/10/19/Putting-all-together#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/288496</wfw:commentRss>
      </item>
    
  <item>
    <title>Fighting with call progress tones</title>
    <link>http://blog.matws.net/post/2008/10/11/Fighting-with-call-progress-tones</link>
    <guid isPermaLink="false">urn:md5:781255dc3be1993284d6642e9f6f3fa2</guid>
    <pubDate>Sat, 11 Oct 2008 17:08:00 +0400</pubDate>
    <dc:creator>mat</dc:creator>
            
    <description>    &lt;p&gt;If you are like me a happy owner of any sippura (or now linksys spa) ata
device and you are not living in US, then configuring the regional part of the
device can be complicated. Especially the &amp;quot;Call Progress Tones&amp;quot; part.&lt;/p&gt;
&lt;p&gt;First you have to know that the real important part is the following
tones:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dial Tone&lt;/li&gt;
&lt;li&gt;Second Dial Tone&lt;/li&gt;
&lt;li&gt;Outside Dial Tone&lt;/li&gt;
&lt;li&gt;Prompt Tone&lt;/li&gt;
&lt;li&gt;Busy Tone&lt;/li&gt;
&lt;li&gt;Reorder Tone&lt;/li&gt;
&lt;li&gt;Off Hook Warning Tone&lt;/li&gt;
&lt;li&gt;Ring Back Tone&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All this tones use a rule with the following syntax:&lt;/p&gt;
&lt;pre&gt;
 freq1@db_level1,freq2@db_level2,...,freqn@db_leveln;
 num_seconds(frequency_sequence1,frequency_sequence2,...,frequency_sequencen)
&lt;/pre&gt;
&lt;p&gt;With &lt;em&gt;frequency_sequence&lt;/em&gt; with this syntax:
&lt;code&gt;num_seconds_on/num_seconds_off/frequencies&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;With this explainations 480@-19,620@-19;10(.5/.5/1+2) is quite simple to
understand it is a signal of two frequencies :&lt;br /&gt;
480Hz and 620Hz both at -19dB during 10 seconds both frequencies (due to 1+2)
will be played with this rhythm: half of second (.5) on and half of second
off.&lt;/p&gt;
&lt;p&gt;This more complicated one:
985@-16,1371@-16,1777@-16;*(.380/0/1,.274/0/2,.380/0/3,0/4/0) consists of 3
frequencies:&lt;br /&gt;
985Hz, 1371Hz and 1777Hz all at -16dB they will played forever (until status
change for instance ...) with the following rhythm: 985Hz during 0,380 seconds
then 1371Hz during 0,274 seconds then 1777Hz for 0,380 and finally no tone
during 4 seconds.&lt;/p&gt;
&lt;p&gt;If you are searching for the frequency for your country
&lt;em&gt;indications.conf&lt;/em&gt; from asterisk is your friend.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.matws.net/post/2008/10/11/Fighting-with-call-progress-tones#comment-form</comments>
      <wfw:comment>http://blog.matws.net/post/2008/10/11/Fighting-with-call-progress-tones#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.matws.net/feed/atom/comments/285560</wfw:commentRss>
      </item>
    
</channel>
</rss>
