[prev in list] [next in list] [prev in thread] [next in thread]
List: pamldap
Subject: Re: [pamldap] Compiling on Solaris
From: "Ryan Anderson" <Ryan.Anderson () udlp ! com>
Date: 2004-06-29 21:33:40
Message-ID: s0e199e9.090 () asdmngwia ! mpls ! udlp ! com
[Download RAW message or body]
I went through this before and don't wish it upon anyone else. You need to use either \
SunONE (netscape) -OR- openldap libraries. See:
http://www.novell.com/coolsolutions/nds/features/trenches/tr_solaris_8_ldap_auth_edir.html
http://www.wright.edu/~mike.corcoran/htmldocs/applications/pam_ldap/configuring_pam_ldap_and_nss_ldap.html
RCA
--
Unix Administrator
Desk: 763-572-6684
Pager: 952-235-9936
> > > Andrew Afliatunov <andy@taom.ru> 06/29/04 07:55AM >>>
Mark Toung wrote:
> you prob forgot some LDFLAGS or CPPFLAGS..
>
>
>
I built openldap like this:
--
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib -L/usr/lib"
LDFLAGS="$LDFLAGS -R/usr/local/ssl/lib:/usr/local/lib:/usr/lib"
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/include -I/usr/include"
export LDFLAGS CPPFLAGS
./configure --prefix=/usr --disable-slapd --disable-debug --with-tls
--
Still no success in configure pam_ldap.
> ----- Original Message -----
> From: "Andrew Afliatunov" <andy@taom.ru>
> To: "Mark Toung" <mark@giddieup.net>
> Cc: <pamldap@padl.com>
> Sent: Sunday, June 27, 2004 11:05 PM
> Subject: Re: [pamldap] Compiling on Solaris
>
>
>
>
> > Mark Toung wrote:
> >
> >
> >
> > > what was the configure line that you used to compile openldap with? u
> > >
> > >
> just
>
>
> > > put it in /usr directory?
> > >
> > >
> > >
> > >
> > >
> > Installed openldap with these options:
> > ./configure --prefix=/usr --disable-slapd --disable-debug --with-tls
> >
> >
> >
> >
> > > ----- Original Message -----
> > > From: "Andrew Afliatunov" <andy@taom.ru>
> > > To: "Mark Toung" <mark@giddieup.net>
> > > Cc: <pamldap@padl.com>
> > > Sent: Friday, June 25, 2004 11:27 PM
> > > Subject: Re: [pamldap] Compiling on Solaris
> > >
> > >
> > >
> > >
> > >
> > >
> > > > Mark Toung wrote:
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > > I'm not sure if pamldap works with the sun one. I had to setup openldap
> > > > >
> > > > >
> > > > >
> > > > >
> > > for my solaris 8 to make it work
> > >
> > >
> > >
> > >
> > > > >
> > > > >
> > > > Ok. I also think, that I need openldap, but with its libraries even
> > > > './configure --with-ldap-lib=openldap --with-ldap-dir=/usr' doesn't work
> > > > - 'configure: error: could not locate a valid LDAP library'
> > > > ?
> > > >
> > > > --
> > > > Andrew.
> > > >
> > > >
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Tahoma; MARGIN-LEFT: 2px">
<DIV>I went through this before and don't wish it upon anyone else. You need to
use either SunONE (netscape) -OR- openldap libraries. See:</DIV>
<DIV> </DIV>
<DIV><A
href="http://www.novell.com/coolsolutions/nds/features/trenches/tr_solaris_8_ldap_auth \
_edir.html">http://www.novell.com/coolsolutions/nds/features/trenches/tr_solaris_8_ldap_auth_edir.html</A><BR><A \
href="http://www.wright.edu/~mike.corcoran/htmldocs/applications/pam_ldap/configuring \
_pam_ldap_and_nss_ldap.html">http://www.wright.edu/~mike.corcoran/htmldocs/applications/pam_ldap/configuring_pam_ldap_and_nss_ldap.html</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>RCA<BR>--<BR>Unix Administrator<BR>Desk: 763-572-6684<BR>Pager:
952-235-9936</DIV>
<DIV><BR>>>> Andrew Afliatunov <andy@taom.ru> 06/29/04 07:55AM
>>><BR>Mark Toung wrote:<BR><BR>>you prob forgot some LDFLAGS or
CPPFLAGS..<BR>><BR>> <BR>><BR>I built openldap like
this:<BR>--<BR>LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib
-L/usr/lib"<BR>LDFLAGS="$LDFLAGS
-R/usr/local/ssl/lib:/usr/local/lib:/usr/lib"<BR>CPPFLAGS="-I/usr/local/ssl/include
-I/usr/local/include -I/usr/include"<BR>export LDFLAGS CPPFLAGS<BR>./configure
--prefix=/usr --disable-slapd --disable-debug --with-tls<BR>--<BR>Still no
success in configure pam_ldap.<BR><BR>>----- Original Message -----
<BR>>From: "Andrew Afliatunov" <andy@taom.ru><BR>>To: "Mark Toung"
<mark@giddieup.net><BR>>Cc: <pamldap@padl.com><BR>>Sent:
Sunday, June 27, 2004 11:05 PM<BR>>Subject: Re: [pamldap] Compiling on
Solaris<BR>><BR>><BR>> <BR>><BR>>>Mark Toung
wrote:<BR>>><BR>>>
<BR>>><BR>>>>what was the configure line that you used to compile
openldap with? u<BR>>>>
<BR>>>><BR>>just<BR>> <BR>><BR>>>>put it in
/usr
directory?<BR>>>><BR>>>><BR>>>><BR>>>> \
<BR>>>><BR>>>Installed openldap with these
options:<BR>>>./configure --prefix=/usr --disable-slapd --disable-debug
--with-tls<BR>>><BR>>><BR>>>
<BR>>><BR>>>>----- Original Message ----- <BR>>>>From:
"Andrew Afliatunov" <andy@taom.ru><BR>>>>To: "Mark Toung"
<mark@giddieup.net><BR>>>>Cc:
<pamldap@padl.com><BR>>>>Sent: Friday, June 25, 2004 11:27
PM<BR>>>>Subject: Re: [pamldap] Compiling on
Solaris<BR>>>><BR>>>><BR>>>><BR>>>><BR>>>> \
<BR>>>><BR>>>>>Mark Toung
wrote:<BR>>>>><BR>>>>><BR>>>>><BR>>>>> \
<BR>>>>><BR>>>>>>I'm not sure if pamldap works with
the sun one. I had to setup
openldap<BR>>>>>><BR>>>>>><BR>>>>>> \
<BR>>>>>><BR>>>>for my solaris 8 to make it
work<BR>>>><BR>>>><BR>>>>
<BR>>>><BR>>>>>> \
<BR>>>>>><BR>>>>>Ok. I also think, that I need
openldap, but with its libraries even<BR>>>>>'./configure
--with-ldap-lib=openldap --with-ldap-dir=/usr' doesn't work<BR>>>>>-
'configure: error: could not locate a valid LDAP
library'<BR>>>>>?<BR>>>>><BR>>>>>--
<BR>>>>>Andrew.<BR>>>>> \
<BR>>>>><BR><BR><BR></DIV></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic