samba-4.4 nss_wins rpath does not include <lib/private>

Jones Syue jonessyue at
Wed Aug 31 07:09:45 UTC 2016

Hello list,

The samba4 installation path is /usr/local/samba in my linux box,
the symptom is failed to ping remote HOSTNAME if samba-4.4.5 installed,
looks like cannot find the,
which is resident in /usr/local/samba/lib/private/ .

2 workarounds could help this symptom,
A) Create a symbolic link in the linux box,
ln -sf /usr/local/samba/lib/private/

B) Rollback: remove samba-4.4.5 and install samba-4.0 or samba-4.1 into the
linux box,
and ping remote HOSTNAME is good.
Looks like new nss_wins is introduced from samba-4.4,
the question is if  i want to add the rpath /usr/local/samba/lib/private to,
which configure option should be added,
or supposed to edit some wscript_build scripts,
any suggestions are much appreciated,
thank you.

samba-4.4.5 has issue.
# ldd => not found
# readelf -d | grep RPATH
 0x0000000f (RPATH)                      Library rpath:

samba-4.0 and samba-4.1 are fine.
# readelf -d | grep RPATH
 0x0000000f (RPATH)                      Library rpath:

Jones Syue | 薛懷宗
QNAP Systems, Inc.


The information contained in this electronic message and attachment is 
confidential and is for the use of the intended recipient only. Any 
disclosure, copying or distribution of this electronic message without the 
sender’s consent is strictly prohibited. If you are not the intended 
recipient, please notify the sender and delete this electronic message and 
all attachment entirely without using, retaining, or disclosing any of its 

If the information contained in this electronic message involving personal 
data, you shall follow the "Personal Information Protection Act" and other 
related law(s). In the event a breach by you results in damage to QNAP 
Systems, Inc., you shall compensate for the damages arising from such 
breach (including but not limited to the goodwill losses). 

This electronic message is for information purposes only and shall not be 
construed as an offer or solicitation of an offer or an acceptance or a 
confirmation of any contract or transaction. All data or other information 
contained herein are not warranted to be complete and accurate and are 
subject to change without notice. Therefore, the sender and/or QNAP 
Systems, Inc. shall not be liable for the information if altered, modified, 
changed, falsified improperly or incompletely transmitted nor for any delay 
in its receipt or damage to your system. 

Any comments or statements made herein do not necessarily reflect those of 
QNAP Systems, Inc. or any of its affiliates. Internet electronic messages 
cannot be guaranteed to be timely, secure, error or virus-free as 
information could be intercepted, corrupted, lost, arrive late or contain 
viruses. The sender and/or QNAP Systems, Inc. will not accept liability for 
any errors or omissions arising from internet transmission.

More information about the samba-technical mailing list