./configure --with-pam_smbpass fails

Steve Langasek vorlon at netexpress.net
Wed May 9 19:19:22 GMT 2001


Hi Shanker,

On Wed, 9 May 2001, Shanker Balan wrote:

> Hello:

> $ ./configure --with-smbmount  --with-pam  --with-syslog --with-pam_smbpass
> $ make all
> [..]
> Using LIBS = -ldl -lnsl -lpam
> make: *** No rule to make target `lib/slprintf.po', needed by
> `bin/pam_smbpass.so'.  Stop.

> Any clues?

Attached is a patch against Samba 2.2 CVS that lets pam_smbpass build.  Tridge
removed the slprintf function from the source, and because I had referenced
lib/slprintf.c directly instead of using LIB_OBJ, the build breaks.  This
is a bad practice on my part that should probably be corrected now that
pam_smbpass is part of the Samba source tree.  In the meantime, applying the
above patch and running ./config.status (or rerunning ./configure) does the
trick.

Regards,
Steve Langasek
postmodern programmer
-------------- next part --------------
Index: Makefile.in
===================================================================
RCS file: /cvsroot/samba/source/Makefile.in,v
retrieving revision 1.227.2.43
diff -u -w -r1.227.2.43 Makefile.in
--- Makefile.in	2 May 2001 01:42:03 -0000	1.227.2.43
+++ Makefile.in	9 May 2001 18:56:30 -0000
@@ -330,12 +330,11 @@
 		pam_smbpass/pam_smb_acct.o pam_smbpass/support.o \
 		lib/debug.o lib/util_sid.o lib/messages.o lib/util_str.o \
 		lib/wins_srv.o lib/substitute.o lib/select.o lib/util.o \
-		lib/slprintf.o nsswitch/wb_client.o nsswitch/wb_common.o \
-		lib/system.o lib/charset.o lib/util_file.o lib/kanji.o \
-		lib/genrand.o lib/username.o lib/charcnv.o lib/time.o \
-		lib/md4.o lib/util_unistr.o lib/signal.o lib/talloc.o \
-		lib/ms_fnmatch.o lib/util_sock.o lib/doscalls.o lib/smbrun.o \
-		lib/util_sec.o \
+		nsswitch/wb_client.o nsswitch/wb_common.o lib/system.o \
+		lib/charset.o lib/util_file.o lib/kanji.o lib/genrand.o \
+		lib/username.o lib/charcnv.o lib/time.o lib/md4.o \
+		lib/util_unistr.o lib/signal.o lib/talloc.o lib/ms_fnmatch.o \
+		lib/util_sock.o lib/doscalls.o lib/smbrun.o lib/util_sec.o \
 		ubiqx/ubi_sLinkList.o libsmb/smbencrypt.o libsmb/smbdes.o \
 		$(PARAM_OBJ) $(TDB_OBJ) $(PASSDB_OBJ)
 


More information about the samba-ntdom mailing list