Hello nikolas,
is it possible that you are using the OPEN i-doit version and work with multiple mandators? The first problem occurs, if one mandator has installed the LDAP module, but the second doesn't - You can re-install a module during a i-doit update.
For the second error you could try to update the necessary table field to allow "empty" values.
Best regards,
Leo