When I got the LDAP addressbook lookup working I could never get the first name to show up in the search field. I had to change the "gn" in given name of the main.inc to "givenName" Here is a .diff I attached.
Oh this is when using OS X server's Open directory as your directory.