[Samba] Minimal AD DC server for dev/test setup

Martin Langhoff martin.langhoff at gmail.com
Tue Dec 19 16:07:12 UTC 2017


About the last question, I'll be reading up on samba-tool. Apologies.

A better question is: can I run the DC without an attached DNS server? How
little can I get away with running?

In my imagination, I should be able to run just the LDAP+Kerberos parts,
AIUI that's all I need, skipping DNS, fileserving, winbind, etc; blame this
on my view of AD as a quirky LDAP. Again, scoped for my use cases, which
are essentially LDAP-connection-and-lookup against the AD-flavored LDAP
that AD contains.

thank you,



m


On Tue, Dec 19, 2017 at 11:01 AM, Martin Langhoff <martin.langhoff at gmail.com
> wrote:

> Thank you Louis!
>
> I had https://wiki.samba.org/index.php/Setting_up_Samba_as_an_
> Active_Directory_Domain_Controller in my bag of tricks, now from your
> link I found https://github.com/thctlo/samba4/blob/master/
> howtos/stretch-base-2.0-samba-minimal-ad.txt which looks good.
>
> Our Linux platform is CentOS at this time (but I've been a DD and long
> time debianista). I'll go through both.
>
> How do you create, query user/group records?  I'm used to ldapadd,
> ldapsearch, etc.
>
> thank you,
>
>
>
> martin
>
> On Tue, Dec 19, 2017 at 10:41 AM, Martin Langhoff <
> martin.langhoff at gmail.com> wrote:
>
>> Hi Samba List,
>>
>> I am developing software which should interop with AD/LDAP, I am
>> looking at using the Samba DC and loading it with some example user
>> accounts.
>>
>> "Interop with AD" means use and AD backend for authentication,
>> retrieval of basic user record and membership info. Simple enough/
>>
>> In the past, I've implemented similar functionality using OpenLDAP as
>> the reference backend (ie, I wrote much of
>> https://docs.moodle.org/33/en/LDAP_authentication ) .
>>
>> Are there any guides on how to install and configure Samba's DC
>> _standalone_? Any hints or guidance for me? Does Samba's DC component
>> support this mode of operation?
>>
>> For further info, we are developing and testing on a Linux which
>> carries Samba 4.6.x. Also, I'm an old linux hand, and there's a chance
>> you're using software I contributed to :-)
>>
>> thank you!
>>
>>
>>
>> martin
>> (please CC me as I've subscribed 'no-mail')
>> --
>>  martin.langhoff at gmail.com
>>  - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
>>  - don't be distracted        ~  http://github.com/martin-langhoff
>>    by shiny stuff
>>
>
>
>
> --
>  martin.langhoff at gmail.com
>  - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
>  - don't be distracted        ~  http://github.com/martin-langhoff
>    by shiny stuff
>



-- 
 martin.langhoff at gmail.com
 - ask interesting questions  ~  http://linkedin.com/in/martinlanghoff
 - don't be distracted        ~  http://github.com/martin-langhoff
   by shiny stuff


More information about the samba mailing list