Discussion:
static link libsmbclient.a got a lot of error, and how to include "smbtree" feature in program
wodemeng2007
2013-11-12 09:22:12 UTC
Permalink
Hi All:



I have some questions when writing a lib with libsmbclient-dev ,my target environment is on any linux system.



1 I want to static link libsmbclient.a instead of using libsmbclient.so, but I got a lot of error , am I able to use libsmbclient-dev using static link?



2 I found that ?smbtree? command is more stable in finding all those domains and servers than ?smb://? , am I right? why?



3 so I used pipe run way to call ?smbtree? command to get all the servers , but that requires installing samba-common ,can anybody tell me which part of samba source code is for ?smbtree? feature?



Thank you very much!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/smb-clients/attachments/20131112/d1ecc385/attachment.html>
Loading...