[Samba] Only root can use net command, because of permissions of secrets.tdb
- Date: Mon, 29 Oct 2018 16:50:25 -0700
- From: Deft Developer via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] Only root can use net command, because of permissions of secrets.tdb
It seems that I can only run "net ads" commands as sudo, otherwise I get an
Failed to open /var/lib/samba/private/secrets.tdb
This is because secrets.tbd has the permissions 700.
This is the case even for listing users with the machine account:
net ads user -P
Is this the normal behavior? Is there a correct way to configure so that
ordinary users can use net without sudo?
To unsubscribe from this list go to the following URL and read the