Thomas Schweikle
2015-May-22 05:42 UTC
[Samba] samba4: howto list users found in ldap database with samba tools?
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
Daniel Carrasco Marín
2015-May-22 06:36 UTC
[Samba] samba4: howto list users found in ldap database with samba tools?
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!!