Disabling links when LDAP is enabled
Fixes #139