I am trying to cut off access of an ldap user to samba server. Disabling password is not an option, since the user needs to maintain access to other services like Nextcloud which is connected to the same ldap directory. How would I achieve this?
This is how my ldap directory for this user looks like: