Re: LDAP failover question for Radius

2010-07-30 Thread Alan DeKok
Kory Wheatley wrote: > Where in the documentation is the information for the failover > configuration setup/example. I would really appreciate it. See "man unlang" Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: LDAP failover question for Radius

2010-07-30 Thread Kory Wheatley
Where in the documentation is the information for the failover configuration setup/example. I would really appreciate it. On Fri, Jul 30, 2010 at 2:14 PM, Alan DeKok wrote: > Kory Wheatley wrote: > > Is it acceptable to setup LDAP failover in the modules/ldap file by > > simply adding a second

# sign in username ??

2010-07-30 Thread Peer Kohlstetter
Hi, I have a freeradius server running since some days. Everything is working fine for normal users: usern...@domain.de In the proxy.conf I have configured: Realm domain.de { authhost = local accthost = local } In the users file I configure

Re: LDAP failover question for Radius

2010-07-30 Thread Alan DeKok
Kory Wheatley wrote: > Is it acceptable to setup LDAP failover in the modules/ldap file by > simply adding a second server in the servers value. I don't know about "acceptable", but it can work. It's a feature of the LDAP libraries to use that method for fail-over. > It seems to work in the te

LDAP failover question for Radius

2010-07-30 Thread Kory Wheatley
Is it acceptable to setup LDAP failover in the modules/ldap file by simply adding a second server in the servers value. Example server = "server1.somedomain.com,server2.somedomain.com" It seems to work in the testing that I have done, but I am not sure that it is the correct way to setup a failo

thanks

2010-07-30 Thread Johnny R
Hi List, Just want to thank U all & the development team for your support. Especially Alan. In fact, finally my infrastructure has been implemented( just following the daily thread): 1/- CP - AAA Serv - OpenLDAP serv --- MySQL Serv --- SendMail (it was dedicated for 802.11i using open sou

Re: Freeradius AS DHCP + rlm_perl

2010-07-30 Thread John Dennis
On 07/30/2010 12:57 PM, Urazaev Vadim wrote: > [16 pages of debug output snipped for brevity] Sorry Guys for disturb you, problem was in eval{} block in my perl script inside which command "return" always return reject code. Anyway Thanks for all. And for that I had to page through 16 pages o

Re: Freeradius AS DHCP + rlm_perl

2010-07-30 Thread Urazaev Vadim
30.07.2010 19:03, Urazaev Vadim пишет: Hi everybody. FreeRadius ver. 2.1.10 from git My problem is string : === ++[perl] returns reject from radiusd -X debug The last strings in perl script that executed : &radiusd::radlog(L_ERR, " --- RLM_MODULE_OK --

Freeradius AS DHCP + rlm_perl

2010-07-30 Thread Urazaev Vadim
Hi everybody. FreeRadius ver. 2.1.10 from git My problem is string : === ++[perl] returns reject from radiusd -X debug The last strings in perl script that executed : &radiusd::radlog(L_ERR, " --- RLM_MODULE_OK ---".RLM_MODULE_OK."") if $DEBUG; re

Re: unlang and 1st of 4 ldap source fail

2010-07-30 Thread Gary Prosser
Thanks Alan I've got the desired result (if ldap1 result is fail or notfound continue; if ok then stop) using the stanza below authorize { preprocess chap mschap suffix redundant { ldap1 { fail = 1 noop = 2

Re: unlang and 1st of 4 ldap source fail

2010-07-30 Thread Alan DeKok
Alexander Clouter wrote: > Probably better off with failover[1], never got around to sorting it > out myself, but it is something like this: > > modules { > ldap ldap1 { > [snipped] > > ok = return No. The "ok = return" thing NEVER goes into a "modules" c

Re: unlang and 1st of 4 ldap source fail

2010-07-30 Thread Alexander Clouter
Gary Prosser wrote: > > authorize { >preprocess > chap > mschap >suffix > ldap1 > if(notfound || fail){ >ldap3 >if(notfound || fail){ >ldap2 >if(notfound || fail){ >ldap4 >} >

Re: Freeradius-Users Digest, Vol 63, Issue 108

2010-07-30 Thread Gilbert Lo
Thank you for your message. I am away until Aug 9. I will respond to your message on my return . For urgent matters, please contact helpd...@stgeorges.bc.ca . Cheers, Gilbert Lo - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: FreeRADIUS as dhcp

2010-07-30 Thread Urazaev Vadim
30.07.2010 10:27, Alan DeKok wrote: Urazaev Vadim wrote: Hello all. I tried to configure freeradius to operate as dhcp server and reach the point from where I can`t proceed. the version of freeradius is 2.1.9 I have two situation 1. DHCP Discover packet comes from client who directly connected t

Re: unlang and 1st of 4 ldap source fail

2010-07-30 Thread Gary Prosser
adding output from radiusd -X Listening on authentication address 127.0.0.1 port 1812 Listening on authentication address 192.168.2.1 port 1812 Listening on accounting address 192.168.2.1 port 1813 Ready to process requests. rad_recv: Access-Request packet from host 192.168.2.1 port 1026, id=21, l

Re: FreeRADIUS as dhcp

2010-07-30 Thread Alan DeKok
Urazaev Vadim wrote: > Hello all. > I tried to configure freeradius to operate as dhcp server and reach the > point from where I can`t proceed. > the version of freeradius is 2.1.9 > I have two situation > 1. DHCP Discover packet comes from client who directly connected to > network which freerasdi