NC 13 + LDAP + "Logon to" AD limitation

Somebody ever tuneup Nextcloud + LDAP authorisation with Microsoft AD + Ad limits for “Logon to”.
I try to set this configuration over 2 weeks. And this didnt work. Ubuntu 16.04 allready domain member, Trying everything…

HELP!!!