tag:blogger.com,1999:blog-269688189640615970.post8840338230461972459..comments2022-03-27T09:17:01.536+05:30Comments on IndiMail: using openLDAP for addressbookcprogrammerhttp://www.blogger.com/profile/08835060559515671947noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-269688189640615970.post-16909473113591759162010-06-28T19:12:09.305+05:302010-06-28T19:12:09.305+05:30if you are getting access error, it means that you...if you are getting access error, it means that you have not put the correct access lines in your slapd.conf for anon access. The access directives are discussed in detail in slapd.access(5) man pagecprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-70444214046568779122010-06-28T17:08:11.476+05:302010-06-28T17:08:11.476+05:30Out put of
ldapsearch2.4 -x -b 'dc=cvteam,dc=...Out put of <br />ldapsearch2.4 -x -b 'dc=cvteam,dc=local' '(objectclass=*)'<br />is showing like this : <br /><br /># extended LDIF<br />#<br /># LDAPv3<br /># base with scope subtree<br /># filter: (objectclass=*)<br /># requesting: ALL<br />#<br /><br /># search result<br />search: 2<br />result: 50 Insufficient access<br /><br /># numResponses: 1<br /><br />is Result: 50 Insufficient access generating any problem.<br /><br />I am not adding contacts because of this errorChetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-1038458670997738362010-06-18T19:27:39.576+05:302010-06-18T19:27:39.576+05:30Good and well done!!. Now you should do man on lda...Good and well done!!. Now you should do man on ldapsearch(1) and learn how to do ldapsearch and search for an addressbook entry. If ldapsearch works, then your email client will also work.cprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-17716649615808154962010-06-18T17:35:29.384+05:302010-06-18T17:35:29.384+05:30yes, I have done it.
but as obvious issue remains...yes, I have done it.<br /><br />but as obvious issue remains. My email client is not showing addresses without searching.<br /><br />What could be the issue ?<br /><br />help me?Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-36717706468709180082010-06-18T15:28:06.595+05:302010-06-18T15:28:06.595+05:30Thanks Sir,
I am trying all resources.
I am agai...Thanks Sir,<br /><br />I am trying all resources.<br /><br />I am again let you know if getting problemChetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-22067601640703762982010-06-18T14:49:59.665+05:302010-06-18T14:49:59.665+05:30LDAP and indimail are not at all related.
LDAP is...LDAP and indimail are not at all related.<br /><br />LDAP is Light Weight Directory Access Protocol and it has nothing to do with IndiMail. You do not require LDAP to be configured for IndiMail to work. Neither do you require IndiMail for LDAP to work.<br /><br />You still have not configured access for anonymous bind and anonymous read. Unless you do that, you will continue to get<br /><br />result: 50 Insufficient access<br /><br />google and man slapd.conf(5) will be your friends. You need to define appropriate access in your slapd.conf<br /><br />I tried multiple resources on the web using google and all of them worked. Please use google to find results on "How to use LDAP for addressbook"<br /><br />I use openldap-2.4.21cprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-4648883296842865652010-06-18T14:40:04.911+05:302010-06-18T14:40:04.911+05:30I am not getting any single success to configure L...I am not getting any single success to configure LDAP address book.<br /><br />which version of ldap you are using ? <br /><br />is it necessary to integrate with indimail.<br /><br />this time I got following error<br /><br />result: 50 Insufficient accessChetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-73561455326113503532010-06-17T12:27:13.067+05:302010-06-17T12:27:13.067+05:30It means you don't have access to do anonymous...It means you don't have access to do anonymous bind. You need to do man on slapd.conf and put the right access control.<br /><br />In my ldap version, I had to put the following at the right place (just after the database definition)<br /><br />access to dn.subtree="ou=addressbook,dc=indimail,dc=org"<br />by anonymous auth<br />by self write<br />by users read<br />access to *<br />by anonymous auth<br />by self read<br />by users readcprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-79148266175924625212010-06-17T12:19:11.501+05:302010-06-17T12:19:11.501+05:30Result of
ldapsearch2.4 -x -b 'dc=indimail,dc...Result of <br />ldapsearch2.4 -x -b 'dc=indimail,dc=org' '(objectclass=*)'<br /><br />are <br /><br /># extended LDIF<br />#<br /># LDAPv3<br /># base with scope subtree<br /># filter: (objectclass=*)<br /># requesting: ALL<br />#<br /><br /># search result<br />search: 2<br />result: 50 Insufficient access<br /><br /># numResponses: 1Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-6043890882245125512010-06-15T22:12:47.978+05:302010-06-15T22:12:47.978+05:30then use your existing ldap installation and attem...then use your existing ldap installation and attempt to start by removing the schema that give error.<br /><br />Also hope that you have put<br />#!/bin/sh in the first line of the run filecprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-63745687076893025912010-06-15T21:40:46.061+05:302010-06-15T21:40:46.061+05:30I am trying to compile openldap 2.4.21, but depend...I am trying to compile openldap 2.4.21, but dependencies have big problem.Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-2844197078535396412010-06-15T11:52:44.412+05:302010-06-15T11:52:44.412+05:30have you managed to set it up?have you managed to set it up?cprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-18946947055195752202010-06-14T18:31:29.672+05:302010-06-14T18:31:29.672+05:30output is
exec /usr/sbin/slapd -u ldap -f /etc/op...output is<br />exec /usr/sbin/slapd -u ldap -f /etc/openldap/slapd.conf -d 0 2>&1Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-72003758461604722032010-06-14T18:30:19.311+05:302010-06-14T18:30:19.311+05:30/service/slapd.389/run /service/slapd.389/log/run .../service/slapd.389/run /service/slapd.389/log/run already have x permission & have already commented this schemas<br /><br />my openldap ver is 2.3.43 n i think it's latest <br /><br />I am using centos as OSChetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-70061662167102993912010-06-14T18:28:40.694+05:302010-06-14T18:28:40.694+05:30You are getting exec format error. Show me the out...You are getting exec format error. Show me the output of cat /service/slapd.389/runcprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-31667274378181619122010-06-14T18:25:57.080+05:302010-06-14T18:25:57.080+05:30check your openldap version which you have install...check your openldap version which you have installed. It is probably not the latest. In that case comment out the schema which is giving error.cprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-13251898607808405892010-06-14T18:24:02.427+05:302010-06-14T18:24:02.427+05:30do chmod +x /service/slapd.389/run /service/slapd....do chmod +x /service/slapd.389/run /service/slapd.389/log/runcprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-19257908669927638872010-06-14T18:04:26.244+05:302010-06-14T18:04:26.244+05:30/etc/init.d/ldap configtest
Checking configuration.../etc/init.d/ldap configtest<br />Checking configuration files for slapd: could not stat config file "/etc/openldap/schema/duaconf.schema": No such file or directory (2)<br />slaptest: bad configuration file!<br /> [FAILED]Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-33721056980264318852010-06-14T17:45:47.981+05:302010-06-14T17:45:47.981+05:30@400000004c161d3a021d197c supervise: fatal: unable...@400000004c161d3a021d197c supervise: fatal: unable to start slapd.389/run: exec format errorChetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-57652222309297815522010-06-14T14:39:11.225+05:302010-06-14T14:39:11.225+05:30what is the error you are getting?what is the error you are getting?cprogrammerhttps://www.blogger.com/profile/08835060559515671947noreply@blogger.comtag:blogger.com,1999:blog-269688189640615970.post-87381047407103004432010-06-14T14:28:59.666+05:302010-06-14T14:28:59.666+05:30I have go thorough this configuration but I cann&#...I have go thorough this configuration but I cann't get success to configure. I think some of configuration are missing.<br /><br />whenever i started the service an error of schema appears.Chetanneohttps://www.blogger.com/profile/12527349993931406294noreply@blogger.com