LDAP and Omnibus package with external Apache server

I am using the Omnibus package with external Apache server and everything is working.

What i cannot succeed in is to login via LDAP (in my case FreeIPA).

I have a file /etc/gitlab/ldap_settings.yml with the content bellow:
main: label: 'FreeIPA' host: 'IP-addr' port: 389 uid: 'bind-user' method: 'plain' bind_dn: 'uid=bind-user,cn=users,cn=accounts,dc=doman-name' password: 'password' base: 'dc=domain-name'

In /etc/gitlab/gitlab.rb i have these lines:
gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load_file('/etc/gitlab/ldap_settings.yml')

gitlab-rake gitlab:ldap:check returns:
`Checking LDAP …

LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain

Checking LDAP … Finished
`

Here is a part of gitlab-ctl tail:
`==> /var/log/gitlab/unicorn/unicorn_stdout.log <==
I, [2016-04-05T12:24:01.287500 #29942] INFO – omniauth: (ldapmain) Callback phase initiated.
E, [2016-04-05T12:24:01.330810 #29942] ERROR – omniauth: (ldapmain) Authentication failure! invalid_credentials encountered.
I, [2016-04-05T12:24:55.908039 #29945] INFO – omniauth: (ldapmain) Callback phase initiated.
E, [2016-04-05T12:24:55.963495 #29945] ERROR – omniauth: (ldapmain) Authentication failure! invalid_credentials encountered.
I, [2016-04-05T12:45:50.333361 #30891] INFO – omniauth: (ldapmain) Callback phase initiated.
E, [2016-04-05T12:45:50.390566 #30891] ERROR – omniauth: (ldapmain) Authentication failure! invalid_credentials encountered.
I, [2016-04-05T12:46:15.173136 #30891] INFO – omniauth: (ldapmain) Callback phase initiated.
E, [2016-04-05T12:46:15.224812 #30891] ERROR – omniauth: (ldapmain) Authentication failure! invalid_credentials encountered.
I, [2016-04-05T12:51:37.231472 #31804] INFO – omniauth: (ldapmain) Callback phase initiated.
E, [2016-04-05T12:51:37.285587 #31804] ERROR – omniauth: (ldapmain) Authentication failure! invalid_credentials encountered.

==> /var/log/gitlab/nginx/current <==
2016-04-04_19:52:40.15364 2016/04/04 22:52:37 [emerg] 9946#0: still could not bind()
2016-04-04_19:52:40.16420 2016/04/04 22:52:40 [emerg] 9950#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:40.66445 2016/04/04 22:52:40 [emerg] 9950#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:41.16483 2016/04/04 22:52:40 [emerg] 9950#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:41.66509 2016/04/04 22:52:40 [emerg] 9950#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:42.16546 2016/04/04 22:52:40 [emerg] 9950#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:42.66582 2016/04/04 22:52:40 [emerg] 9950#0: still could not bind()
2016-04-04_19:52:42.67680 2016/04/04 22:52:42 [emerg] 9953#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:43.17712 2016/04/04 22:52:42 [emerg] 9953#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2016-04-04_19:52:43.67737 2016/04/04 22:52:42 [emerg] 9953#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
`

I tried changing the UID to a numeric value but withoud success.