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 Lenovo Smart Clock Essential at 21:51
David Guillaume on Lenovo Smart Clock Essential at 21:46
Richard Albury on No battery woes on Apple Watch 6 at 18:56
Stefan Pfeiffer on Apple Watch 6 :: Erste Eindrücke at 16:02
Eric Bredtmann on Leatherman Free T4 :: Das hat sich bewährt at 19:53
Volker Weber on Leatherman Free T4 :: Das hat sich bewährt at 19:36
Volker Weber on No battery woes on Apple Watch 6 at 19:25
Dominique Roller on Leatherman Free T4 :: Das hat sich bewährt at 17:03
Bernd Hofmann on No battery woes on Apple Watch 6 at 16:33
Jan Van Puyvelde on Lenovo Yoga Slim 7 i7/16/1000 :: Erste Eindrücke at 14:30
Volker Weber on Lenovo Yoga Slim 7 i7/16/1000 :: Erste Eindrücke at 13:37
Volker Weber on No battery woes on Apple Watch 6 at 13:34
Dominique Roller on No battery woes on Apple Watch 6 at 13:31
michael rother on Lenovo Yoga Slim 7 i7/16/1000 :: Erste Eindrücke at 06:40
Jan Van Puyvelde on Lenovo Yoga Slim 7 i7/16/1000 :: Erste Eindrücke at 02:22
Volker Weber on Der Solo Loop ist toll at 15:04
Manfred Wiktorin on Der Solo Loop ist toll at 13:32
Bernd Hofmann on Apple Watch 6 :: Erste Eindrücke at 12:11
Volker Weber on Apple Watch 6 :: Erste Eindrücke at 10:06
Sascha Westphal on Apple Watch 6 :: Erste Eindrücke at 08:30
Valentin Woelm on Apple Watch 6 :: Erste Eindrücke at 23:26
Jochen Kattoll on Scanning websites with Blacklight at 22:54
Markus Michalski on Jabra Firmware 2.4.5 for Evolve2 65 at 16:59
Matthias Welling on Scanning websites with Blacklight at 13:43
Stefan Sperling on Scanning websites with Blacklight at 13:41

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 00:26

visitors.gif

Paypal vowe