Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Samba DC provisioning fails with ACL-enabled NetBSD-current



Be very careful and use a separate partition for sysvol because Matthias reported
fs corruption which I have not looked at yet.

christos

On Jul 23, 2020, at 7:39 PM, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:

On Thu, 23 Jul 2020 at 16:25, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:

On Thu, 23 Jul 2020 at 15:59, Christos Zoulas <christos%zoulas.com@localhost> wrote:

You are missing:

PKG_OPTIONS.samba4=     acl

Unfortunately not - this is the line:

PKG_OPTIONS.samba4=acl avahi ldap pam winbind

and I get:

#... /net/samba4 ❯ make show-options
Any of the following general options may be selected:
       acl      Enable POSIX ACL support.
       ads      Enable Windows Active Directory support.
       avahi    Enable DNS service discovery and multicast DNS support.
       fam      Support using File Alteration Monitor (FAM).
       ldap     Enable LDAP support.
       pam      Enable PAM support.
       winbind  Enable name-service switch daemon support using
Windows Servers.

These options are enabled by default:
       ads avahi ldap pam winbind

These options are currently enabled:
       acl ads avahi ldap pam winbind

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.samba4.

As I said, configure definitely has --with-acl-support and the log
file indicates attempts to find the bits in question, so it is
something else.

This is a fairly used pkgsrc build host, perhaps something has gone
wrong at some stage; I have another one setup with much less changes
since the original modification, I'll cvs update the whole tree and
after a rolling-replace will try one more to build samba4 with ad
support.


The build on the second pkgsrc host produced a working dc. The two
pkgsrc hosts use the same /etc/mk.conf file, with the exception that
on the first - failed one - the default python is 3.7, hereas on the
second one it is 3.8, if this matters.

Now some domain joining...



in /etc/mk.conf

christos

On Jul 23, 2020, at 9:54 AM, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:

...
Chavdar

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index