[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>&nbsp;</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>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>RCA<BR>--<BR>Unix Administrator<BR>Desk: 763-572-6684<BR>Pager: 
952-235-9936</DIV>
<DIV><BR>&gt;&gt;&gt; Andrew Afliatunov &lt;andy@taom.ru&gt; 06/29/04 07:55AM 
&gt;&gt;&gt;<BR>Mark Toung wrote:<BR><BR>&gt;you prob forgot some LDFLAGS or 
CPPFLAGS..<BR>&gt;<BR>&gt;&nbsp; <BR>&gt;<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>&gt;----- Original Message ----- 
<BR>&gt;From: "Andrew Afliatunov" &lt;andy@taom.ru&gt;<BR>&gt;To: "Mark Toung" 
&lt;mark@giddieup.net&gt;<BR>&gt;Cc: &lt;pamldap@padl.com&gt;<BR>&gt;Sent: 
Sunday, June 27, 2004 11:05 PM<BR>&gt;Subject: Re: [pamldap] Compiling on 
Solaris<BR>&gt;<BR>&gt;<BR>&gt;&nbsp; <BR>&gt;<BR>&gt;&gt;Mark Toung 
wrote:<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&gt;<BR>&gt;&gt;&gt;what was the configure line that you used to compile 
openldap with? u<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&gt;&gt;<BR>&gt;just<BR>&gt;&nbsp; <BR>&gt;<BR>&gt;&gt;&gt;put it in 
/usr 
directory?<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;<BR>&gt;&gt;Installed openldap with these 
options:<BR>&gt;&gt;./configure --prefix=/usr --disable-slapd --disable-debug 
--with-tls<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&gt;<BR>&gt;&gt;&gt;----- Original Message ----- <BR>&gt;&gt;&gt;From: 
"Andrew Afliatunov" &lt;andy@taom.ru&gt;<BR>&gt;&gt;&gt;To: "Mark Toung" 
&lt;mark@giddieup.net&gt;<BR>&gt;&gt;&gt;Cc: 
&lt;pamldap@padl.com&gt;<BR>&gt;&gt;&gt;Sent: Friday, June 25, 2004 11:27 
PM<BR>&gt;&gt;&gt;Subject: Re: [pamldap] Compiling on 
Solaris<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;Mark Toung 
wrote:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;I'm not sure if pamldap works with 
the sun one. I had to setup 
openldap<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;for my solaris 8 to make it 
work<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;Ok. I also think, that I need 
openldap, but with its libraries even<BR>&gt;&gt;&gt;&gt;'./configure 
--with-ldap-lib=openldap --with-ldap-dir=/usr' doesn't work<BR>&gt;&gt;&gt;&gt;- 
'configure: error: could not locate a valid LDAP 
library'<BR>&gt;&gt;&gt;&gt;?<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;-- 
<BR>&gt;&gt;&gt;&gt;Andrew.<BR>&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
 <BR>&gt;&gt;&gt;&gt;<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