pam_smbpass build bug on HP-UX 11.x

Ryan Novosielski novosirj at umdnj.edu
Tue Apr 8 18:50:55 GMT 2003


Also noteworthy -- I did not mention this before: after making this change
(and before, so you're really no worse off), the compile errors out,
claiming it does not know how to make winbind.sl.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Sat, 5 Apr 2003, Jelmer Vernooij wrote:

> On Fri, Apr 04, 2003 at 06:05:51PM -0500, Ryan Novosielski wrote about 'pam_smbpass build bug on HP-UX 11.x':
> > There are problems with the configure.in (and consequently, configure)
> > that make it impossible to build on all of my machines that run a variant
> > of HP-UX 11. This patch solves half of the problem, but not speaking as a
> > developer (and suspecting there may be a bug in the HP compilers -- maybe
> > you can help decide), I will just mention it rather than include it in the
> > patch. Sorry about the formatting -- this is the diff I've got. The issue
> > solved here is that HP machines do not appear to be able to properly use
> > shared libraries with the *.so extension. I don't know why, when elsewhere
> > the seemingly-more-correct *.$SHLIBEXT is used, but I'm not a Samba
> > developer. :) The other problem is that DYNEXP=-Wl,-E on my systems causes
> > the compiler to error out.
>
> > *** configure.in	Fri Feb 28 10:56:18 2003
> > --- configure.in.patched	Fri Apr  4 12:14:47 2003
> > ***************
> > *** 2052,2058 ****
> >             PAM_MOD=""
> >          else
> >             AC_DEFINE(WITH_PAM_SMBPASS)
> > !           PAM_MOD="bin/pam_smbpass.so"
> >          fi
> >       ;;
> >     *)
> > --- 2052,2058 ----
> >             PAM_MOD=""
> >          else
> >             AC_DEFINE(WITH_PAM_SMBPASS)
> > !           PAM_MOD="bin/pam_smbpass.$SHLIBEXT"
> >          fi
> >       ;;
> >     *)
> > ***************
> > *** 3025,3034 ****
> >   	WINBIND_STARGETS="bin/winbindd"
> >   	case "$host_os" in
> >           *irix*)
> > ! 		WINBIND_LTARGETS="nsswitch/libns_winbind.so"
> >                   ;;
> >           *)
> > ! 		WINBIND_LTARGETS="nsswitch/libnss_winbind.so"
> >                   ;;
> >   	esac
>
> > --- 3025,3034 ----
> >   	WINBIND_STARGETS="bin/winbindd"
> >   	case "$host_os" in
> >           *irix*)
> > ! 		WINBIND_LTARGETS="nsswitch/libns_winbind.$SHLIBEXT"
> >                   ;;
> >           *)
> > ! 		WINBIND_LTARGETS="nsswitch/libnss_winbind.$SHLIBEXT"
> >                   ;;
> >   	esac
>
> > ***************
> > *** 3035,3041 ****
>
> >   	case "$with_pam" in
> >   		yes)
> > ! 			WINBIND_PAM_TARGETS="nsswitch/pam_winbind.so"
> >   		;;
> >   	esac
>
> > --- 3035,3041 ----
>
> >   	case "$with_pam" in
> >   		yes)
> > ! 			WINBIND_PAM_TARGETS="nsswitch/pam_winbind.$SHLIBEXT"
> >   		;;
> >   	esac
>
>
> > My environment is: HP-UX beta B.11.11 U 9000/887 (a 32-bit G70 server, but
> > I have tried this on N-class 64-bit machines too).
>
> > ...the compilers that are on the machine are 12/01 as far as I can recall.
>
> > I am not on the list so I would appreciate it if anyone would send me some
> > feedback. Thanks.
> I'm working on a fix. Thanks for reporting.
>
> Jelmer
>
> --
> Jelmer Vernooij                                      <jelmer at samba.org>
> ~/.plan:
> update docs!
> fix smbclient -M to win9x computers
>


More information about the samba-technical mailing list