FREERADIUS & OPENBSD " I am new to radius"
Hi All, I finely got freeradius to run openBsd thank you all for your help ... I now have a new question for the list, as you can see below I have the server up and running after the configuring Clients, users, naslist, and naspasswd files ... When I test the server with ntradping I receive a response "no response from server request timed out" Is there some thing I have missed in the config , any ideas please to where I should look next Thanx radius# ./radiusd -X Starting - reading configuration files ... reread_config: reading radiusd.conf Config: including file: /usr/local/radius/etc/raddb/proxy.conf Config: including file: /usr/local/radius/etc/raddb/clients.conf Config: including file: /usr/local/radius/etc/raddb/snmp.conf Config: including file: /usr/local/radius/etc/raddb/sql.conf main: prefix = "/usr/local/radius" main: localstatedir = "/usr/local/radius/var" main: logdir = "/usr/local/radius/var/log/radius" main: libdir = "/usr/local/radius/lib" main: radacctdir = "/usr/local/radius/var/log/radius/radacct" main: hostname_lookups = no main: max_request_time = 30 main: cleanup_delay = 5 main: max_requests = 1024 main: delete_blocked_requests = 0 main: port = 0 main: allow_core_dumps = no main: log_stripped_names = no main: log_file = "/usr/local/radius/var/log/radius/radius.log" main: log_auth = no main: log_auth_badpass = no main: log_auth_goodpass = no main: pidfile = "/usr/local/radius/var/run/radiusd/radiusd.pid" main: user = "(null)" main: group = "(null)" main: usercollide = no main: lower_user = "no" main: lower_pass = "no" main: nospace_user = "no" main: nospace_pass = "no" main: checkrad = "/usr/local/radius/sbin/checkrad" main: proxy_requests = yes proxy: retry_delay = 5 proxy: retry_count = 3 proxy: synchronous = no proxy: default_fallback = yes proxy: dead_time = 120 proxy: servers_per_realm = 15 security: max_attributes = 200 security: reject_delay = 1 security: status_server = no main: debug_level = 0 read_config_files: reading dictionary read_config_files: reading naslist read_config_files: reading clients read_config_files: reading realms radiusd: entering modules setup Module: Library search path is /usr/local/radius/lib Module: Loaded expr Module: Instantiated expr (expr) Module: Loaded PAP pap: encryption_scheme = "crypt" Module: Instantiated pap (pap) Module: Loaded CHAP Module: Instantiated chap (chap) Module: Loaded MS-CHAP mschap: ignore_password = no mschap: use_mppe = yes mschap: require_encryption = no mschap: require_strong = no mschap: passwd = "(null)" mschap: authtype = "MS-CHAP" Module: Instantiated mschap (mschap) Module: Loaded System unix: cache = no unix: passwd = "(null)" unix: shadow = "(null)" unix: group = "(null)" unix: radwtmp = "/usr/local/radius/var/log/radius/radwtmp" unix: usegroup = no unix: cache_reload = 600 Module: Instantiated unix (unix) Module: Loaded preprocess preprocess: huntgroups = "/usr/local/radius/etc/raddb/huntgroups" preprocess: hints = "/usr/local/radius/etc/raddb/hints" preprocess: with_ascend_hack = no preprocess: ascend_channels_per_line = 23 preprocess: with_ntdomain_hack = no preprocess: with_specialix_jetstream_hack = no preprocess: with_cisco_vsa_hack = no Module: Instantiated preprocess (preprocess) Module: Loaded realm realm: format = "suffix" realm: delimiter = "@" Module: Instantiated realm (suffix) Module: Loaded files files: usersfile = "/usr/local/radius/etc/raddb/users" files: acctusersfile = "/usr/local/radius/etc/raddb/acct_users" files: preproxy_usersfile = "/usr/local/radius/etc/raddb/preproxy_users" files: compat = "no" Module: Instantiated files (files) Module: Loaded Acct-Unique-Session-Id acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port-Id" Module: Instantiated acct_unique (acct_unique) Module: Loaded detail detail: detailfile = "/usr/local/radius/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d " detail: detailperm = 384 detail: dirperm = 493 detail: locking = no Module: Instantiated detail (detail) Module: Loaded radutmp radutmp: filename = "/usr/local/radius/var/log/radius/radutmp" radutmp: username = "%{User-Name}" radutmp: perm = 384 radutmp: callerid = yes Module: Instantiated radutmp (radutmp) Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on 1814/udp. Ready to process requests. Thanks Michael - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: (no subject)
Hi frank , I will give 0.8.1 a go please let me know how you go with 0.9.1 after you have coffie Thanks - Original Message - From: "Frank Garcia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 10:07 PM Subject: Re: (no subject) > Unless you're using Kerberos, try reading the configure output. Any > modules it can't configure for don't cause configure to bail out, they > print a helpful message telling you how to re-run configure without > that module. Something along the lines of ./configure > --without-rlm_krb5, but it's early and I haven't had coffee yet. I do > know that freeradius 0.8.1 works beautifully on OpenBSD 3.x. Haven't > compiled 0.9.1 yet, tho, so I might be dated. > > HTH, > Frank > > On Monday, October 6, 2003, at 06:33 AM, TEST wrote: > > > Hi all , > > > > I am trying to get freeradius to install on openBSD , I have used > > gmake but > > I still get errors and radius will not compile or run clean , what am I > > missing what am I doing wrong , can any one help .. there must be a > > way to > > install on openBsd .. the file radiusd did not install .. am I missing > > some > > thing at the ./configure stage > > > > Thanks > > Michael > > > > > > tar xzvf freeradius.tar.gz > > > > cd /freeradius-0.9.1 > > > > ./confugure > > > > > > gmake > > > > gmake[6]: Entering directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' > > gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall > > -D_GNU_SOURCE -DND > > EBUG -I../../include -c rlm_krb5.c -o rlm_krb5.o > > rlm_krb5.c:39: krb5.h: No such file or directory > > gmake[6]: *** [rlm_krb5.o] Error 1 > > gmake[6]: Leaving directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' > > gmake[5]: *** [common] Error 1 > > gmake[5]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' > > gmake[4]: *** [all] Error 2 > > gmake[4]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' > > gmake[3]: *** [common] Error 1 > > gmake[3]: Leaving directory `/usr/src/freeradius-0.9.1/src' > > gmake[2]: *** [all] Error 2 > > gmake[2]: Leaving directory `/usr/src/freeradius-0.9.1/src' > > gmake[1]: *** [common] Error 1 > > gmake[1]: Leaving directory `/usr/src/freeradius-0.9.1' > > gmake: *** [all] Error 2 > > > > > > gmake install > > > > > > See any operating system documentation about shared libraries for > > more information, such as the ld(1) and ld.so(8) manual pages. > > -- > > gmake[6]: Leaving directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_files' > > Making install in rlm_ippool... > > gmake[6]: Entering directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_ippool' > > if [ "x" != "x" ]; then \ > > /usr/src/freeradius-0.9.1/libtool --mode=install > > /usr/src/freeradius-0.9.1/install-sh -c -c \ > > .la /usr/local/radius/lib/.la; \ > > rm -f /usr/local/radius/lib/-0.9.1.la; \ > > ln -s .la /usr/local/radius/lib/-0.9.1.la; \ > > fi > > gmake[6]: Leaving directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_ippool' > > Making install in rlm_krb5... > > gmake[6]: Entering directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' > > if [ "xrlm_krb5" != "x" ]; then \ > > /usr/src/freeradius-0.9.1/libtool --mode=install > > /usr/src/freeradius-0.9.1/install-sh -c -c \ > > rlm_krb5.la /usr/local/radius/lib/rlm_krb5.la; \ > > rm -f /usr/local/radius/lib/rlm_krb5-0.9.1.la; \ > > ln -s rlm_krb5.la /usr/local/radius/lib/rlm_krb5-0.9.1.la; \ > > fi > > libtool: install: `rlm_krb5.la' is not a valid libtool archive > > Try `libtool --help --mode=install' for more information. > > gmake[6]: Leaving directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' > > Making install in rlm_ldap... > > gmake[6]: Entering directory > > `/usr/src/freeradius-0.9.1/src/modules/rlm_ldap' > > if [ "x" != "x" ]; then \ > > /usr/src/freeradius-0.9.1/libtool --mode=install > > /usr/src/freeradius-0.9.1/install-sh -c -c \ > > .la /usr/local/radius/lib/.la; \ > > rm -f /usr/local/radius/lib/-0.9.1.la; \ > > ln -s .la /usr/local/radius/lib/-0.9.1.la; \ > > fi > > gmake[6]: Leaving directory > > `/usr/src/fre
(no subject)
Hi all , I am trying to get freeradius to install on openBSD , I have used gmake but I still get errors and radius will not compile or run clean , what am I missing what am I doing wrong , can any one help .. there must be a way to install on openBsd .. the file radiusd did not install .. am I missing some thing at the ./configure stage Thanks Michael tar xzvf freeradius.tar.gz cd /freeradius-0.9.1 ./confugure gmake gmake[6]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DND EBUG -I../../include -c rlm_krb5.c -o rlm_krb5.o rlm_krb5.c:39: krb5.h: No such file or directory gmake[6]: *** [rlm_krb5.o] Error 1 gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' gmake[5]: *** [common] Error 1 gmake[5]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' gmake[3]: *** [common] Error 1 gmake[3]: Leaving directory `/usr/src/freeradius-0.9.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/src/freeradius-0.9.1/src' gmake[1]: *** [common] Error 1 gmake[1]: Leaving directory `/usr/src/freeradius-0.9.1' gmake: *** [all] Error 2 gmake install See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. -- gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_files' Making install in rlm_ippool... gmake[6]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_ippool' if [ "x" != "x" ]; then \ /usr/src/freeradius-0.9.1/libtool --mode=install /usr/src/freeradius-0.9.1/install-sh -c -c \ .la /usr/local/radius/lib/.la; \ rm -f /usr/local/radius/lib/-0.9.1.la; \ ln -s .la /usr/local/radius/lib/-0.9.1.la; \ fi gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_ippool' Making install in rlm_krb5... gmake[6]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' if [ "xrlm_krb5" != "x" ]; then \ /usr/src/freeradius-0.9.1/libtool --mode=install /usr/src/freeradius-0.9.1/install-sh -c -c \ rlm_krb5.la /usr/local/radius/lib/rlm_krb5.la; \ rm -f /usr/local/radius/lib/rlm_krb5-0.9.1.la; \ ln -s rlm_krb5.la /usr/local/radius/lib/rlm_krb5-0.9.1.la; \ fi libtool: install: `rlm_krb5.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_krb5' Making install in rlm_ldap... gmake[6]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_ldap' if [ "x" != "x" ]; then \ /usr/src/freeradius-0.9.1/libtool --mode=install /usr/src/freeradius-0.9.1/install-sh -c -c \ .la /usr/local/radius/lib/.la; \ rm -f /usr/local/radius/lib/-0.9.1.la; \ ln -s .la /usr/local/radius/lib/-0.9.1.la; \ fi gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_ldap' Making install in rlm_mschap... gmake[6]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_mschap' if [ "xrlm_mschap" != "x" ]; then \ /usr/src/freeradius-0.9.1/libtool --mode=install /usr/src/freeradius-0.9.1/install-sh -c -c \ rlm_mschap.la /usr/local/radius/lib/rlm_mschap.la; \ rm -f /usr/local/radius/lib/rlm_mschap-0.9.1.la; \ ln -s rlm_mschap.la /usr/local/radius/lib/rlm_mschap-0.9.1.la; \ fi libtool: install: `rlm_mschap.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. gmake[7]: Entering directory `/usr/src/freeradius-0.9.1/src/modules/rlm_mschap' /usr/src/freeradius-0.9.1/install-sh -c -d -m 755 /usr/local/radius/bin /usr/src/freeradius-0.9.1/install-sh -c -m 755 -s smbencrypt /usr/local/radius/bin install: smbencrypt does not exist gmake[7]: *** [smbencrypt-install] Error 1 gmake[7]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_mschap' gmake[6]: *** [install] Error 2 gmake[6]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules/rlm_mschap' gmake[5]: *** [common] Error 1 gmake[5]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' gmake[4]: *** [install] Error 2 gmake[4]: Leaving directory `/usr/src/freeradius-0.9.1/src/modules' gmake[3]: *** [common] Error 1 gmake[3]: Leaving directory `/usr/src/freeradius-0.9.1/src' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/usr/src/freeradius-0.9.1/src' gmake[1]: *** [common] Error 1 gmake[1]: Leaving directory `/usr/src/freeradius-0.9.1' gmake: *** [install] Error 2 Michael Christie - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: OpenBsd & Freeradius
Hi all, I used Gmake to compile the Freeradius server on openbsd and it worked fine , I now find that the server will not start , the server can not find lib files Should I use Linux for freeradius Michael > "TEST" <[EMAIL PROTECTED]> wrote: > > Note I am new to Radius I have to start somewhere ) I have tried to install > > freeradius on to openbsd it looks to be striate forward until I type "make" > > . The make possess stops on line 18 of the Makefile and I can not work out > > why ... > > Use 'gmake' > > Alan DeKok. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
OpenBsd & Freeradius
Hi all, I am new to your list and wanting some help in installing freeradius on to openbsd 3.3. I have a copy of the book Radius by O'Reilly and is a very good read. The book deals mainly with a Linux install. I have been using OpenBsd for the past 4 years and would like to stick with the bsd OS if I can..( Note I am new to Radius I have to start somewhere ) I have tried to install freeradius on to openbsd it looks to be striate forward until I type "make" . The make possess stops on line 18 of the Makefile and I can not work out why ... Can any one on the list give me some pointers on installing Freeradius on openbsd easily. Thank you all Michael Southwest Communications Co - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Please send me a sample config
> "IH - Net Admin" <[EMAIL PROTECTED]> wrote: > > I would if I knew how to do it myself...and yes I've been through the > > config files and docs. I wouldn't be asking for a $100 per question > > either because isn't the purpose of this list to provide help? > > Yes, and no. The list is to provide help TO people who need it, > FROM people who are interested in providing that help. > > I'm willing to help people who read the docs and config files. I'm > not very interested in helping people who ask questions on the list, > instead of reading the docs or config files. > > By asking those kind of questions, they've showed that they're not > interested in reading the answers I've already provided, so I will be > wasting my time if I answer their questions on the list. > > That's why my response is often "go read the config files". Any > other answer encourages people to ask redundant questions on the list, > when the answer is already sitting in front of them. > The supplied configuration examples cover a large subset of what > people want to do. If you want to do something different, then maybe > you can submit a new sample configuration, which will be included in a > future release. > > The BIGGEST problem is that in order to do something different, you > MUST understand WHAT you want to do, and HOW you want to do it. > This involves understanding what RADIUS does, and how the server > works. The people who are unwilling to put in that work will not be > able to understand how to configure the server, and probably will not > understand any answer they're given. > > > For people who are unfamiliar with Linux, system administration, or > with setting up another system service, I'm sorry, this list is for > FreeRADIUS. Those other questions are probably off-topic, and don't > belong on the list. Therefore, they generally won't be answered here. > > > I *am* willing to answer questions from people who run into problems > with the server, or who run into a lack of documentation about how the > server works. That's my responsibility, and what I'm good at. I'm going to de-lurk for a second for this... I subscribed to the list several months ago, when I downloaded FreeRadius and was having some problems with configurations. I've asked some questions, but not a whole lot and (hopefully) not redundant ones. But I was able to do just what Alan says - read through the config files, comment/uncomment and change these settings, and get it working. I'm not a big system admin (I run this out of my home, for fun, strange as that sounds), and I haven't yet read the RFC's, but I understand the basic way that RADIUS works, and can figure things out so long as there isn't any programming involved. It works; it works well; and the list is there for when *that* fails, at least in my most humble opinion. Alan's replies are terse, often refer to the configs or ask for patches (it's an open-source project,a fter all, right?) and that's fine; he also replies *quickly* and in cases where something is wrong, with pointers and help in the right direction. Subscribing to the list if you plan to use it is a *great* idea, as a lot of things you might come across will be mentioned, and specific examples for out-of-the-way hardware. But for someone to send some sample configs - to my thinking, that's what the default config files *are*. Now back to my cave... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html