Update: I got the base DN to work by removing the uppercase letters from the CN/DN labels, i.e.: CN=Users,DC=ad,DC=company,DC=com --> cn=Users,dc=ad,dc=company,dc=com.
Now it doesn't seem to like my UID (local primary key): [http://pastebin.com/TNGBwprP](http://pastebin.com/TNGBwprP)
When I look at the AD attribute editor for my backend, both mail and uid are blank. I already have set the primary key to samaccountname as suggested in the docs and that seems to have gotten me past some errors, but the local primary key doesn't work with mail or uid or samaccountname.
So far here are my settings:
name: backend auth servers
bind dn: ad\administrator
max connections: 1000
primary key: samaccountname
local primary key: uid
server: auth1.company.com:636
server: auth2.company.com:636
base dn: dc=ad,dc=company,dc=com
use ssl: yes
enabled: yes
Test LDAP connection succeeds every time. Any ideas?