How do you build a static server?  I tried the following:

  ./configure ... --enable-static

Same error:

      ... snip ...
  Mon Apr 12 12:13:45 2004 : Debug: Module: Loaded eap
  Mon Apr 12 12:13:45 2004 : Debug:  eap: default_eap_type = "md5"
  Mon Apr 12 12:13:45 2004 : Debug:  eap: timer_expire = 60
  Mon Apr 12 12:13:45 2004 : Debug:  tls: rsa_key_exchange = no
  Mon Apr 12 12:13:45 2004 : Debug:  tls: dh_key_exchange = yes
  Mon Apr 12 12:13:45 2004 : Debug:  tls: rsa_key_length = 512
  Mon Apr 12 12:13:45 2004 : Debug:  tls: dh_key_length = 512
  Mon Apr 12 12:13:45 2004 : Debug:  tls: verify_depth = 0
  Mon Apr 12 12:13:45 2004 : Debug:  tls: CA_path = "(null)"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: pem_file_type = yes
  Mon Apr 12 12:13:45 2004 : Debug:  tls: private_key_file = 
"/usr/local/etc/8021x/daemon.spottydogs.org.pem"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: certificate_file = 
"/usr/local/etc/8021x/daemon.spottydogs.org.pem"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: CA_file = "/usr/local/etc/8021x/root.pem"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: private_key_password = "password"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: dh_file = "/usr/local/etc/8021x/DH"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: random_file = "/usr/local/etc/8021x/random"
  Mon Apr 12 12:13:45 2004 : Debug:  tls: fragment_size = 1024
  Mon Apr 12 12:13:45 2004 : Debug:  tls: include_length = yes
  Mon Apr 12 12:13:45 2004 : Error: rlm_eap_tls: conf N ctx stored
  Mon Apr 12 12:13:45 2004 : Debug: rlm_eap: Loaded and initialized the type tls
  Mon Apr 12 12:13:45 2004 : Error: rlm_eap: Failed to link EAP-Type/ttls: file not 
found
  Mon Apr 12 12:13:45 2004 : Error: radiusd.conf[606]: eap: Module instantiation 
failed.

I notice that there really are two errors occuring here: "rlm_eap_tls:
conf N ctx stored" and te "file not found".

What does the first error mean?

It LOOKS like TLS is actually loading; certainly if you don't have the
proper cert files set up you get failures from the module.

  ./configure ... --disable-shared

Builds, installs, fails with EAP loading MD5 and LEAP.  When MD5 and LEAP
are removed generates the same errors as above.

  ./configure ... --with-static-modules="eap eap_tls"

Doesn't build; complains in EAP about not being ablt to find the
"rlm_eap_tls.la" file.

  ./configure ... --with-static-modules="eap"

Builds, installs, fails as above.

  ./configure ... --with-static-modules="eap_tls"

Doesn't build as above.

Advice?

Thanks!

Mike

On Sun, 11 Apr 2004, Alan DeKok wrote:

aland> Mike Newell <[EMAIL PROTECTED]> wrote:
aland> > I have searched the mailing list archives and the Net looking for what's
aland> > happening and have been pretty unsuccessful.  I have:
aland> ...
aland>
aland>   I'd suggest linking the server statically, or trying the latest CVS
aland> snapshot.
aland>
aland>   Alan DeKok.
aland>
aland>
aland> -
aland> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
aland>

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to