I am still having some problems with the iCal auto complete. My openldap server is setup in the Directory utility. I know it is working because I can autocomplete users that are only in the ldap server when creating a new email message.

I setup logging on the ldap server to watch the queries come in from iCal, from what I can tell, every thing is good. The ldap server appears to be returning the necessary information

I have included a snip from the slapd log that is generated when i begin typing a name into the "Attendees" field in iCal

Again, this use will autocomplete when "sally" is typed into Mail.

Is there perhaps some server side code I may be missing? Does anyone know the inner workings of ical and what may be causing my problems?


-Brandon

slapd.log
==========

Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 fd=15 ACCEPT from IP=10.41.41.2:52884 (IP=0.0.0.0:389) Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=0 SRCH base="" scope=0 deref=0 filter="(objectClass=*)" Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=0 SRCH attr=supportedSASLMechanisms namingContexts dnsHostName krbName Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=0 SEARCH RESULT tag=101 err=0 nentries=1 text= Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=1 SRCH base="cn=users,dc=od1,dc=testspot,dc=com" scope=2 deref=0 filter="(&(objectClass=inetOrgPerson)(objectClass=posixAccount) (objectClass=shadowAccount)(objectClass=apple-user) (objectClass=extensibleObject)(|(givenName=sally*)(sn=sally*)(| (uid=sally*)(cn=sally*))(cn=sally*)(mail=sally*)))" Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=1 SRCH attr=givenName sn uid cn apple-serviceslocator mail uidNumber apple- generateduid Jun 10 17:45:31 svbetest02 slapd[16808]: <= bdb_substring_candidates: (givenName) not indexed Jun 10 17:45:31 svbetest02 slapd[16808]: <= bdb_substring_candidates: (mail) not indexed Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=2 ABANDON msg=2
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=3 SRCH base="cn=resources,dc=od1,dc=testspot,dc=com" scope=2 deref=0 filter="(&(|(objectClass=apple-resource))(|(cn=sally*)(apple- realname=sally*)))" Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=3 SRCH attr=cn apple-serviceslocator apple-generateduid apple-resource-type Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=3 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=4 ABANDON msg=4
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=5 SRCH base="cn=groups,dc=od1,dc=testspot,dc=com" scope=2 deref=0 filter="(&(objectClass=posixGroup)(objectClass=apple-group) (objectClass=extensibleObject)(|(cn=sally*)(apple-group- realname=sally*)(mail=sally*)))" Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=5 SRCH attr=cn apple-serviceslocator mail apple-group-memberguid memberUid memberUid apple-group-nestedgroup apple-generateduid Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=5 SEARCH RESULT tag=101 err=0 nentries=0 text=
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=6 ABANDON msg=6
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=7 SRCH base="cn=computers,dc=od1,dc=testspot,dc=com" scope=2 deref=0 filter="(&(|(objectClass=apple-computer))(|(apple- generateduid=312395FC-363A-44D5-BA5D-98B178D5CD43)))" Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=7 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jun 10 17:45:31 svbetest02 slapd[16808]: conn=47 op=8 ABANDON msg=8




On Jun 4, 2008, at 10:02 AM, Brandon Evans wrote:

> First what you will need to do is figure out how to use Directory Utility > on the client machine to bind to your LDAP server. I am not exactly sure > what the LDAP server needs to be able to do in order for OD binding to work > - check the Apple Open Directory documentation online to see if there are
> hints there.
> Once you can bind to your LDAP server via Directory Utility you need to > setup the Computer record schema and user record attributes described here:

> <http://trac.calendarserver.org/browser/CalendarServer/trunk/doc/ical-schema.txt >

I was able to connect by ldap server using the Directory Utility, and the users do show up under the "People" tab in Directory with email addresses and phone numbers. Auto complete still does not work though. I am going to assume the issues are on the LDAP side and my ldap layout needs some attention.

Thanks for pointing me towards the ical-schema.txt, that should be very helpful.
I will let the list know what I find.

-Brandon
_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Reply via email to