Authetication with SASL

Here we will see how to install TclSASL to be able to authenticate using SASL on the server.

  1. Install Cyrus SASL v2

    • from source

      wget ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.19.tar.gz
      tar -xzvf cyrus-sasl-2.1.19.tar.gz
      cd cyrus-sasl-2.1.19
      ./configure
      make
      make install

    • using apt

      apt-get install libsasl2 libsasl2-modules libsasl2-dev

  2. Install TclSASL

    • from source

      Download it:

      wget http://tkabber.jabber.ru/files/dependencies/tclsasl.tgz
      tar -xzvf tclsasl.tgz
      cd tclsasl-1.0.1/
      Now configure the compilation:
      • default
        ./configure
      • on Debian unstable
        ./configure --with-tcl=/usr/lib/tcl8.4/ --with-cyrus-sasl=/usr/
      • on Debian Woody
        ./configure --with-tcl=/usr/lib/tcl8.3/ --with-cyrus-sasl=/usr/
      Compile and install it:
      make
      echo package ifneeded sasl 1.0.1 \"[list load [file join \$dir libtclsasl1.0.1.so]]\" >>pkgIndex.tcl
      make install
      cp /usr/lib/sasl2/libsasldb.so.2.0.19 /usr/lib/libsasldb.so.2
      

    • using apt on Debian unstable

      Add Teopetuk's unofficial Debian APT repository if you don't have it. Then update the list of available packages:

      apt-get update
      Now you can download and install the program
      apt-get install tclsasl

    Check it's installed:
    tclsh
    % package require sasl
    1.0.1
    % exit

  3. Configure Tkabber

    When Tkabber is able to load TclSASL it shows a new tab on the Login Window. Check the SASL option to use SASL authentication.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

SASL Help

Compiles correctly but seem to be getting symbols error:

couldn't load file "/usr/lib/libtclsasl.so": /usr/lib/libtclsasl.so: undefined symbol: db_create

Ideas?

Debian Package

Debian package of tclsasl for unstable branch is available at http://sgolovan.nes.ru/debian/sid/.

Add

deb http://sgolovan.nes.ru/debian sid/

to /etc/apt/sources.list and use APT to fetch and install package tclsasl.

Syndicate content