[Samba] How to join a Linux machine to a Samba4 domain

L.P.H. van Belle belle at bazuin.nl
Thu Jan 30 03:59:52 MST 2014


and forgot, 

Or use the sernet packages. they work fine on wheezy 


>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] 
>Namens L.P.H. van Belle
>Verzonden: donderdag 30 januari 2014 11:58
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] How to join a Linux machine to a Samba4 domain
>
>Just for your information. 
>
>
>>I would suggest using Jessie instead of Wheezy, it comes with 
>>4.1.4 that 
>>works.
>
>NEVER NEVER NEVER use debian TESTING ( Now Jessie ) in production. 
>Testing(jessie) gets as latest the security and bugfixes. 
>
>Why, this is the debian version which can easy break your system. 
>so if you still going to use jessie make sure you have really 
>good backups, 
>and remember, every apt-get update && apt-get upgrade can 
>break you system. 
>But again DONT DO IT.. of install en dont touch it again when 
>it works ok.
>
>My advice, use wheezy with backports. 
>or recompile yourself its not that hard, i did it to.
>How to do, you can find on the samba list. 
>
>
>Louis
>
>
>>-----Oorspronkelijk bericht-----
>>Van: rowlandpenny at googlemail.com 
>>[mailto:samba-bounces at lists.samba.org] Namens Rowland Penny
>>Verzonden: donderdag 30 januari 2014 11:25
>>Aan: Sven Schwedas; samba at lists.samba.org
>>Onderwerp: Re: [Samba] How to join a Linux machine to a Samba4 domain
>>
>>On 30/01/14 10:12, Sven Schwedas wrote:
>>> Hi,
>>>
>>> On 2014-01-30 11:00, Lea Massiot wrote:
>>>> Hello,
>>>>
>>>> My question is about how to join a "Linux" machine to a 
>>"Samba4 AD DC"
>>>> domain.
>>>>
>>>> Given that I have a "Samba4 AD DC" running on a machine (A),
>>>> given that I have a another machine (B) running "Linux 
>>Debian Wheezy",
>>>> can you tell me:
>>>>
>>>> 1) How I can join (B) to the domain?
>>>>
>>>> Do I have to install specific packages on (B)?
>>> Samba4. Preferably not the bugged and incomplete packages 
>>shipped with
>>> Wheezy. Use the packages provided by sernet, or wheezy-backports.
>>>
>>> (Note that Samba4 in wheezy-backports breaks sssd, you'll 
>>only be able
>>> to use winbind or pam_ldap. Refer to the recent and still ongoing
>>> elaborate shitstorms on the mailing list to pros/cons of 
>>sssd vs. winbindd.)
>>Unless the OP has jumped ship, they are using self compiled 
>>4.1.4 on the DC
>>
>>I would suggest using Jessie instead of Wheezy, it comes with 
>>4.1.4 that 
>>works.
>>
>>>
>>>> Does it look like something like this: "net ads join -U 
>>Administrator"?
>>Yes, this will work
>>
>>> Should be "samba-tool domain join" in Samba 4.1+. Refer to its help
>>> texts and manpages for details, it's the only documentation 
>currently
>>> existing.
>>>
>>Only if you want to join as a Member or DC
>>
>>>> 2) How can I create a shared directory on (B) so that other 
>>clients both
>>>> Windows and Linux can access it in read and write mode?
>>> Not visibly different from samba3. Set it up in your smb.conf, and
>>> ensure your auth backends (winbind or sssd) are configured properly.
>>>
>>>
>>>
>>Totally agree
>>
>>Rowland
>>
>>-- 
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list