On Thursday 27 July 2006 12:02, Paul Howarth wrote: > Gary Stainburn wrote: > > Hi folks. > > > > I've configured an LDAP addressbook using the openldap-servers rpm and > > the tutorial at > > http://www.onlamp.com/pub/a/onlamp/2003/03/27/ldap_ab.html > > > > The server's configured and appears to be working, however I can't seem > > to use it. > > > > If I do a ldapsearch I see the two contacts I've added to the server. > > I have configured the Kaddressbook to use the LDAP directory and it shows > > both contacts and their details. > > > > However, in kmail composer when I click on Select the contacts are not > > there, even when I choose the LDAP directory as the addressbook to use. > > > > When I try to use Outlook 2003 or Outlook Express I have the same problem > > in that I don't see any contacts. > > > > Could anyone point me to any possible reasons for this, or how to fix it? > > slapd sends query details to syslog; add the following to > /etc/syslog.conf to have ldap logs written to /var/log/ldaplogs: > > # slapd logs to local4 > local4.* /var/log/ldaplogs > > You'll be able to see what the clients are doing in the logs, which > should help with debugging. > > Paul. Thanks for this Paul. The problem appears to be with the applications themselves. Kaddressbook does a full search as soon as it starts and works. KMail doesn't even connect to the LDAP server, even when forced to used the LDAP service. Outlook Express only seems to do a search if you go into Address Book -> Find People. It doesn't seem to want to just pull in the list as Kaddressbook does Outlook 2002 looks like it wants to work properly, but refuses to set the search base and ignores the values I put into the search base field in the config window. It therefore doesn't recieve any hits. Kaddressbook Jul 27 12:43:51 stan slapd[3348]: conn=38 fd=11 ACCEPT from IP=10.1.1.115:57617 (IP=0.0.0.0:389) Jul 27 12:43:51 stan slapd[3348]: conn=38 op=0 BIND dn="" method=128 Jul 27 12:43:51 stan slapd[3348]: conn=38 op=0 RESULT tag=97 err=0 text= Jul 27 12:43:51 stan slapd[3348]: conn=38 op=1 SRCH base="ou=addressbook,dc=example,dc=com" scope=1 deref=0 filter="(objectClass=*)" Jul 27 12:43:51 stan slapd[3348]: conn=38 op=1 SRCH attr=l cn description facsimileTelephoneNumber sn displayName givenName jpegPhoto mail mobile o pager homePhone postalCode st street telephoneNumber title uid Jul 27 12:43:51 stan slapd[3348]: conn=38 op=1 SEARCH RESULT tag=101 err=0 nentries=3 text= kmail <Nothing> OE (after doing Find People) Jul 27 12:46:33 stan slapd[3348]: conn=39 fd=11 ACCEPT from IP=10.1.1.25:1475 (IP=0.0.0.0:389) Jul 27 12:46:33 stan slapd[3348]: conn=39 op=0 BIND dn="" method=128 Jul 27 12:46:33 stan slapd[3348]: conn=39 op=0 RESULT tag=97 err=0 text= Jul 27 12:46:33 stan slapd[3348]: conn=39 op=1 SRCH base="ou=addressbook,dc=example,dc=com" scope=2 deref=3 filter="(|(mail=jim*) (cn=jim*))" Jul 27 12:46:33 stan slapd[3348]: conn=39 op=1 SRCH attr=display-name cn commonName mail otherMailbox givenName sn surname st c co organizationName o ou organizationalUnitName URL homePhone facsimileTelephoneNumber otherFacsimileTelephoneNumber OfficeFax mobile otherPager OfficePager pager info title telephoneNumber l homePostalAddress postalAddress streetAddress street department comment postalCode physicalDeliveryOfficeName initials conferenceInformation userCertificate;binary userSMIMECertificate;binary labeledURI Manager Reports IPPhone Jul 27 12:46:33 stan slapd[3348]: conn=39 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Jul 27 12:46:33 stan slapd[3348]: conn=39 op=2 UNBIND Jul 27 12:46:33 stan slapd[3348]: conn=39 fd=11 closed Outlook 2002 Jul 27 12:47:29 stan slapd[3348]: conn=40 fd=11 ACCEPT from IP=10.2.9.4:1072 (IP=0.0.0.0:389) Jul 27 12:47:29 stan slapd[3348]: conn=40 op=0 BIND dn="" method=128 Jul 27 12:47:29 stan slapd[3348]: conn=40 op=0 RESULT tag=97 err=0 text= Jul 27 12:47:30 stan slapd[3348]: conn=40 op=1 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Jul 27 12:47:30 stan slapd[3348]: conn=40 op=1 SRCH attr=objectClass supportedControl supportedCapabilities Jul 27 12:47:30 stan slapd[3348]: conn=40 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Jul 27 12:47:38 stan slapd[3348]: conn=40 op=2 UNBIND Jul 27 12:47:38 stan slapd[3348]: conn=40 fd=11 closed Jul 27 12:47:43 stan slapd[3348]: conn=41 fd=11 ACCEPT from IP=10.2.9.4:1073 (IP=0.0.0.0:389) Jul 27 12:47:43 stan slapd[3348]: conn=41 op=0 BIND dn="" method=128 Jul 27 12:47:43 stan slapd[3348]: conn=41 op=0 RESULT tag=97 err=0 text= Jul 27 12:48:12 stan slapd[3348]: conn=41 op=1 UNBIND Jul 27 12:48:12 stan slapd[3348]: conn=41 fd=11 closed -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list