Operating System - HP-UX
1834497 Members
2641 Online
110067 Solutions
New Discussion

Samba's pam_winbind problem on HP-UX

 
Rainer von Bongartz
Honored Contributor

Samba's pam_winbind problem on HP-UX


Has anybody got pam_winbind working on HP-UX.

I compiled it sucessfully but get the following errors upon login:

May 15 03:34:53 mars pam_winbind[24035]: user 'dil+bongartz' granted acces
May 15 03:34:53 mars pam_winbind[24035]: LOGIN: pam_authenticate error
May 15 03:34:53 mars pam_winbind[24035]: pam_acct_mgmt: error No account present for user

Any hints welcome

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
4 REPLIES 4
S.K. Chan
Honored Contributor

Re: Samba's pam_winbind problem on HP-UX

Is this host a trusted host ? I'm thinking if it's trusted (which uses its security DB to authenticate users), it might pose some conflict in the way how PAM authenticate users.
Rainer von Bongartz
Honored Contributor

Re: Samba's pam_winbind problem on HP-UX


No trusted system....


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Christian Schulze
Regular Advisor

Re: Samba's pam_winbind problem on HP-UX

i cannot solve your problem,
but I would like to know how you compiled samba with winbind.

compiler ??
configure options

I did not get it running ...


Christian
never touch a running system
Rainer von Bongartz
Honored Contributor

Re: Samba's pam_winbind problem on HP-UX


Christian:

configure samba with

1)configure .... --with-pam --with-winbind

2) Change the following in Makefile

if test $ac_cv_prog_cc_Ae = yes then #BLDSHARED="true" LDSHFLAGS="-b -z +h \$@" PICFLAG="+z"
fi

to
if test $ac_cv_prog_cc_Ae = yes then BLDSHARED="true" SHLD="/usr/bin/ld" LDSHFLAGS="-B symbolic -b -z +h \$@" PICFLAG="+z"
fi

or is using gcc

#if test $ac_cv_prog_cc_Ae = yes then BLDSHARED="true" SHLD="/usr/bin/ld" LDSHFLAGS="-B symbolic -b -z +h \$@" PICFLAG="+fpic"
#fi

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...