Samba 4 - domain controller: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "Category:Linux = Prereq = Install <pre> apt-get install libacl1-dev libattr1-dev \ libblkid-dev libgnutls-dev libreadline-dev python-dev \ python-dnspython gdb pkg-...")
 
No edit summary
Line 14: Line 14:
samba-tool domain provision --use-rfc2307 --interactive --use-xattrs=yes
samba-tool domain provision --use-rfc2307 --interactive --use-xattrs=yes
</pre>
</pre>

<code>
Argument Explanations
Argument Explanations


Line 24: Line 26:
--interactive
--interactive
this parameter forces the provision script to run interactively. Alternately, you can review the help for the provision step by running samba-tool domain provision --help
this parameter forces the provision script to run interactively. Alternately, you can review the help for the provision step by running samba-tool domain provision --help
</code>

Revision as of 09:35, 2 February 2014


Prereq

Install

apt-get install libacl1-dev libattr1-dev \
   libblkid-dev libgnutls-dev libreadline-dev python-dev \
   python-dnspython gdb pkg-config libpopt-dev libldap2-dev \
   dnsutils libbsd-dev attr krb5-user docbook-xsl libcups2-dev acl

Setup as domain controller

samba-tool domain provision --use-rfc2307 --interactive --use-xattrs=yes

Argument Explanations

--use-rfc2307

   this argument adds POSIX attributes (UID/GID) to the AD Schema. This will be necessary if you intend to authenticate Linux, BSD, or OS X clients (including the local machine) in addition to Microsoft Windows. 

--use-xattrs=yes

   this argument enables the use of unix extended attributes (ACLs) for files hosted on this server. If you intend not have file shares on the domain controller, you can omit this switch (but this is not recommended). You should also ensure that any filesystems that will host Samba shares are mounted with support for ACLs. 

--interactive

   this parameter forces the provision script to run interactively. Alternately, you can review the help for the provision step by running samba-tool domain provision --help