[Samba] Unable to use samba-tool

Sketch smblist at rednsx.org
Tue Nov 10 13:40:06 UTC 2015

On Tue, 10 Nov 2015, edward torvalds wrote:

> I having trouble with use samba-tool command. It just does not works. I
> need help with troubleshooting
> ----------------------------------------------
> samba-tool user list
> ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open
> file /var/lib/samba/private/sam.ldb: Permission denied

Not sure on the first, but the second one looks like you didn't use sudo, 
so it can't access the database file(s).

More information about the samba mailing list