pam_smbpass build bug on HP-UX 11.x
Jelmer Vernooij
jelmer at samba.org
Fri Apr 4 23:24:38 GMT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030405/7e75af15/attachment.bin
More information about the samba-technical
mailing list