Re: fake user and unregistered user forwarding

2009-03-23 Thread Augusto G. Andreollo
- You mentioned you're using FreeBSD. If you need a more ready-made solution, you can give pfSense a try: http://www.pfsense.org/ []s Guto -- Augusto G. Andreollo CCUEC/DCNET/SREDE Universidade Estadual de Campinas - UNICAMP +55 19 3521-2276 -- Wit beyond measure is men's greatest

Re: Logging the return code from the ldap authentication to SQL.

2009-03-17 Thread Augusto G. Andreollo
, to add to this query? Thanks -- Augusto G. Andreollo CCUEC/DCNET/SREDE Universidade Estadual de Campinas - UNICAMP +55 19 3521-2276 -- Wit beyond measure is men's greatest treasure. smime.p7s Description: S/MIME cryptographic signature - List info/subscribe/unsubscribe? See http

Re: Logging the return code from the ldap authentication to SQL.

2009-03-16 Thread Augusto G. Andreollo
On Mon, 2009-03-16 at 16:13 +0100, Alan DeKok wrote: Augusto G. Andreollo wrote: My problem now is getting the return code into the variable, according to the LDAP module results. It looks like it's working. What's the problem? (and then it goes on to successfuly add the string

Re: Logging the return code from the ldap authentication to SQL.

2009-03-16 Thread Augusto G. Andreollo
Ok, updating on my progress: On Mon, 2009-03-16 at 14:28 -0300, Augusto G. Andreollo wrote: On Mon, 2009-03-16 at 16:13 +0100, Alan DeKok wrote: Augusto G. Andreollo wrote: My problem now is getting the return code into the variable, according to the LDAP module results

Re: Variables' content as a reply -- SOLVED

2009-03-10 Thread Augusto G. Andreollo
Sorry, it's %{reply:User-Name}. From man unlang about strings: Double-quoted strings are expanded by inserting the value of any variables (see VARIABLES, below) before being evaluated. If the result is a number it is evaluated in a numerical context. .. Single-quoted strings are

Re: Variables' content as a reply

2009-03-06 Thread Augusto G. Andreollo
Where does the cookbook say that you should put that in ldap.attrmap? Where are those radius attributes defined? Some additional dictionary? This part is not from the cookbook, it's something we intend to use internally here at the university. The setup is based on the eduroam guide, though,

Variables' content as a reply

2009-03-05 Thread Augusto G. Andreollo
Hello all! I've been trying unsuccessfully to get this setup to work, but unfortunately haven't been able so far. My need is to return the contents of three LDAP fields as replies on the Access-Accept package. The setup is for EAP/TTLS, mostly following eduRoam's setup guide (EduROAM