NextCloud integration with FreeIPA Server

Hi All,
I have NextCloud 12 and FreeIPA and i have a problem in the integration between NextCloud and FreeIPA,
i have followed what is stated in the NextCloud Documentation regarding this integration but the problem is that the NextCloud can not connect to LDAP Server,
i got the Error in the Logging of the NextCloud : " Configuration Error (prefix s01): login filter does not contain %uid place holder. "

I have wrote the BaseDN as below :

dc=server,dc=local

UserDN as below :

uid=admin,cn=admins,dc=server,dc=local

Note :
i can test the connection normally using telnet utility for the FreeIPA using the port number " 389 " and connection is successfully initiated.

Both NextCloud 12 and FreeIPA are Dockerized

The problem is solved by this document
https://www.freeipa.org/page/Owncloud_Authentication_against_FreeIPA