M
M
Multigame2020-12-22 12:27:53
Active Directory
Multigame, 2020-12-22 12:27:53

How can I get AD attributes from samba?

Good afternoon.

We have a samba based domain.

To implement some security policies, we need to get AD attributes. But how?
The latest samba-tool documentation has a call to samba-tool user show that should return the attributes.
However, we use version 4.6, and user show appeared only in 4.9

. There is no particular desire to update just for the sake of this desire.
Tell me, what are the ways to get AD attributes from samba?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2020-12-22
@CityCat4

And what for to cycle on a samba? AD is LDAP, ldapsearch works great with LDAP. Of course, I never risked writing to it, but I use reading from AD via ldapsearch in one hundred thousand scripts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question