Web lists-archives.com

Re: [Samba] Listing user...




On Wed, 4 Oct 2017 15:39:23 +0200
Marco Gaiarin via samba <samba@xxxxxxxxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba