# THE LACK THEREOF

On Tuesdays I work from home for SWCA (my current employer). This gives me a chance to do code without being interrupted every 15 minutes by random things. Lately I've been working on the code behind our website re-design, which is pretty interesting. Today, however, I took an hour or two to set up a better Jabber server.

Up until now we've been using the more or less "default" jabber server provided by jabber.org. It is horrible to configure... I can generally figure out how to make things work, but couldn't for the life of me get conferencing going.

Then bright and early this morning I gave DJabberd another try. A previous half-hearted attempt had failed, but this time it worked wonderfully! I started with SixApart's example server, and then tweaked from there. It authenticates off of our Active Directory, and automatically adds all users who have logged in once to everyone else's buddy list. Now I only need to get the SSL certs working.

So I'm now doing Active Directory authentication in a couple places. I've made use of the Authen::Simple::ActiveDirectory module, which is fantastic. Authentication is as easy as:

use Authen::Simple::ActiveDirectory;

# ... given plaintext $user and$pass ...

my $auth = Authen::Simple::ActiveDirectory->new( host => 'phxserver.swcacorp.com', principal => 'swcacorp.com' ); if($auth->authenticate($user,$pass)) {
$cb->accept; } else {$cb->reject;
}


Perhaps even cooler is that the minimal interface to Authen::Simple makes it simple to swap out other authentication methods.

2019-07-17

2019-07-16

2019-06-07

2019-06-02

2019-04-06

2018-07-02

2018-06-30

... more changes