getent passwd outputs only local users
I had the same problem. In my case it turned out I forgot to install the libnss-winbind and libpam-winbind packages on Ubuntu.
Hope this helps someone looking here with this problem ;)
I used backend = ad
, which requires additional configuration on the AD server. What I really wanted is backend = rid
, everything works fine now.