First of all I will like to thank Peter Saint-Andre [stpeter@jabber.org] for all his help. This is a ldap authentication module using simple authentication , you can use this module to bind ur exsisting email users to jabber im . I got this module successfull running on jabber 1.4.1 with few hacks with Netscape Directory server using Netscape LDAP SDK 3.0 . HOWTO ----- 1. copy the mod_auth_ldap.c file to jsm/modules directory of ur jabber root directory 2. Edit the file and change the HOSTNAME and PORTNUMBER parameter poining to ur ldap server . 3.goto /jsm and edit Makefile pico Makefile comment out exsisting authectication moduels and add a entry in jsm_EXOBJECTS as follows jsm_EXOBJECTS = \ modules/mod_admin.o \ modules/mod_agents.o \ modules/mod_browse.o \ modules/mod_announce.o \ modules/mod_echo.o \ modules/mod_filter.o \ modules/mod_groups.o \ modules/mod_presence.o \ modules/mod_xml.o \ modules/mod_roster.o \ modules/mod_time.o \ modules/mod_vcard.o \ modules/mod_version.o \ modules/mod_log.o \ modules/mod_last.o \ modules/mod_offline.o \ modules/mod_auth_ldap.o comment out include statemnt at the top which inculdes platform settings and insert at top the foollowing lines not the library that should be added depends on library ur using for ldap in my case it was ldapssl30 Note: dont use sdk 4 ,5 librarys seemz to core dump in my case #!/bin/sh CC=gcc CFLAGS= -g -Wall -fPIC -I. -I.. -I/usr/local/include MCFLAGS= -shared LDFLAGS= -L/usr/local/lib LIBS= -lpth -ldl -lresolv -lldapssl30 SLIBS= /usr/local/lib/libpth.a /usr/lib/libresolv.a XLDFLAGS= -Wl,--export-dynamic PSUBDIR= PLINK= JHOME=/root/jab/jabber-1.4.1 4. goto /jsm/modules comment out exsisting authectication moduels and add a entry in jsm_modules_OBJECTS as follows: jsm_modules_OBJECTS=\ mod_admin.o \ mod_agents.o \ mod_browse.o \ mod_announce.o \ mod_echo.o \ mod_filter.o \ mod_groups.o \ mod_presence.o \ mod_xml.o \ mod_roster.o \ mod_time.o \ mod_vcard.o \ mod_version.o \ mod_log.o \ mod_last.o \ mod_offline.o \ mod_auth_ldap.o comment out include statemnt at the top which inculdes platform settings and insert at top the foollowing lines not the library that should be added depends on library ur using for ldap in my case it was ldapssl30 Note: dont use sdk 4 ,5 librarys seemz to core dump in my case #!/bin/sh CC=gcc CFLAGS= -g -Wall -fPIC -I. -I.. -I/usr/local/include MCFLAGS= -shared LDFLAGS= -L/usr/local/lib LIBS= -lpth -ldl -lresolv -lldapssl30 SLIBS= /usr/local/lib/libpth.a /usr/lib/libresolv.a XLDFLAGS= -Wl,--export-dynamic PSUBDIR= PLINK= JHOME=/root/jab/jabber-1.4.1 5. goto jabberroot edit jabber.xml as follwos comment out all exsitsting authentication modules add entry as follows in jsm section ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so ./jsm/jsm.so 6. goto /jsm copy the users.c from tar file downloaded overhere overwriting the exsisting users.c Okie now ur ready to compile the code got jabberroot make clean make and run jabberd If you find any problems in compiling or installing the ldap auth module u cn contact me on my email amithooja@dil.in java@datainfosys.net or on my msn id a_hooja@datainfosys.net I will find it my pleasure to help u guyz .