You can download ksmbprintd-lion-patch from the Attachments area below.
For background, here's the message I sent to the MacEnterprise listserv.
Hi folks,
Just a quick note to confirm that I have gotten ksmbprintd working in
Mac OS X 10.7 Lion by replacing the included version of smbclient with
one that I compiled myself with the Lion version of MacPorts. If
you're interested in a package that does just that and brings along
some supportive library files, just email me for a copy.
Supportive library files in /opt/local/lib
-rw-r--r-- 1 root admin 0 Jun 17 2010 .turd_MacPorts
-r-xr-xr-x 2 root admin 1726008 Mar 18 10:11 libcrypto.1.0.0.dylib
-rw-r--r-- 2 root admin 1065764 Mar 18 10:17 libiconv.2.dylib
lrwxr-xr-x 1 root admin 16 Mar 18 10:17 libiconv.dylib ->
libiconv.2.dylib
-rw-r--r-- 2 root admin 49280 Mar 18 10:37 libintl.8.dylib
-rwxr-xr-x 2 root admin 47156 Mar 18 10:38 libpopt.0.dylib
drwxr-xr-x 27 root admin 918 Mar 18 10:57 samba3