Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Samba-4.6.0rc4 on FreeBSD

20 views
Skip to first unread message

Alnis Morics via samba

unread,
Mar 5, 2017, 9:10:03 AM3/5/17
to
Hi,

I just tried Samba-4.6.0rc4 on FreeBSD 11.0-RELEASE-p8 to see if there's
still a problem with "net rpc" commands but it crashed already at provision:

# samba-tool domain provision --use-rfc2307 --interactive
Realm [RW.LAN]:
Domain [RW]:
erver 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)
[92.240.64.1]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
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=rw,DC=lan
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
set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_PARAMETER.
ERROR(runtime): uncaught exception - (-1073741811, 'Unexpected
information received')
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
line 471, in run
nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 2175, in provision
skip_sysvolacl=skip_sysvolacl)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1806, in provision_fill
names.domaindn, lp, use_ntvfs)
File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 1593, in setsysvolacl
service=SYSVOL_SERVICE)
File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py",
line 162, in setntacl
smbd.set_nt_acl(file, security.SECINFO_OWNER |
security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL,
sd, service=service)

Now, I saw similar errors when ACLs were not enabled but this doesn't
seem to be the case:
# tunefs -p /dev/ada0s4a
tunefs: POSIX.1e ACLs: (-a) enabled
...

# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ada0s4a / ufs rw,acls 1 1
/dev/ada0s4b none swap sw 0 0

-Alnis


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Rowland Penny via samba

unread,
Mar 5, 2017, 1:00:02 PM3/5/17
to
On Sun, 5 Mar 2017 15:59:01 +0200
Alnis Morics via samba <sa...@lists.samba.org> wrote:

> Hi,
>
> I just tried Samba-4.6.0rc4 on FreeBSD 11.0-RELEASE-p8 to see if
> there's still a problem with "net rpc" commands but it crashed
> already at provision:
>

You're doing better than me, I cannot get it to compile:

[3538/3912] Linking default/python/libsamba-python-samba4.so
default/source4/librpc/rpc/pyrpc_util_32.o: In function `pyrpc_import_union':
pyrpc_util.c:(.text+0x1244): undefined reference to `pytalloc_GenericObject_reference_ex'
pyrpc_util.c:(.text+0x126c): undefined reference to `pytalloc_GenericObject_reference_ex'
default/source4/librpc/rpc/pyrpc_util_32.o: In function `pyrpc_export_union':
pyrpc_util.c:(.text+0x13c0): undefined reference to `pytalloc_GenericObject_reference_ex'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/root/samba-4.6.0rc4/bin'
Build failed: -> task failed (err #1):
{task: cc_link modules_5.o,pyrpc_util_32.o,samba_python.empty_2.o,pyparam_util_10.o -> libsamba-python-samba4.so}
*** Error code 1

Stop.
make: stopped in /root/samba-4.6.0rc4

Rowland
0 new messages