[Samba] Users and groups reports
Rowland Penny
rpenny at samba.org
Tue Jan 9 19:17:41 UTC 2024
On Tue, 9 Jan 2024 16:04:28 -0300
Ricardo Campos via samba <samba at lists.samba.org> wrote:
> Hello everybody.
>
> I've been using samba for a few years now, but I'm still new to Active
> Directory and the ways of managing it.
>
> I got to know samba-tool and could see how big it is, but I couldn't
> find a way to list some user attributes using "samba-tool user list".
> The same for groups.
>
> I was also introduced to RSAT, but - again - so big that it is
> difficult to find ways to get the same information.
>
> I think both questions can be summarized as how to generate reports
> about users, groups, computers, etc, using samba-tool or RSAT.
>
> Is there another way? Where can I find this information?
>
> Not long ago, I would issue a command like "slapcat | script to select
> attributes | awk '{formatting script}'". Is there sth similar to this?
>
You could write a script around ldbsearch and set the search to just
return the attributes you require.
Rowland
More information about the samba
mailing list