yes , when i also used # strings /var/www/cgi-bin/sqwebmail3/sqwebmail | grep -i ldap i got
ldaplist.c sqwebmail-ldapaddressbook ldapabook_add /usr/local/share/sqwebmail3/ldapaddressbook " /></td><td><font size="+1" class="ldaplist-name">%s</font><br /> <span class="tt"><font size="-2" class="ldaplist-ldapurl">ldap:// /usr/local/share/sqwebmail3/ldapsearch ldap " /></td><td><font size="+1" class="ldapsearch-name"> </font><font size="+1" class="ldapsearch-addr">< <span class="ldapsearch-misc"> LDAP ldapsearch ldapsearch.html Brain , I have recompiled the way you have done with the same version downloaded , but still no luck , every thing in sqwebmail works fine except the global address book search . Can you suggest something more ... regards Biswajit On Mon, 13 Oct 2003, Uros Slak wrote: > Hi, As I can se you are working on the same subject. > I can just add my strings output for webmail, where the path to config file and > to ldapsearch is correct, but the search does not work: > > # strings /var/www/cgi-bin/webmail | grep -i ldap > /etc/courier/ldapaddressbook > sqwebmail-ldapaddressbook > ldapabook_add > ldaplist.c > ldap > " /></td><td><font size="+1" class="ldaplist-name">%s</font><br /> &n > bsp;<span class="tt"><font size="-2" class="ldaplist-ldapurl">ldap:// > /opt/courier/share/sqwebmail/ldapsearch > " /></td><td><font size="+1" class="ldapsearch-name"> > </font><font size="+1" class="ldapsearch-addr">< > <span class="ldapsearch-misc"> > LDAP > ldapsearch > ldapsearch.html > > I would also like to add, tha if I add new ldap address book, it can not be > deleted any more! > > Regards > > Uros > > P.S. Do you think it has anything to do with the fact the I user courier.spec to > build rpms? > > > > > -----Original Message----- > From: Brian Candler [mailto:[EMAIL PROTECTED] > Sent: Monday, October 13, 2003 10:41 AM > To: Biswajit Banerjee > Cc: [EMAIL PROTECTED] > Subject: Re: [sqwebmail] Re: global address book search problem > > > On Mon, Oct 13, 2003 at 10:13:49AM +0530, Biswajit Banerjee wrote: > > Dear Brian, > > > > Thank for the advice .. > > as you suggested grep LDAPSEARCH sqwebmail/htmllibdir.h > > resulted as expected i.e /usr/local/share/sqwebmail3/ldapsearch > > but strings /var/www/cgi-bin/sqwebmail3/sqwebmail | grep ldap > > didnot out put any result. > > For me: > # strings sqwebmail | grep ldap > ldaplist.c > sqwebmail-ldapaddressbook > ldapabook_add > /etc/opt/sqwebmail/ldapaddressbook > " /></td><td><font size="+1" > class="ldaplist-name">%s</font><br/> <span class="tt"><font > size="-2" class="ldaplist-ldapurl">ldap:// > /usr/local/opt/sqwebmail/ldapsearch > ldap > " /></td><td><font size="+1" class="ldapsearch-name"> > </font><font size="+1" class="ldapsearch-addr">< > <span class="ldapsearch-misc"> > ldapsearch > ldapsearch.html > # > > > Any way can you tell me the sqwebmail version you are running and what was > > the env. you have compiled ..so that i can try at my end and see if it > > succied. > > 3.6.0.20030922 > > LDFLAGS="-L/usr/local/lib"; export LDFLAGS > CPPFLAGS="-I/usr/local/include"; export CPPFLAGS > ./configure \ > --prefix=${PREFIX}/sqwebmail \ > --sysconfdir=${CONFDIR}/sqwebmail \ > --with-piddir=${VARDIR}/sqwebmail/run \ > --localstatedir=${VARDIR}/sqwebmail \ > --datadir=${CONFDIR}/sqwebmail/share \ > --with-authdaemon \ > --with-authldap \ > --without-ipv6 \ > --without-authuserdb \ > --without-authpam \ > --without-authpwd \ > --without-authshadow \ > --without-authvchkpw \ > --without-authpgsql \ > --without-authmysql \ > --without-authcram \ > --without-authcustom \ > --with-mailuser=exim \ > --with-mailgroup=exim \ > --with-cachedir=${VARDIR}/sqwebmail/cache \ > --with-cacheowner=exim \ > --enable-https=auto \ > --enable-webpass=no \ > --enable-mimetypes=${PREFIX}/apache/conf/mime.types \ > --enable-imageurl=${WEBMAILIMAGEURL} \ > --enable-imagedir=${WEBMAILDOCDIR}${WEBMAILIMAGEURL} \ > --enable-cgibindir=${WEBMAILCGIDIR} \ > --enable-softtimeout=3600 \ > --disable-changepass \ > --with-fcgi \ > --without-gzip \ > && ${GMAKE} configure-check && ${GMAKE} && ${GMAKE} check > > Brian. > > > >
