Home Forums OS X Server and Client Discussion Questions and Answers Jaguar’s LDAP and Entourage

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #354725
    jgardner
    Participant

    According to https://www.afp548.com/Articles/Jaguar/ldapcontact.html , Entourage should be able to access email & phone number info from the Open Directory LDAP server; however, that is not my experience. Address Book and Mail.app work just fine, with or without the “cn=users,dc=mydomain,dc=edu” searchbase, but with or without the same searchbase, Entourage gives me an error “No entries in the directory service match the search criteria” for any search I perform. Anybody have any ideas?

    #354733
    jgardner
    Participant

    Using a searchbase of cn=users,dc=tamu,dc=edu doesn’t work in Entourage or Address Book. To get Entourage to work, I have to use “ou=People,o=Food Services,c=US” as a searchbase. Go figure.

    The trick is to run slapd in debug mode. Kill slapd, then run:

    /usr/libexec/slapd -d 1

    This will dump a bunch of crap to your screen. Do an LDAP search with Address Book sans searchbase, which should work. Then look in the crap on the screen for the line beginning “send_search_entry”. This line should contain the searchbase (ignoring the uid value) you need to use in Entourage. For example, mine read:

    => send_search_entry: dn=”uid=joyceh,ou=People,o=Food Services,c=US”

    Hope this helps somebody.

    #354734
    jgardner
    Participant

    One of my astute comrades discovered a nifty Java utility that will scan your LDAP server and give you a list of possible searchbases. Not as much fun as a debug log, but much more convenient. 😉
    http://www.iit.edu/%7Egawojar/ldap/index.html

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Comments are closed