disabling rlm_x99_token
Hi all, how can I stop the rlm_x99_token module from being compiled in? I get the following error and can't figure out how to fix it. /usr/ccs/bin/ld -G -h rlm_x99_token-1.0.0-pre3.so -o .libs/rlm_x99_token-1.0.0-pre3.so x99_rlm.lo x99_util.lo x99_state.lo x99_mac.lo x99_sync.lo x99_site.lo x99_pwe.lo x99_log.lo -lcrypto -lnsl -lresolv -lsocket -lposix4 -lpthread -L/usr/local/ssl/lib -lcrypto -lssl -lc ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to .libs/rlm_x99_token-1.0.0-pre3.so make[6]: *** [rlm_x99_token.la] Error 1 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules/rlm_x99_token' make[5]: *** [common] Error 1 make[5]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules' make[4]: *** [all] Error 2 make[4]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules' make[3]: *** [common] Error 1 make[3]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src' make[1]: *** [common] Error 1 make[1]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3' make: *** [all] Error 2 I assume I don't need this module for any core functionality? Thanks Cameron - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: linking error / libcrypto / Solaris 8
Cameron Gregg wrote: Hi all, I'm getting a linking error I'm using freeradius-1.0.0-pre2 on Solaris 8. The error is: /usr/ccs/bin/ld -G -h rlm_x99_token-1.0.0-pre2.so -o .libs/rlm_x99_token-1.0.0-pre2.so x99_rlm.lo x99_util.lo x99_state.lo x99_mac.lo x99_sync.lo x99_site.lo x99_pwe.lo x99_log.lo -lcrypto -lnsl -lresolv -lsocket -lposix4 -lpthread -L/usr/local/ssl/lib -lcrypto -lssl -lc ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to .libs/rlm_x99_token-1.0.0-pre2.so make[6]: *** [rlm_x99_token.la] Error 1 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules/rlm_x99_token' make[5]: *** [common] Error 1 make[5]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules' make[4]: *** [all] Error 2 make[4]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules' make[3]: *** [common] Error 1 make[3]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src' make[1]: *** [common] Error 1 make[1]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2' make: *** [all] Error 2 # my configure line is: ./configure --prefix=/usr/local/radius --with-logdir=/var/log/radius --with-openssl-includes=/usr/local/ssl/include --with-openssl-libraries=/usr/local/ssl/lib --with-rlm-ldap-lib-dir=/usr/local/openldap/lib --with-rlm-ldap-include-dir=/usr/local/openldap/include and it seems libcrypto is where I tell configure it is: # ls /usr/local/ssl/lib/ libcrypto.a libcrypto.so.0 libssl.alibssl.so.0 pkgconfig libcrypto.solibcrypto.so.0.9.7 libssl.so libssl.so.0.9.7 # Any ideas? Thanks heaps Cameron Again I am getting this error still with 1.0.0-pre3. Same setup, same configure. Has anybody got any idea how I can fix this? Thanks Cam /usr/ccs/bin/ld -G -h rlm_x99_token-1.0.0-pre3.so -o .libs/rlm_x99_token-1.0.0-pre3.so x99_rlm.lo x99_util.lo x99_state.lo x99_mac.lo x99_sync.lo x99_site.lo x99_pwe.lo x99_log.lo -lcrypto -lnsl -lresolv -lsocket -lposix4 -lpthread -L/usr/local/ssl/lib -lcrypto -lssl -lc ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to .libs/rlm_x99_token-1.0.0-pre3.so make[6]: *** [rlm_x99_token.la] Error 1 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules/rlm_x99_token' make[5]: *** [common] Error 1 make[5]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules' make[4]: *** [all] Error 2 make[4]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src/modules' make[3]: *** [common] Error 1 make[3]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3/src' make[1]: *** [common] Error 1 make[1]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre3' make: *** [all] Error 2 # - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Freeradius-Users digest, Vol 1 (Re: Won't run on Solais 8)
Ken Connell wrote: PATH = /usr/local/bin:/usr/bin:/usr/sbin:/usr/ucb: Radiusd is in /usr/local/sbin libradius-0.9.3.so is in /usr/local/lib/ What is crle ? (I'm a bit of a Linux/Unix newbie). Ken Connell crle (on solaris), it sets/shows the library paths. A bit like ldconfig on linux i think. run crle and see what the output is. Mine looks like this: $ crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/usr/local/ssl/lib Trusted Directories (ELF):/usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib $ You need to make sure /usr/local/lib is in your default library path. If is isn't, you will need to do something like: $crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib I'm a bit sketchy on all this myself, I'm just passing on what has worked for me. Of course you should be able to do a 'man crle' to get all the nitty-gritty info. If /usr/local/lib is already there (in your default path) then I'm not sure why your library can't be foundmaybe something to do with the way freeradius was compiled. I find solaris very frustrating at times, especially using GNU tools mixed with sun tools. Hope this helps. Cam PS you can also use ldd to see what libraries it needs and if it can find them. Intermediate Network Engineer Computer & Communication Services Ryerson University 350 Victoria St RM AB50 --__--__-- Message: 3 Date: Tue, 15 Jun 2004 09:36:05 +1000 From: Cameron Gregg <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Won't run on Solais 8 Reply-To: [EMAIL PROTECTED] Ken Connell wrote: FreeRadius 0.9.3 It's been great on Redhat, but on a Solaris 8 box I get the following:> fatal: libradius-0.9.3.so: open failed: No such file or directory What directory is your libradius-0.9.3.so in? Also where is radiusd? Could be a library path issuewhat is the output of crle? Cam - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Won't run on Solais 8
Ken Connell wrote: FreeRadius 0.9.3 It's been great on Redhat, but on a Solaris 8 box I get the following: fatal: libradius-0.9.3.so: open failed: No such file or directory What directory is your libradius-0.9.3.so in? Also where is radiusd? Could be a library path issuewhat is the output of crle? Cam - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
linking error / libcrypto / Solaris 8
Hi all, I'm getting a linking error I'm using freeradius-1.0.0-pre2 on Solaris 8. The error is: /usr/ccs/bin/ld -G -h rlm_x99_token-1.0.0-pre2.so -o .libs/rlm_x99_token-1.0.0-pre2.so x99_rlm.lo x99_util.lo x99_state.lo x99_mac.lo x99_sync.lo x99_site.lo x99_pwe.lo x99_log.lo -lcrypto -lnsl -lresolv -lsocket -lposix4 -lpthread -L/usr/local/ssl/lib -lcrypto -lssl -lc ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to .libs/rlm_x99_token-1.0.0-pre2.so make[6]: *** [rlm_x99_token.la] Error 1 make[6]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules/rlm_x99_token' make[5]: *** [common] Error 1 make[5]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules' make[4]: *** [all] Error 2 make[4]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src/modules' make[3]: *** [common] Error 1 make[3]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2/src' make[1]: *** [common] Error 1 make[1]: Leaving directory `/usr/local/src/freeradius-1.0.0-pre2' make: *** [all] Error 2 # my configure line is: ./configure --prefix=/usr/local/radius --with-logdir=/var/log/radius --with-openssl-includes=/usr/local/ssl/include --with-openssl-libraries=/usr/local/ssl/lib --with-rlm-ldap-lib-dir=/usr/local/openldap/lib --with-rlm-ldap-include-dir=/usr/local/openldap/include and it seems libcrypto is where I tell configure it is: # ls /usr/local/ssl/lib/ libcrypto.a libcrypto.so.0 libssl.alibssl.so.0 pkgconfig libcrypto.solibcrypto.so.0.9.7 libssl.so libssl.so.0.9.7 # Any ideas? Thanks heaps Cameron - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Uninstall freeradius???
Henry Le wrote: Hi, I got some errors from running freeradius so I want to start everything from scratch, how can I uninstall freeradius from my system? Thank you Hung What system are you running? How did you install freeradius - from a package or from source? Cam - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: FreeRADIUS and Cisco AP Aironet 1200
José M. Peñúñuri wrote: This is what I am trying to set up: Cisco AP Aironet 1200 authenticating on a FreeRADIUS running on Linux Redhat 9... it is supposed that the clients (which the most run windows XP in their laptops) should authenticate via the freeradius server in order to gain access to the network. I configured FreeRadius the way that it checks the Linux users/passwords (it doesn't use the users.conf file). I have seen a lot (A LOT) of tutorials and how-to's on how to do this but nothing seems to work fine. I don't know what I am doing wrong (or what I am NOT doing). If anyone has done this before I would appreciate a lot your help... thanks Hi Jose, I'm new to radius myself, so I'm not sure if I can be helpful. Firstly, it would be good if you could run freeradius in debugging mode (freeradius -X) and show us the output when the error occurs. A guess at your problem: What user is the freeradius process running as? If it is not root then it may not have read access to the passwd/shadow files that store the users passwords, and then of course can't authenticate. Having said that, it's best not to run processes as root if it is at all possible, for security reasons. Hope this helps. Cam - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html