Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 2015 19:20:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204940] /net/samba43: pkg-static: Unable to access file
Message-ID:  <bug-204940-13-s4dA7AFDpN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204940-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204940-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204940

andrej@ebert.su changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej@ebert.su

--- Comment #1 from andrej@ebert.su ---
Created attachment 163723
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163723&action=edit
pkg-plist patch

I second that, I get the same error messages upon disabling the AD_DC option.

Here's my error and config:

===>   Registering installation for samba43-4.3.1
pkg-static: Unable to access file
/usr/ports/net/samba43/work/stage/usr/local/lib/samba/libdfs-server-ad-samba4.so:
No such file or directory
pkg-static: Unable to access file
/usr/ports/net/samba43/work/stage/usr/local/lib/samba/libdnsserver-common-samba4.so:
No such file or directory
pkg-static: Unable to access file
/usr/ports/net/samba43/work/stage/usr/local/lib/shared-modules/ldb/dns_notify.so:
No such file or directory
pkg-static: Unable to access file
/usr/ports/net/samba43/work/stage/usr/local/lib/shared-modules/ldb/tombstone_reanimate.so:
No such file or directory
pkg-static: lstat(/usr/ports/net/samba43/work/stage/usr/local/share/samba43/):
No such file or directory

===> The following configuration options are available for samba43-4.3.1:
     ACL_SUPPORT=on: File system ACL support
     ADS=off: Active Directory client support
     AD_DC=off: Active Directory Domain Controller support
     AIO_SUPPORT=on: Asyncronous IO support
     CUPS=off: CUPS printing system support
     DEBUG=off: With debug information in the binaries
     DEVELOPER=off: With development support
     DNSUPDATE=off: Dynamic DNS update (require ADS)
     DOCS=on: Build and/or install documentation
     EXP_MODULES=on: Experimental modules
     FAM=on: File Alteration Monitor support
     LDAP=on: LDAP client support
     MANPAGES=on: Build manpages from DOCBOOK templates
     PAM_SMBPASS=off: PAM authentication via passdb backends
     PTHREADPOOL=on: Pthread pool
     QUOTAS=on: Disk quota support
     SYSLOG=on: Syslog logging support
     UTMP=on: UTMP accounting support
====> Options available for the radio DNS: you can only select none or one of
them
     NSUPDATE=off: Use samba NSUPDATE utility for AD DC
     BIND99=off: Use bind99 as AD DC DNS server frontend
     BIND910=off: Use bind910 as AD DC DNS server frontend
====> Options available for the radio ZEROCONF: you can only select none or one
of them
     AVAHI=off: Zeroconf support via Avahi
     MDNSRESPONDER=off: Zeroconf support via mDNSResponder

Additionally, upon disabling the LDAP support (LDAP=off), i get this error:

pkg-static: Unable to access file
/usr/ports/net/samba43/work/stage/usr/local/lib/samba/libsmbldaphelper-samba4.so:
No such file or directory

Attached is a patch that just adds the %%AD_DC%% parameter to these libraries
and %%LDAP%% to lib/samba/libsmbldaphelper-samba4.so in pkg-plist, AFAIK they
are really only needed for the AD mode of Samba/LDAP support in the last case. 

But i still get the following error:
stat(/usr/ports/net/samba43/work/stage/usr/local/share/samba43/): No such file
or directory
It seems to be some directory with AD-relevant files (ldap schemas, text files,
etc) but I couldn't find where it is defined (not in pkg-plist).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204940-13-s4dA7AFDpN>