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?
Thanks.
Ricardo
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
N?o
cont?m v?rus.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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