Winbindd not running on Android

Anoop Singh anoop.singh at
Tue Sep 15 06:30:49 UTC 2015

Hi Andrew,

Thanks a lot for the help and guidance.
Do you mean this issue is fixed probably in release 4.3, the newest one? Actually I am using older version of samba 4.1.14.
So if I want to fix this issue in 4.1.14, as per your mail I need to remove all the instances of "allow_undefined_symbols=True" or does it mean to replace with "allow_undefined_symbols=False" in these files:

1. source3/wscript_build
2. source3/winbindd/wscript_build
3. source3/modules/wscript_build

I also see the instance used in these files also
1. buildtools/wafsamba/ : in this file  at line no 133 and 417, allow_undefined_symbols=False
2. buildtools/wafsamba/ in this file at line no 65, allow_undefined_symbols=True

What should I do with these instances. Looks like I don't need to change anything in these two places. Please confirm.

Thanks & regards,

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at]
Sent: Tuesday, September 15, 2015 6:15 AM
To: Anoop Singh; samba-technical at
Subject: Re: Winbindd not running on Android

On Mon, 2015-09-14 at 12:05 +0000, Anoop Singh wrote:
> Hi Members,
> I cross compiled samba for ARM successfully but while running
> "winbindd" I find this error on my Android device:
> soinfo_link_image(linker.cpp:1641): could not load library
> "" needed by "winbindd"; caused by
>  soinfo_relocate(linker.cpp:981): cannot locate symbol
> "find_domain_from_name" referenced by"...CANNOT LINK

I think what we need to do is remove all the instances of 'allow_undefined_symbols=True' in the wscript_build files, and fix the result, in particular around idmap.  It may require reworking the dependencies and subsystem values for the modules.

That should fix up the issue.

Or, if the issue is a libidmap from another library, then this has been fixed for 4.3 (we renamed it).

Andrew Bartlett
Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT

DISCLAIMER: This electronic message and any attachments to this electronic message is intended for the exclusive use of the addressee(s) named herein and may contain legally privileged and confidential information. It is the property of Celstream Technologies Private Limited. If you are not the intended recipient, you are hereby strictly notified not to copy, forward, distribute or use this message or any attachments thereto. If you have received this message in error, please delete it and all copies thereof, from your system and notify the sender at Celstream Technologies or administrator at immediately.

More information about the samba-technical mailing list