[Samba] Listing user...

Rowland Penny rpenny at samba.org
Wed Oct 4 14:00:16 UTC 2017


On Wed, 4 Oct 2017 15:39:23 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:

> Mandi! Rowland Penny via samba
>   In chel di` si favelave...
> 
> > It is very easy to get a list of users from Samba AD with a simple
> > script, you could use something like this:
> 
> Ahem, probably we have two different concept of 'simple'. ;-)
> For me, doing LDAP queries is the last resort.
> 
> Anyway, thanks...
> 

Apart from using ldbsearch instead of ldapsearch, it is a very simple 4
line script. It obtains the dns domain, it then uses this to find a
DC and then searches AD for users 
 
As I said easy ;-)

Rowland



More information about the samba mailing list