Future of SAMBA on FreeBSD

Adam Vande More amvandemore at gmail.com
Sun Sep 17 21:18:34 UTC 2017

On Sun, Sep 17, 2017 at 2:55 PM, James B. Byrne <byrnejb at harte-lyne.ca>

> 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 at samba:~ # pkg info | grep samba
samba45-4.5.12                 Free SMB/CIFS and AD/DC server and client
for Unix
root at samba:~ # samba-tool domain provision --use-rfc2307 --interactive
Realm: foo.com
 Domain [foo]:
 Server Role (dc, member, standalone) [dc]:
 DNS forwarder IP address (write 'none' to disable forwarding) []:
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
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


More information about the freebsd-questions mailing list