DJabberd-RosterStorage-AD is a project mainly written in Perl, it's free.
Djabberd plugin for auto population of roster with contacts extracted from Active Directory
DJabberd-RosterStorage-AD - auto population of roster with contacts extracted from Active Directory.
Example:
INSTALLATION
To install this module type the following:
perl Makefile.PL make make test make install
DEPENDENCIES
This module requires these other modules and libraries: Djabberd >= 0.84 Djabberd-Roster-SQLite >= 1 Net::LDAP
COPYRIGHT AND LICENCE
Copyright (C) 2009,2011 by Vladimir Lettiev
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.