Re: Password encoding in radcheck table? (MySQL)

2001-09-28 Thread Juan Carlos Castro y Castro
Joe Modjeski wrote: This brings up another point though, the attribute row that stores the password in the radcheck table. You are using the 'Crypt-Password' attribute instead of the 'Password' attribute? I got stung by this when I did my initial import from my MySQL patched Cistron. I

one of the child processes dies with SIGSEGV

2001-09-28 Thread victor
Hi, I have the following problem: When my user disconnects from the client the radius server exits on SIGSEGV. then I noticed that if I start the radius server with radiusd -xx and hit ctrl-c the last child also exits on signal (11) (all other exits on signal (2)). The other thing is that I

Can't get rlm_ldap to compile

2001-09-28 Thread Matthew Schumacher
Hello all, I cannot get rlm_ldap to find my libldap_r lib. Here is all the information I can think to give: [root@mail1 rlm_ldap]# ldconfig -p | grep ldap libldap_r.so.2 (libc6) = /usr/local/lib/libldap_r.so.2 libldap_r.so (libc6) = /usr/local/lib/libldap_r.so

Re: Can't get rlm_ldap to compile

2001-09-28 Thread aland
Matthew Schumacher [EMAIL PROTECTED] wrote: checking for ldap_initialize in -lldap... no Weird. The code itself uses ldap_init(), not ldap_initialize(). Hmm.. and if I change the configure script to look for ldap_init(), it doesn't work for me. After some poking, I discovered at least

Using radius.cgi

2001-09-28 Thread Edric Bulalacao
I've got 9/27/01 snapshot of freeradius running on Solaris 7 Intel. I'm able to authenticate via MySQL db. When I tried using radius.cgi, it gives me the username and password prompt, I log in ok, but if I try clicking any of the items in the left side of the web page (user, group, realm, nas,

Re: A Query

2001-09-28 Thread Raghu
anitha sarathy wrote: 1. Can i setup a 802.11x compatible AP with radius Auth and then use freeradius ? Will the setup work ? No. Probably list members might have a better answer to this question. 2. I saw some EAP related attributes in the Freeradius source package .. is it fully

newbie documentation

2001-09-28 Thread John Grange
I'm trying to set freeradius up at the moment and want to use it with postgres. I've got the postgres, passwd standard authentication working fine, but as I know nothing about radius at the moment, I don't know how to assign IP addresses to users as they log in (I need to do a mix of static and

radiusd dies unexpectedly...

2001-09-28 Thread victor
Hi all, I'm using freeradius with oracle db, and after a long fight I've succeeded to run it. The latest problem I have is that when the user disconnects from the client radius server exits. Here are the lines just before radiusd dies: ... sql_escape in: 'radius' sql_escape out:

Re: Password encoding in radcheck table? (MySQL)

2001-09-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Juan Carlos Castro y Castro [EMAIL PROTECTED] wrote: Thanks to Scott Bartlett's kind help, my radiusd now queries MySQL for usernames/passwords, but I don't know how to encrypt the latter. Hence, by now I always get authentication

RLM_LDAP and CHAP

2001-09-28 Thread Yildiray Ozen
Hi all, We're using the LDAP module for authenticating users. It works fine with PAP but it doesn't work with CHAP. Anybody has a solution for that? Thanks Ray __ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone.

Re: File Locking in rlm_detail

2001-09-28 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED], Joe Modjeski [EMAIL PROTECTED] wrote: I saw that the rlm_module is include fcntl.h header so I am assuming this is a feature that is planned to be added at some time? I didn't see any calls to fcntl in the code so unless this is being locked somewhere else? If

RE: RLM_LDAP and CHAP

2001-09-28 Thread Peter Foreman
Probably because you need the PLAIN TEXT password to be able to use chap. I guess you're using cryptpass in ldap, which is why chap won't work. I'm not sure how to do this with the rlm_ldap module though, will need to check on that. Maybe somebody else has a solution for it or has experience

Re: RLM_LDAP and CHAP

2001-09-28 Thread aland
Peter Foreman [EMAIL PROTECTED] wrote: Probably because you need the PLAIN TEXT password to be able to use chap. I guess you're using cryptpass in ldap, which is why chap won't work. Not only that, but the code does: ld_user = ldap_connect(instance, user_dn, request-password-strvalue,

Re: Password encoding in radcheck table? (MySQL)

2001-09-28 Thread aland
[EMAIL PROTECTED] (Miquel van Smoorenburg) wrote: FreeRADIUS *should* eventually come with a utility to encrypt passwords. But it doesn't now, sorry. Here ya go: Added as: scripts/cryptpasswd Thanks! Alan DeKok. - List info/subscribe/unsubscribe? See

Re: radiusd dies unexpectedly...

2001-09-28 Thread aland
victor [EMAIL PROTECTED] wrote: MASTER: exit on signal (11) --- Does anybody know where can be the problem? It's dying on a SEGV. So there's a serious bug somewhere in the code. Use 'gdb' on the core file, and see where it's dying. Alan DeKok. - List

Re: setting idle-time based on port

2001-09-28 Thread Chris Parker
At 01:46 AM 9/28/2001 -0400, you wrote: Hello, I'm trying to configure freeradius to send a rule to allow a max idle time in an session to be 20 min for a certain port. So, if a user comes in to port 0, his/her idle times is 20 min If a user comes in anohter port. his/her idle time is

Re: setting idle-time based on port

2001-09-28 Thread aland
Aamer Akhter [EMAIL PROTECTED] wrote: So, if a user comes in to port 0, his/her idle times is 20 min If a user comes in anohter port. his/her idle time is unlimmited. is this dooable? Yes. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: newbie documentation

2001-09-28 Thread aland
John Grange [EMAIL PROTECTED] wrote: I'm trying to set freeradius up at the moment and want to use it with postgres. I've got the postgres, passwd standard authentication working fine, but as I know nothing about radius at the moment, I don't know how to assign IP addresses to users as

Re: Password encoding in radcheck table? (MySQL)

2001-09-28 Thread Mark Constable
On Sat, 29 Sep 2001 05:01, Juan Carlos Castro y Castro wrote: authenticate { # pam # unix authtype SQL { sql # sql2 } # ldap } Try commenting out the authtype SQL { and it's } mate. 6) I can see that FreeRadius connects

Re: Password encoding in radcheck table? (MySQL)

2001-09-28 Thread Mojahedul Hoque Abul Hasanat
On Fri, Sep 28, 2001 at 04:01:35PM -0300, Juan Carlos Castro y Castro wrote: Joe Modjeski wrote: mysql select * from radcheck; ++--+---+---+ | id | UserName | Attribute | Value | ++--+---+---+ | 1 | jcastro | Password