[Samba] samba4: howto list users found in ldap database with samba tools?

Daniel Carrasco Marín danielmadrid19 at gmail.com
Fri May 22 00:36:03 MDT 2015


2015-05-22 7:42 GMT+02:00 Thomas Schweikle <tschweikle at gmail.com>:

> Hi!
>
> I'm having some problem with users from an ldap database: I can list
> them via ldapsearch. I can list them with getent. Now I'd like to list
> them via samba-tools too. Are there tools available? I've tried
> smbadmin and others, but they all want a user to be given. Looks like
> there is NO tool to LIST users samba sees. Am I right?
>
> --
> Thomas
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>

What version of samba are you using?, i've Samba4 and i can use
"samba-tools user list" to show all users, but my backend is Internal
instead an ldap database and maybe is different. Take a look:
https://www.samba.org/samba/docs/man/manpages/samba-tool.8.html
Anyway you can use "samba-tools user" to show all avaible options.

Greetings!!


More information about the samba mailing list