LDAP error durring upgrade from OC

Dear all

I’m trying to migrate from OC 9.1 to NC 10, and getting LDAP error as shown below. LDAP was working just fine in OC.

2016-09-05T13:14:49+00:00 Fix classification for calendar objects
2016-09-05T13:14:49+00:00 2016-09-05T13:14:49+00:00 admin 4:49+00:00 2016-09-05T13:14:49+00:00 nextcloud 0
2/0 [–>] 0% 2016-09-05T13:14:49+00:00 OC\ServerNotAvailableException: Connection to LDAP server could not be established
2016-09-05T13:14:49+00:00 Update failed
2016-09-05T13:14:49+00:00 Maintenance mode is kept active
2016-09-05T13:14:49+00:00 Reset log level

What distro and php version are you using?

php 7 on ubuntu 16.04
But we can close this, I forgot about php7.0-ldap
Now works.