Changes between Version 4 and Version 5 of samba4


Ignore:
Timestamp:
03/21/2013 10:48:55 AM (11 years ago)
Author:
thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • samba4

    v4 v5  
    4747before you try a provisioning, make sure that the realm specified in the {{{/etc/samba/smb.conf}}} is the same as you want to use. Best is to move the {{{/etc/samba/smb.conf}}} out of the way if exist.
    4848
     49Start provisioning by running **samba-tool domain provision**. You should have an idea of what you will configure for the realm, the domainname, the server role, the type of DNS backend and what your DNS forwarding should look like (usually the IP address of your ISP DNS server):
    4950{{{
    50 samba-tool domain provision
     51[root@io ~]# samba-tool domain provision
     52Realm [<your-dns-domain>]:
     53 Domain [<first-part-of-dns-domain>]:
     54 Server Role (dc, member, standalone) [dc]:
     55 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
     56 DNS forwarder IP address (write 'none' to disable forwarding) [<ip-of-a-dns>]:
     57Administrator password:
     58Retype password:
     59Looking up IPv4 addresses
     60Looking up IPv6 addresses
     61No IPv6 address will be assigned
     62Setting up share.ldb
     63Setting up secrets.ldb
     64Setting up the registry
     65Setting up the privileges database
     66Setting up idmap db
     67Setting up SAM db
     68Setting up sam.ldb partitions and settings
     69Setting up sam.ldb rootDSE
     70Pre-loading the Samba 4 and AD schema
     71Adding DomainDN: DC=<your-domain-components>
     72Adding configuration container
     73Setting up sam.ldb schema
     74Setting up sam.ldb configuration data
     75Setting up display specifiers
     76Modifying display specifiers
     77Adding users container
     78Modifying users container
     79Adding computers container
     80Modifying computers container
     81Setting up sam.ldb data
     82Setting up well known security principals
     83Setting up sam.ldb users and groups
     84Setting up self join
     85Adding DNS accounts
     86Creating CN=MicrosoftDNS,CN=System,DC=<your-domain-components>
     87Creating DomainDnsZones and ForestDnsZones partitions
     88Populating DomainDnsZones and ForestDnsZones partitions
     89Setting up sam.ldb rootDSE marking as synchronized
     90Fixing provision GUIDs
     91A Kerberos configuration suitable for Samba 4 has been generated at /var/lib/samba/private/krb5.conf
     92Once the above files are installed, your Samba4 server will be ready to use
     93Server Role:           active directory domain controller
     94Hostname:              <hostname>
     95NetBIOS Domain:        <domainname>
     96DNS Domain:            <dns-domain-name>
     97DOMAIN SID:            S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx
    5198}}}
    5299