Open source is a wonderful thing

by Volker Weber

Why? Because you can fix things.

I was setting up a Jabber server yesterday. Ran into numerous Dibertesque roadblocks. Stupid policies that prevented everyone from doing the right thing. Get a mnemonic alias for an unwieldy hostname. Nope, can't do that. Get a subdomain on a hostname. Nope, that is not possible. A-ha.

So, in the end I had to create an island that does not talk to other servers. Not the right thing to do, but still works OK. Sort of.

I was hitting another road block. There was no way to search the JUD (Jabber user directory) using wildcards. It turned out to be a limitation of jud_search.c which simply does not check for wildcards. That makes sense if you have hundreds of thousand of users on a server. But not for me since I am only expecting hundreds or thousands.

So, I ended up fixing the source with this patch, recompiled in a breeze, restarted the server, and everyone is a happy camper.

Comments

Is there an updated patch for jud-0.5? AKA jud-ansi-c

And has this patch been submitted to the original authors of jud to perhaps add this option in as a makefile option for others? For servers with a small directory listing, this functionality is way to important to be without.

Jeremy, 2004-05-28

Recent comments

Volker Weber on Marshall Monitor II A.N.C. :: Erste Eindrücke at 08:07
Thomas Cloer on Marshall Monitor II A.N.C. :: Erste Eindrücke at 07:57
Matthias Lorz on The Neighbor’s Window :: Oscar Winning Short Film at 12:47
Volker Weber on The Neighbor’s Window :: Oscar Winning Short Film at 11:54
Fabio Peruzzi on The Neighbor’s Window :: Oscar Winning Short Film at 11:48
Fabio Peruzzi on The Neighbor’s Window :: Oscar Winning Short Film at 11:45
Horia Stanescu on The Neighbor’s Window :: Oscar Winning Short Film at 07:04
Martin Funk on The Neighbor’s Window :: Oscar Winning Short Film at 00:00
Sven Bühler on I am not ready for a foldable phone at 22:03
Andreas Imnitzer on The Neighbor’s Window :: Oscar Winning Short Film at 21:48
Roland Dressler on I am not ready for a foldable phone at 15:02
Daniel Seiler on I am not ready for a foldable phone at 13:51
Roland Dressler on I am not ready for a foldable phone at 12:55
Hubert Stettner on I am not ready for a foldable phone at 10:51
Matthias Welling on Tools and Weapons #nowreading at 09:05
Ingo Harpel on You may secretly be a Bing user at 20:01
Amy Blumenfield on Tools and Weapons #nowreading at 19:44
Horia Stanescu on You are famous on Botnet at 12:33
Volker Weber on You are famous on Botnet at 20:17
Dr. Kurt Glasner on You are famous on Botnet at 17:29
Mathias Ziolo on You are famous on Botnet at 14:12
Stephan Herz on You may secretly be a Bing user at 13:45
Volker Weber on Man stelle sich vor, es ist MWC, und keiner geht hin at 20:19
Andy Mell on Man stelle sich vor, es ist MWC, und keiner geht hin at 19:53
Volker Weber on You may secretly be a Bing user at 19:09

Ceci n'est pas un blog

I explain difficult concepts in simple ways. For free, and for money. Clue procurement and bullshit detection.

vowe

Contact
Publications
Stuff that works
Amazon Wish List
Frequently Asked Questions

rss feed  twitter  amazon

Local time is 21:22

visitors.gif

Paypal vowe