Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 16:18:32 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        "James B. Byrne" <byrnejb@harte-lyne.ca>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Future of SAMBA on FreeBSD
Message-ID:  <CA%2BtpaK2GCNGZ6NrFOmPA0UP6hLjPOtVp9awL2ATvnL00O8twsA@mail.gmail.com>
In-Reply-To: <411eb82456c15c41763909673a63208b.squirrel@webmail.harte-lyne.ca>
References:  <e1c72d2dea66d367956e62edf7bec052.squirrel@webmail.harte-lyne.ca> <CA%2BtpaK1UEtvyeRYSSLaOPoHb=Nmy4omDiyCvSdDtw-iKvsRYyw@mail.gmail.com> <f6ba7e46e75e497460793205e261851a.squirrel@webmail.harte-lyne.ca> <CA%2BtpaK2B-50-DSP0RNUGkzMZKoqBBMj08dHCWEs2sSQXQ_d-_Q@mail.gmail.com> <411eb82456c15c41763909673a63208b.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 17, 2017 at 2:55 PM, James B. Byrne <byrnejb@harte-lyne.ca>
wrote:

> On Sat, September 16, 2017 23:02, Adam Vande More wrote:
>
> >>
> >
> > The bug you linked to has nothing to do with the issue of trying to
> > provision a DC on a non-jailed FreeBSD installation.
>
> The issue the bug addresses may not, but the bug itself certainly does.
>

What?  It doesn't seem like you have a good enough understanding to make a
claim like that.  It is quite clear that bug is relavant only to jailed
instances of samba, and VFS related perms.  Your current was already
explained to you once, and you've been reminded of it.


> I had exactly the same provisioning problem with 4.5 and 4.4.  The
> last version of Samba that provisioned successfully for me on
> FreeBSD-11 was 4.3.
>

Works great here:

root@samba:~ # pkg info | grep samba
samba45-4.5.12                 Free SMB/CIFS and AD/DC server and client
for Unix
root@samba:~ # samba-tool domain provision --use-rfc2307 --interactive
Realm: foo.com
 Domain [foo]:
 Server Role (dc, member, standalone) [dc]:
 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
[SAMBA_INTERNAL]:
 DNS forwarder IP address (write 'none' to disable forwarding) [8.8.8.8]:
none
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=foo,DC=com
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=foo,DC=com
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba 4 has been generated at
/var/db/samba4/private/krb5.conf
Setting up fake yp server settings
Once the above files are installed, your Samba4 server will be ready to use
Server Role:           active directory domain controller
Hostname:              samba
NetBIOS Domain:        FOO
DNS Domain:            foo.com
DOMAIN SID:            S-1-5-21-1080825900-187052096-556735549


-- 
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2GCNGZ6NrFOmPA0UP6hLjPOtVp9awL2ATvnL00O8twsA>