Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-30 Thread Evgeniy Kozhuhovskiy
Alan DeKok wrote: In any case, a fix is now in src/main/client.c. Do a 'cvs upgrade' and re-build. Thnx -- With best regards, Evgeniy Kozhuhovskiy, Leader of Services team, Minsk State Phony Network, RUE Beltelecom. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Marinko Tarlac
I'll try it and I will post my results. Right now I working on a small isolated system for testing purposes. Stay tuned :) Alan DeKok wrote: Evgeniy Kozhuhovskiy wrote: thanks, i'm newbee to 2.x :-) It's OK. Please give any feedback on the new DHCP code... I think it's useful, bu

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Alan DeKok
Evgeniy Kozhuhovskiy wrote: > Client (Windows XP SP3) gets an ip address, lease expires and when it > tries to renew ip - radius says: > Received DHCP-Request of id 1583096998 from 93.84.246.131:68 to 0.0.0.0:67 > Ignoring request from unknown client 93.84.246.131 port 68 > Ready to process request

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Evgeniy Kozhuhovskiy
Alan DeKok wrote: Evgeniy Kozhuhovskiy wrote: thanks, i'm newbee to 2.x :-) It's OK. Please give any feedback on the new DHCP code... I think it's useful, but we'll never know for sure until people start using it heavily. One more trouble (?) I've configured lease time to 60 sec. Client

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Alan DeKok
Evgeniy Kozhuhovskiy wrote: > thanks, i'm newbee to 2.x :-) It's OK. Please give any feedback on the new DHCP code... I think it's useful, but we'll never know for sure until people start using it heavily. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/user

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Evgeniy Kozhuhovskiy
Alan DeKok wrote: Put "interface = eth0.960" in the listen{} section. This lets you bind the listen{} section to a named interface. This is documented in radiusd.conf. thanks, i'm newbee to 2.x :-) -- With best regards, Evgeniy Kozhuhovskiy, Leader of Services team, Minsk State Phony Netw

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Alan DeKok
Evgeniy Kozhuhovskiy wrote: > One more problem. fr sends dhcp replies via routing, not via interface > it recievied it :-) Put "interface = eth0.960" in the listen{} section. This lets you bind the listen{} section to a named interface. This is documented in radiusd.conf. Alan DeKok. - List

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-29 Thread Evgeniy Kozhuhovskiy
Alan DeKok wrote: I've committed a few fixes to CVS which should help with this. Yeah, it works, thanks One more problem. fr sends dhcp replies via routing, not via interface it recievied it :-) I.e. it recieves request via eth.940 for example, and replyes via eth0 (default route goes vi

Re: freeradius 2.0.4, rlm_passwd and dhcp

2008-05-28 Thread Alan DeKok
Evgeniy Kozhuhovskiy wrote: ... > I've installed freeradius 2.0.4, configured dhcp. > In fact, i leave all sample configuration. ... > But when packet arrived, rlm_passwd says NOTFOUND: I've committed a few fixes to CVS which should help with this. Alan DeKok. - List info/subscribe/unsubscrib

freeradius 2.0.4, rlm_passwd and dhcp

2008-05-28 Thread Evgeniy Kozhuhovskiy
Hi! I've installed freeradius 2.0.4, configured dhcp. In fact, i leave all sample configuration. from modules{} : passwd mac2ip { filename = /usr/local/freeradius204/etc/raddb/dhcppasswd format = "*DHCP-Client-Hardware-Address:=DHCP-Your-IP-Address" delimiter = ","