LDAP: fix wrong hook name
Sharing: only determine path root if owner is available
Merge pull request #4487 from owncloud/ldap_fix_hook

Ldap fix hook