[Openca-Users] Approving a Requested Certificate

2001-08-02 Thread Kevin Elliott

I am unable to approve certificates in IE, since the crypto signing
functionality has not been built out. I may attempt to build that
soon... But first, I am unable to approve in Netscape either. Nothing
happens, and occasionally I can see a small box pop up and then disappear
quickly. I have tried with Netscape 4.72 and 4.78. Also, I am unable
to import the CA cert from IE or Netscape. IE can SAVE the file as a .cer
DER x.509, but it is unable to import it. Netscape pops up a box saying
No Data, or something to that effect. Anyone know how to solve either of
these situations?

Much Regards,

Kevin Elliott

___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] Newer Versions

2001-08-02 Thread Kevin Elliott

Robert,

Thanks for the clarification, that helped very much.

-Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Hannemann
Sent: Wednesday, August 01, 2001 9:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [Openca-Users] Newer Versions


Kevin Elliott wrote:
>
Good Morning,

you have to use the openssl-SNAP-20010307.tar.gz e.g. from

ftp://ftp.dti.ad.jp/pub/net/OpenCA/tools/

please take a look at the openssl user mailing list, there are
infoamtions about the used libraries.

Regards,
Robert


> In response to my own message, I did some more research, and looked in my
> web server's error log, and found:
>
> unknown option -subj
> req [options] outfile
> where options  are
>  -inform arginput format - DER or PEM
>  -outform arg   output format - DER or PEM
>  -in arginput file
>  -out arg   output file
>  -text  text form of request
>  -noout do not output REQ
>  -verifyverify signature on REQ
>  -modulus   RSA modulus
>  -nodes don't encrypt the output key
>  -key file  use the private key contained in file
>  -keyform arg   key file format
>  -keyout argfile to send the key to
>  -rand file:file:...
> load the file (or the files in the directory) into
> the random number generator
>  -newkey rsa:bits generate a new RSA key of 'bits' in size
>  -newkey dsa:file generate a new DSA key, parameters taken from CA in
'file'
>  -[digest]  Digest to sign with (md5, sha1, md2, mdc2)
>  -config file   request template file.
>  -new   new request.
>  -x509  output a x509 structure instead of a cert. req.
>  -days  number of days a x509 generated by -x509 is valid for.
>  -newhdroutput "NEW" in the header lines
>  -asn1-kludge   Output the 'request' in a format that is wrong but some
CA's
> have been reported as requiring
>  -extensions .. specify certificate extension section (override value in
> config file)
>  -reqexts ..specify request extension section (override value in
config
> file)
> Can't call method "getTXT" on an undefined value at cmds/genCAReq line 70,
>  line 32.
> Compilation failed in require at /home/apache/cgi-bin/ca/ca line 160, 
> line 32.
>
> This tells me that I'm probably using the wrong OpenSSL version since a
flag
> does not exist for the current one installed. I have OpenSSL 0.9.6 24 Sep
> 2000 installed, but I updated it to a 2001Jul30 snapshot, and I still get
> the same error.
>
> -Kevin Elliott
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
> Elliott
> Sent: Wednesday, August 01, 2001 4:57 PM
> To: Openca-Users
> Subject: [Openca-Users] Newer Versions
>
> Greetings,
>
> Just like to let everyone know that OpenCA 0.8.0 branch is working _MUCH_
> better for me. Congrats! Much cleaner install using configure too. I'm
> having problems generating the CA request though. I have no problem using
> the interface to create the Key, which i confirmed is at
> /usr/local/OpenCA/private/cakey.pem. But, when I generate the CA request,
I
> get a blank screen, and view source shows that the html was completed,
just
> no content in the middle of the source. The file careq.pem is not created.
>
> Any ideas?
>
> Also, maybe it's time to put the PRE-0.8.0 stuff at the top of the distro
> pages so people don't get confused, like I did ;]
>
> -Kevin Elliott
>
> ___
> Openca-Users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/openca-users
>
> ___
> Openca-Users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/openca-users

___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] Newer Versions

2001-08-01 Thread Kevin Elliott

In response to my own message, I did some more research, and looked in my
web server's error log, and found:

unknown option -subj
req [options] outfile
where options  are
 -inform arginput format - DER or PEM
 -outform arg   output format - DER or PEM
 -in arginput file
 -out arg   output file
 -text  text form of request
 -noout do not output REQ
 -verifyverify signature on REQ
 -modulus   RSA modulus
 -nodes don't encrypt the output key
 -key file  use the private key contained in file
 -keyform arg   key file format
 -keyout argfile to send the key to
 -rand file:file:...
load the file (or the files in the directory) into
the random number generator
 -newkey rsa:bits generate a new RSA key of 'bits' in size
 -newkey dsa:file generate a new DSA key, parameters taken from CA in 'file'
 -[digest]  Digest to sign with (md5, sha1, md2, mdc2)
 -config file   request template file.
 -new   new request.
 -x509  output a x509 structure instead of a cert. req.
 -days  number of days a x509 generated by -x509 is valid for.
 -newhdroutput "NEW" in the header lines
 -asn1-kludge   Output the 'request' in a format that is wrong but some CA's
have been reported as requiring
 -extensions .. specify certificate extension section (override value in
config file)
 -reqexts ..specify request extension section (override value in config
file)
Can't call method "getTXT" on an undefined value at cmds/genCAReq line 70,
 line 32.
Compilation failed in require at /home/apache/cgi-bin/ca/ca line 160, 
line 32.

This tells me that I'm probably using the wrong OpenSSL version since a flag
does not exist for the current one installed. I have OpenSSL 0.9.6 24 Sep
2000 installed, but I updated it to a 2001Jul30 snapshot, and I still get
the same error.

-Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
Elliott
Sent: Wednesday, August 01, 2001 4:57 PM
To: Openca-Users
Subject: [Openca-Users] Newer Versions


Greetings,

Just like to let everyone know that OpenCA 0.8.0 branch is working _MUCH_
better for me. Congrats! Much cleaner install using configure too. I'm
having problems generating the CA request though. I have no problem using
the interface to create the Key, which i confirmed is at
/usr/local/OpenCA/private/cakey.pem. But, when I generate the CA request, I
get a blank screen, and view source shows that the html was completed, just
no content in the middle of the source. The file careq.pem is not created.

Any ideas?

Also, maybe it's time to put the PRE-0.8.0 stuff at the top of the distro
pages so people don't get confused, like I did ;]

-Kevin Elliott



___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



[Openca-Users] Newer Versions

2001-08-01 Thread Kevin Elliott

Greetings,

Just like to let everyone know that OpenCA 0.8.0 branch is working _MUCH_
better for me. Congrats! Much cleaner install using configure too. I'm
having problems generating the CA request though. I have no problem using
the interface to create the Key, which i confirmed is at
/usr/local/OpenCA/private/cakey.pem. But, when I generate the CA request, I
get a blank screen, and view source shows that the html was completed, just
no content in the middle of the source. The file careq.pem is not created.

Any ideas?

Also, maybe it's time to put the PRE-0.8.0 stuff at the top of the distro
pages so people don't get confused, like I did ;]

-Kevin Elliott



___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] No Net::LDAPapi necessary

2001-07-31 Thread Kevin Elliott

I downloaded OpenCA-0.2.0-5.tar.gz 26 Jan 2001 0.2.0 patch 5 (Unstable -
Release Info) .

Whatever versions come in that package, is the one I've been using. They are
the "stable" distributions. I believe a new package should be release under
the stable from pre 0.8.0 then, because it's clear those releases are much
more stable than the existing ones which have had numerous problems.

Is there CVS access?

-Kevin Elliott


> Kevin Elliott wrote:
> >
> > Michael,
> >
> > Thanks for the clarification. Although, the cgi still requires
> Net::LDAPapi
> > so I'm assuming you have sub/includes still?
>
> I can't find Net::LDAPapi on my machine (I search via find / -name
> "*LDAP*" -print). What do you mean with "the cgi"?

it looks like you two are speaking about very different openca versions,
the very old 0.2.0 and the bleeding edge, resp.
when i grep in the versions i've got installed here, i get:

/usr/local/apache-1.3.20/cgi-bin/openca-0.2.0-5/ra/RAServer:#use
Net::LDAPapi;
/usr/local/apache-1.3.20/cgi-bin/openca-0.2.0-5/ra/RAServer:if(
($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port)) == -1) {
/usr/local/apache-1.3.20/cgi-bin/openca-0.2.0-5/ra/RAServer:if(
($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port)) == -1) {
/usr/local/apache-1.3.20/cgi-bin/openca-0.2.0-5/ra/RAServer:if(
($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port)) == -1) {
/usr/local/apache-1.3.20/cgi-bin/openca-0.8.0-20010610/ra/RAServer:use
Net::LDAP;
/usr/local/apache-1.3.20/cgi-bin/openca-20010309/ra/RAServer:use Net::LDAP;
/usr/local/apache-1.3.20/cgi-bin/openca-20010326/ra/RAServer:use Net::LDAP;
/usr/local/apache-1.3.20/cgi-bin/openca-20010427/ra/RAServer:use Net::LDAP;

rj





___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] ie_enroll.scp

2001-07-31 Thread Kevin Elliott

Robert,

Sorry for my confusion, but are you developing an IE interface to
the CAPI with Javascript or VBScript in order to successfully
generate a certificate request and install the cert using CryptoAPI
in Windows?

Best Regards,

Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Hannemann
Sent: Tuesday, July 31, 2001 6:30 AM
To: [EMAIL PROTECTED]
Subject: [Openca-Users] ie_enroll.scp


Hello, 

in the ie_enroll.scp there are the following lines

  if( checkField( myForm.locality, "Organization" )) {
  szName += ", L=" + myForm.locality.value; 

and 

  if( checkField( myForm.state, "Organization" )) {
  szName += ", S=" + myForm.organization.value; 

is it o.k. to check against "Organization" and in the second part to
append the organization value ?

Also i get an error (in the browser bottom-line ) when i confirm the
ie-cert request with an IE - nothing happens when i press "continue" .
How can i watch those errors ( any log files ) ?

Thanks for your help,

Robert

___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] Net::LDAPapi Module compile fails

2001-07-31 Thread Kevin Elliott

I'm still not able to APPROVE certificates. It just redraws the screen with
no edittable fields, and the same buttons. I'm guessing it is suppose to ask
the browser to sign the request? Any ideas?

Thanks in advance...

Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
Elliott
Sent: Monday, July 30, 2001 10:12 AM
To: [EMAIL PROTECTED]
Subject: RE: [Openca-Users] Net::LDAPapi Module compile fails


To all regarding this issue, that perl problem was solved 20 minutes after
I faced the problem by simply relinking /usr/local/bin/perl to a 5.003
version as I stated before. The "na" problem went away. There were still
pointer dereferencing issues that showed up everywhere. It was finally
solved by using OpenLDAP 1.2.2 instead of 2.0.1. I'm guessing there are some
changes in 2.0.1 from 1.2.2, more specifically, things like void pointers
in front of integer definitions, and the like, instead of raw integers.

So, I thankfully got that part working. Only thing now, is I can't get a
certificate approved now. I click the approve, and then it shows me the
same page with no fields, and just text for the cert details, and has
the approve button. Very odd.

-Kevin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of root
Sent: Monday, July 30, 2001 3:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails


Kevin Elliott wrote:
>
> Robert,
>
> Thanks for the assistance. Unfortunately, that post did not help and was
> slightly
> unrelated. In that post, a variable "na" was not defined. In my particular
> case,
> it's very different. I've tried 1.42 and 1.43 of Net::LDAPapi as well.
Both
> with
> the same results. I have also tried using just Perl 5.003, and 5.6.
>
> Anyone else know what's wrong?
>
> -Kevin Elliott
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert
> Hannemann
> Sent: Friday, July 27, 2001 3:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails
>
> Hi Kevin,
>
> i´ve found a mail in the openssl mailinglist - hope this will help ...
>
>
http://www.openldap.org/cgi-bin/wilma_hiliter/openldap-software/28/msg00
> 377.html
>
> Regards,
>
> Robert
>
> Kevin Elliott wrote:
> >
> > Greetings,
> >
> > I've been attempting to install the Net::LDAPapi perl module, but there
> are
> > some conflicts
> > and problems with the libs and includes for OpenLDAP 2.0.1. Any ideas?
I'm
> > including the compile log.
> >
> > Thanks,
> >
> > Kevin
> >
> > Net::LDAPapi Perl5 Module - by Clayton Donley <[EMAIL PROTECTED]>
> >
> > Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),
> >  (default: /usr/local/bin/perl)?
> >
> > Select your Development Kit:
> >   1.  Netscape (default)
> >   2.  University of Michigan
> >   3.  ISODE (compiled with LDAP)
> > Choose: 2
> > Location of LDAP Include Files (default: /usr/include):
> > Location of LDAP Library Files (default: /usr/lib):
> > Using Kerberos for Authentication (default: n)?
> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for Net::LDAPapi
> > mkdir blib
> > mkdir blib/lib
> > mkdir blib/lib/Net
> > mkdir blib/arch
> > mkdir blib/arch/auto
> > mkdir blib/arch/auto/Net
> > mkdir blib/arch/auto/Net/LDAPapi
> > mkdir blib/lib/auto
> > mkdir blib/lib/auto/Net
> > mkdir blib/lib/auto/Net/LDAPapi
> > mkdir blib/man3
> > cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
> > AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
> > /usr/local/bin/perl constant.gen >constant.h
> >
>
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5
> > /5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
> > /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap LDAPapi.xs
>
> > LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
> >
cc -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>
>-DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fpic -I/usr/local/lib/perl5/5
> .6
> > .0/i686-linux/CORE -Dbool=char -DHAS_BOOL LDAPapi.c
> > In file included from LDAPapi.xs:21:
> > ldap_compat.h:14: warning: `LDAP_OPT_DEREF' redefined
> > /usr/include/ldap.h:88: warning: this is the location of the previous
> > definition
> > ldap_compat.h:15: warning: `LDAP_OPT_SIZELIMIT' redefined
> > /usr/include/ldap.h:89: warning: this is the location of

RE: [Openca-Users] No Net::LDAPapi necessary

2001-07-31 Thread Kevin Elliott

The perl that gets executed from Apache is CGI. It sits in a cgi directory,
and gets executed like a cgi would. Hence, it's a cgi. So, with that in
mind,
without Net::LDAPapi installed, you will not be able to execute these cgis.
Perl will exit saying it can't find the module you are trying to include.

Puzzles me how you dont have a file with that name.

[root@web1 cgi-bin]# grep Net *
RAServer:use Net::LDAPapi;
RAServer:if( ($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port))
== -1) {
RAServer:if( ($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port))
== -1) {
RAServer:if( ($ldap = new Net::LDAPapi($LDAP_Server,$LDAP_Port))
== -1) {

-Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael
Bell
Sent: Tuesday, July 31, 2001 4:43 AM
To: [EMAIL PROTECTED]
Subject: Re: [Openca-Users] No Net::LDAPapi necessary


Kevin Elliott wrote:
>
> Michael,
>
> Thanks for the clarification. Although, the cgi still requires
Net::LDAPapi
> so I'm assuming you have sub/includes still?

I can't find Net::LDAPapi on my machine (I search via find / -name
"*LDAP*" -print). What do you mean with "the cgi"?

Cheers,

Michael
--

Michael Bell Email: [EMAIL PROTECTED]
Rechenzentrum - DatacenterEmail (work):
[EMAIL PROTECTED]
Humboldt-University of Berlin   Tel.(work): +49 (0)30-2093 2482
Unter den Linden 6  Fax.(work): +49 (0)30-2093 2959
10099 Berlin
Germany  [OpenCA Core
Developer]

http://openca.sourceforge.net


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] No Net::LDAPapi necessary

2001-07-30 Thread Kevin Elliott

Michael,

Thanks for the clarification. Although, the cgi still requires Net::LDAPapi
so I'm assuming you have sub/includes still?

-Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Michael
Bell
Sent: Monday, July 30, 2001 5:31 AM
To: [EMAIL PROTECTED]
Subject: [Openca-Users] No Net::LDAPapi necessary


Hi,

I have to apologize me to all people who ask for Net::LDAPapi for the
complete wrong answers.

There is a big different between Net::LDAP and Net::LDAPapi. OpenCA uses
Net::LDAP and NOT Net::LDAPapi. So please install Net::LDAP (>=v0.22)
and all should work fine. (I realize my mistake only when I saw the
versionnumbers of Net::LDAPapi.)

Sorry for wasting your time :-(

Cheers,

Michael
--

Michael Bell Email: [EMAIL PROTECTED]
Rechenzentrum - DatacenterEmail (work):
[EMAIL PROTECTED]
Humboldt-University of Berlin   Tel.(work): +49 (0)30-2093 2482
Unter den Linden 6  Fax.(work): +49 (0)30-2093 2959
10099 Berlin
Germany  [OpenCA Core
Developer]

http://openca.sourceforge.net


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users



RE: [Openca-Users] Net::LDAPapi Module compile fails

2001-07-30 Thread Kevin Elliott

To all regarding this issue, that perl problem was solved 20 minutes after
I faced the problem by simply relinking /usr/local/bin/perl to a 5.003
version as I stated before. The "na" problem went away. There were still
pointer dereferencing issues that showed up everywhere. It was finally
solved by using OpenLDAP 1.2.2 instead of 2.0.1. I'm guessing there are some
changes in 2.0.1 from 1.2.2, more specifically, things like void pointers
in front of integer definitions, and the like, instead of raw integers.

So, I thankfully got that part working. Only thing now, is I can't get a
certificate approved now. I click the approve, and then it shows me the
same page with no fields, and just text for the cert details, and has
the approve button. Very odd.

-Kevin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of root
Sent: Monday, July 30, 2001 3:31 AM
To: [EMAIL PROTECTED]
Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails


Kevin Elliott wrote:
>
> Robert,
>
> Thanks for the assistance. Unfortunately, that post did not help and was
> slightly
> unrelated. In that post, a variable "na" was not defined. In my particular
> case,
> it's very different. I've tried 1.42 and 1.43 of Net::LDAPapi as well.
Both
> with
> the same results. I have also tried using just Perl 5.003, and 5.6.
>
> Anyone else know what's wrong?
>
> -Kevin Elliott
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert
> Hannemann
> Sent: Friday, July 27, 2001 3:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails
>
> Hi Kevin,
>
> i´ve found a mail in the openssl mailinglist - hope this will help ...
>
>
http://www.openldap.org/cgi-bin/wilma_hiliter/openldap-software/28/msg00
> 377.html
>
> Regards,
>
> Robert
>
> Kevin Elliott wrote:
> >
> > Greetings,
> >
> > I've been attempting to install the Net::LDAPapi perl module, but there
> are
> > some conflicts
> > and problems with the libs and includes for OpenLDAP 2.0.1. Any ideas?
I'm
> > including the compile log.
> >
> > Thanks,
> >
> > Kevin
> >
> > Net::LDAPapi Perl5 Module - by Clayton Donley <[EMAIL PROTECTED]>
> >
> > Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),
> >  (default: /usr/local/bin/perl)?
> >
> > Select your Development Kit:
> >   1.  Netscape (default)
> >   2.  University of Michigan
> >   3.  ISODE (compiled with LDAP)
> > Choose: 2
> > Location of LDAP Include Files (default: /usr/include):
> > Location of LDAP Library Files (default: /usr/lib):
> > Using Kerberos for Authentication (default: n)?
> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for Net::LDAPapi
> > mkdir blib
> > mkdir blib/lib
> > mkdir blib/lib/Net
> > mkdir blib/arch
> > mkdir blib/arch/auto
> > mkdir blib/arch/auto/Net
> > mkdir blib/arch/auto/Net/LDAPapi
> > mkdir blib/lib/auto
> > mkdir blib/lib/auto/Net
> > mkdir blib/lib/auto/Net/LDAPapi
> > mkdir blib/man3
> > cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
> > AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
> > /usr/local/bin/perl constant.gen >constant.h
> >
>
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5
> > /5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
> > /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap LDAPapi.xs
>
> > LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
> >
cc -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>
>-DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fpic -I/usr/local/lib/perl5/5
> .6
> > .0/i686-linux/CORE -Dbool=char -DHAS_BOOL LDAPapi.c
> > In file included from LDAPapi.xs:21:
> > ldap_compat.h:14: warning: `LDAP_OPT_DEREF' redefined
> > /usr/include/ldap.h:88: warning: this is the location of the previous
> > definition
> > ldap_compat.h:15: warning: `LDAP_OPT_SIZELIMIT' redefined
> > /usr/include/ldap.h:89: warning: this is the location of the previous
> > definition
> > ldap_compat.h:16: warning: `LDAP_OPT_TIMELIMIT' redefined
> > /usr/include/ldap.h:90: warning: this is the location of the previous
> > definition
> > ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
> > /usr/include/ldap.h:92: warning: this is the location of the previous
> > definition
> > ldap_compat.h:19: warning: `LDAP_OPT_ON' redefined
> > /usr/inc

RE: [Openca-Users] Net::LDAPapi Module compile fails

2001-07-27 Thread Kevin Elliott

Robert,

Thanks for the assistance. Unfortunately, that post did not help and was
slightly
unrelated. In that post, a variable "na" was not defined. In my particular
case,
it's very different. I've tried 1.42 and 1.43 of Net::LDAPapi as well. Both
with
the same results. I have also tried using just Perl 5.003, and 5.6.

Anyone else know what's wrong?

-Kevin Elliott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Hannemann
Sent: Friday, July 27, 2001 3:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails


Hi Kevin,

i´ve found a mail in the openssl mailinglist - hope this will help ...

http://www.openldap.org/cgi-bin/wilma_hiliter/openldap-software/28/msg00
377.html

Regards,

Robert


Kevin Elliott wrote:
>
> Greetings,
>
> I've been attempting to install the Net::LDAPapi perl module, but there
are
> some conflicts
> and problems with the libs and includes for OpenLDAP 2.0.1. Any ideas? I'm
> including the compile log.
>
> Thanks,
>
> Kevin
>
> Net::LDAPapi Perl5 Module - by Clayton Donley <[EMAIL PROTECTED]>
>
> Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),
>  (default: /usr/local/bin/perl)?
>
> Select your Development Kit:
>   1.  Netscape (default)
>   2.  University of Michigan
>   3.  ISODE (compiled with LDAP)
> Choose: 2
> Location of LDAP Include Files (default: /usr/include):
> Location of LDAP Library Files (default: /usr/lib):
> Using Kerberos for Authentication (default: n)?
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Net::LDAPapi
> mkdir blib
> mkdir blib/lib
> mkdir blib/lib/Net
> mkdir blib/arch
> mkdir blib/arch/auto
> mkdir blib/arch/auto/Net
> mkdir blib/arch/auto/Net/LDAPapi
> mkdir blib/lib/auto
> mkdir blib/lib/auto/Net
> mkdir blib/lib/auto/Net/LDAPapi
> mkdir blib/man3
> cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
> AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
> /usr/local/bin/perl constant.gen >constant.h
>
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5
> /5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
> /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap LDAPapi.xs >
> LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
> cc -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
>-DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fpic -I/usr/local/lib/perl5/5
.6
> .0/i686-linux/CORE -Dbool=char -DHAS_BOOL LDAPapi.c
> In file included from LDAPapi.xs:21:
> ldap_compat.h:14: warning: `LDAP_OPT_DEREF' redefined
> /usr/include/ldap.h:88: warning: this is the location of the previous
> definition
> ldap_compat.h:15: warning: `LDAP_OPT_SIZELIMIT' redefined
> /usr/include/ldap.h:89: warning: this is the location of the previous
> definition
> ldap_compat.h:16: warning: `LDAP_OPT_TIMELIMIT' redefined
> /usr/include/ldap.h:90: warning: this is the location of the previous
> definition
> ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
> /usr/include/ldap.h:92: warning: this is the location of the previous
> definition
> ldap_compat.h:19: warning: `LDAP_OPT_ON' redefined
> /usr/include/ldap.h:151: warning: this is the location of the previous
> definition
> ldap_compat.h:20: warning: `LDAP_OPT_OFF' redefined
> /usr/include/ldap.h:152: warning: this is the location of the previous
> definition
> LDAPapi.xs: In function `av2modvals':
> LDAPapi.xs:95: `na' undeclared (first use in this function)
> LDAPapi.xs:95: (Each undeclared identifier is reported only once
> LDAPapi.xs:95: for each function it appears in.)
> LDAPapi.xs: In function `parse1mod':
> LDAPapi.xs:197: `na' undeclared (first use in this function)
> LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_option':
> LDAPapi.xs:385: dereferencing pointer to incomplete type
> LDAPapi.xs:386: dereferencing pointer to incomplete type
> LDAPapi.xs:387: dereferencing pointer to incomplete type
> LDAPapi.xs:389: dereferencing pointer to incomplete type
> LDAPapi.xs:390: dereferencing pointer to incomplete type
> LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_get_option':
> LDAPapi.xs:407: dereferencing pointer to incomplete type
> LDAPapi.xs:408: dereferencing pointer to incomplete type
> LDAPapi.xs:409: dereferencing pointer to incomplete type
> LDAPapi.xs:410: dereferencing pointer to incomplete type
> LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search':
> LDAPapi.xs:578: `na' undeclared (first use in this function)
> LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_s':
> LDAPapi.xs:614: `na'

[Openca-Users] Net::LDAPapi Module compile fails

2001-07-26 Thread Kevin Elliott

Greetings,

I've been attempting to install the Net::LDAPapi perl module, but there are
some conflicts
and problems with the libs and includes for OpenLDAP 2.0.1. Any ideas? I'm
including the compile log.

Thanks,

Kevin



Net::LDAPapi Perl5 Module - by Clayton Donley <[EMAIL PROTECTED]>

Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),
 (default: /usr/local/bin/perl)?

Select your Development Kit:
  1.  Netscape (default)
  2.  University of Michigan
  3.  ISODE (compiled with LDAP)
Choose: 2
Location of LDAP Include Files (default: /usr/include):
Location of LDAP Library Files (default: /usr/lib):
Using Kerberos for Authentication (default: n)?
Checking if your kit is complete...
Looks good
Writing Makefile for Net::LDAPapi
mkdir blib
mkdir blib/lib
mkdir blib/lib/Net
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Net
mkdir blib/arch/auto/Net/LDAPapi
mkdir blib/lib/auto
mkdir blib/lib/auto/Net
mkdir blib/lib/auto/Net/LDAPapi
mkdir blib/man3
cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
/usr/local/bin/perl constant.gen >constant.h
/usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5
/5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap LDAPapi.xs >
LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
cc -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2  
   -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fpic -I/usr/local/lib/perl5/5.6
.0/i686-linux/CORE -Dbool=char -DHAS_BOOL LDAPapi.c
In file included from LDAPapi.xs:21:
ldap_compat.h:14: warning: `LDAP_OPT_DEREF' redefined
/usr/include/ldap.h:88: warning: this is the location of the previous
definition
ldap_compat.h:15: warning: `LDAP_OPT_SIZELIMIT' redefined
/usr/include/ldap.h:89: warning: this is the location of the previous
definition
ldap_compat.h:16: warning: `LDAP_OPT_TIMELIMIT' redefined
/usr/include/ldap.h:90: warning: this is the location of the previous
definition
ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
/usr/include/ldap.h:92: warning: this is the location of the previous
definition
ldap_compat.h:19: warning: `LDAP_OPT_ON' redefined
/usr/include/ldap.h:151: warning: this is the location of the previous
definition
ldap_compat.h:20: warning: `LDAP_OPT_OFF' redefined
/usr/include/ldap.h:152: warning: this is the location of the previous
definition
LDAPapi.xs: In function `av2modvals':
LDAPapi.xs:95: `na' undeclared (first use in this function)
LDAPapi.xs:95: (Each undeclared identifier is reported only once
LDAPapi.xs:95: for each function it appears in.)
LDAPapi.xs: In function `parse1mod':
LDAPapi.xs:197: `na' undeclared (first use in this function)
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_option':
LDAPapi.xs:385: dereferencing pointer to incomplete type
LDAPapi.xs:386: dereferencing pointer to incomplete type
LDAPapi.xs:387: dereferencing pointer to incomplete type
LDAPapi.xs:389: dereferencing pointer to incomplete type
LDAPapi.xs:390: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_get_option':
LDAPapi.xs:407: dereferencing pointer to incomplete type
LDAPapi.xs:408: dereferencing pointer to incomplete type
LDAPapi.xs:409: dereferencing pointer to incomplete type
LDAPapi.xs:410: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search':
LDAPapi.xs:578: `na' undeclared (first use in this function)
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_s':
LDAPapi.xs:614: `na' undeclared (first use in this function)
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_st':
LDAPapi.xs:660: `na' undeclared (first use in this function)
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_msgid':
LDAPapi.xs:747: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_msgtype':
LDAPapi.xs:757: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_get_lderrno':
LDAPapi.xs:769: dereferencing pointer to incomplete type
LDAPapi.xs:770: dereferencing pointer to incomplete type
LDAPapi.xs:771: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_lderrno':
LDAPapi.xs:787: dereferencing pointer to incomplete type
LDAPapi.xs:788: dereferencing pointer to incomplete type
LDAPapi.xs:789: dereferencing pointer to incomplete type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_rebind_proc':
LDAPapi.xs:1016: warning: passing arg 2 of `ldap_set_rebind_proc' from
incompatible pointer type
LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_url_parse':
LDAPapi.xs:1137: `sv_undef' undeclared (first use in this function)
make: *** [LDAPapi.o] Error 1


___
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users