FG
💻 Software

List Samba users?

Fresh5 days ago
Mar 15, 2026549797 views
Confidence Score1%
1%

Problem

So yesterday evening I was pulling my hair out (figuratively -- I'm bald) for over an hour trying to figure out why kept rejecting my attempts to reset the password for one of my Samba users. Anyway, long story short, it was apparently because the user didn't exist yet ( added her without complaint, and now everything's hunky-dory), even though I still swear up and down that I did indeed add her already. Anyway, if I could have simply listed the users in the smbpasswd database, it would saved me a lot of grief. Is there a command or utility that can do that? (Samba's using that new-fangled .tdb database, otherwise I would have just .)

Error Output

smbpasswd

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: List Samba users?

Low Risk

I believe the command your looking for is . From the man page "pdbedit - manage the SAM database (Database of Samba Users)" to list users. to be verbose.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment