examples/libsmbclient/* link error with libwbclient

Gerald (Jerry) Carter jerry at samba.org
Mon Jan 14 15:13:42 GMT 2008

Derrell Lipman wrote:
> On Jan 12, 2008 10:41 AM, Stefan (metze) Metzmacher <metze at samba.org> wrote:
>> Hi Derrell,
>>> Hi all.  I'm trying to build the examples/libsmbclient directory with
>>> current git source.  I've added -lwbclient to the makefile.
>> Why?
> If I configure like this:
> ./autogen.sh && ./configure.developer --enable-debug
> and remove libwbclient.so* from my library path, then I get the
> following when I link examples/libsmbclient, which indicated to me
> that I should need it:

If you compile --without-winbind, it should be fine.  I expect thsi
is due to the wrapper functions in lib/winbind_util.c that are used
by the smbd and the passdb lookup sid/name functions.

cheers. jerry
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian

More information about the samba-technical mailing list