[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problems access openldap from Mac OS X Address Book



1) Please don't email me off of the list.

2) This is not sufficient logging to see why the search is returning 0 entries. I would guess it is an ACL problem, since no entries were returned. Other possibilities include v2 vs. v3 binds.

--Quanah

--On Saturday, July 24, 2004 7:45 PM -0400 Russell Sutherland <russ@quist.ca> wrote:


On Jul 24, 2004, at 5:15 PM, Quanah Gibson-Mount wrote:



--On Saturday, July 24, 2004 4:13 PM -0400 Russell Sutherland
<russ@quist.ca> wrote:

I have an openldap server running under Debian/Linux. It serves
personal
information (e.g. email addresses) just fine
using the standard schemas:

# Schema and objectClass definitions
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema

I've had both Mozilla Thunderbird and Outlook Express using it as a
central source of data.
However I have not had any luck with the Mac OS X 10.3 (Panther)
Address
Book. It's configured
properly and I can see the queries coming over the network, but the
requests come back empty.

Has anyone been able to get the Address Book application to
inter-operate?
If so, how?

I suggest running slapd with a debug level of -1 (slapd -d -1) and seeing how things get evaluated.

Here's the ouput of slapd -d 256 when the address book application does a lookup for the token:

	Fred

# /usr/sbin/slapd -4 -d 256
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3,
2003)
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=11 ACCEPT from IP=10.1.2.100:51840 (IP=0.0.0.0:389)
conn=0 op=0 BIND dn="" method=128
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=quist,dc=ca" scope=0
filter="(|(givenName=Fred*)(sn=Fred*)(cn=Fred*)(mail=Fred*))"
conn=0 op=1 SRCH attr=givenName sn cn mail telephoneNumber
facsimileTelephoneNumber o title ou buildingName street l st postalCode c
jpegPhoto mobile co pager destinationIndicator
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text=
conn=0 op=2 UNBIND
conn=0 fd=11 closed

-----
Quist Consulting		Email: 	russ@quist.ca
219 Donlea Drive		Voice: 	+1.416.696.7600
Toronto ON  M4G 2N1	Cell: 	+1.416.803.0080
CANADA 				WWW:  	http://www.quist.ca




-- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html