Using libsmbclient

Ken Cross kcross at nssolutions.com
Sat Aug 30 21:08:27 GMT 2003


Samba-folk:

It's very nice having libsmbclient built, but we're not really using it.  It
can make a significant difference if the applications are linked to the
shared library.  Typical examples are, before:

-rwxr-xr-x  1 root  wheel  1429955 Aug 30 14:30 net
-rwxr-xr-x  1 root  wheel   830002 Aug 30 14:30 nmbd
-rwxr-xr-x  1 root  wheel  2415950 Aug 30 14:30 smbd
-rwxr-xr-x  1 root  wheel   413559 Aug 30 14:30 wbinfo
-rwxr-xr-x  1 root  wheel  1455788 Aug 30 14:30 winbindd

After:

-rwxr-xr-x  1 root  wheel   849423 Aug 30 16:54 net
-rwxr-xr-x  1 root  wheel   219324 Aug 30 16:54 nmbd
-rwxr-xr-x  1 root  wheel  1882347 Aug 30 16:54 smbd
-rwxr-xr-x  1 root  wheel   104821 Aug 30 16:54 wbinfo
-rwxr-xr-x  1 root  wheel   876421 Aug 30 16:54 winbindd

It wasn't too hard to hack Makefile to build them with libscmclient.so, but
doing it in general would be trickier.  Looks like it might be worth it
though, especially when (like me) you want to distribute updated binaries
via the internet.

Ken
________________________________

Ken Cross

Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com 




More information about the samba-technical mailing list