Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

2005-08-24 Thread Valeriy V. Peshkoff
Hi! I'm still unable to compile CVS version of freeradius on Freebsd Configure it like that ./configure --prefix=/usr/local/radius Only this seems bad to me . checking net/if.h usability... no checking net/if.h presence... yes configure: WARNING: net/if.h: present but cannot be compiled

Re: Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

2005-08-24 Thread Valeriy V. Peshkoff
Nicolas Baradakis пишет: Valeriy V. Peshkoff wrote: I'm still unable to compile CVS version of freeradius on Freebsd [...] gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite

Re: Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

2005-08-24 Thread Valeriy V. Peshkoff
Nicolas Baradakis пишет: Valeriy V. Peshkoff wrote: In file included from ../include/libradius.h:38, from dict.c:42: /usr/include/sys/socket.h:243: error: redefinition of `struct sockaddr_storage' It seems to me the bug is either in autoconf or in FreeBSD headers. I

Simple question abot Event-Timestamp

2005-07-28 Thread Valeriy V. Peshkoff
Hello! I need to insert Event-Timestamp in request destinated to some realm. Reading documentation i find only one correct way Here is my preproxy_users DEFAULT Realm == crossroam.com Idle-Timeout := `%{Idle-Timeout:-60}`, - Worked Acct-Interim-Interval :=

Simple question about adding own attribute to proxy reply

2005-07-27 Thread Valeriy V. Peshkoff
Using attr_rewrite i can add reply-message to any packet. But i want add Reply-Message only to the Access-Reject packet or use different Reply-Message to Accept and Reject. How can i do it? -- Russia, St. Petersburg Quantum Communications Valeriy V. Peshkov | [EMAIL PROTECTED] +7 (812)

Re: Simple question about adding own attribute to proxy reply

2005-07-27 Thread Valeriy V. Peshkoff
Nicolas Baradakis пишет: Valeriy V. Peshkoff wrote: Using attr_rewrite i can add reply-message to any packet. But i want add Reply-Message only to the Access-Reject packet or use different Reply-Message to Accept and Reject. How can i do it? See http://www.freeradius.org/radiusd/doc

Re: Simple question about adding own attribute to proxy reply

2005-07-27 Thread Valeriy V. Peshkoff
Nicolas Baradakis пишет: Valeriy V. Peshkoff wrote: Can you help me giving example on how to do it? I have this in radius.conf post-auth { Post-Auth-Type REJECT { Reply-Message } } When i create attr_rewrite Reply-Message { attribute = Reply-Message # may be packet, reply, proxy

Re: Simple question about adding own attribute to proxy reply

2005-07-27 Thread Valeriy V. Peshkoff
Nicolas Baradakis пишет: Valeriy V. Peshkoff wrote: But why developer doesn't do equal things for ACCEPT =) Post-Auth-Type ACCEPT { Reply-Message-Accept } Doesn't work If I understand correctly what you are trying to do, it should be written like this: post-auth { Reply