Score:0

Deactivate user access to SAMBA file server in LDAP while maintaining access to other services

ru flag

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:

ldap sirectory - screenshot

Score:0
ar flag

From man smb.conf:

invalid users (S)
  This is a list of users that should not be allowed to login to this
  service. This is really a paranoid check to absolutely ensure an
   improper setting does not breach your security.

You can use the invalid user directive to prohibit a single user.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.