(RADIATOR) NT Domain

2003-12-19 Thread Sevcik Berndt
I am just testing Radiator. When I make an Authentication request Windows always sends HOST\\Username. How can I strip off the HOST part so that only the username is passed to LDAP? Thanks Berndt - TGM - Die Schule der Technik IT-Service A-1200 Wien,

RE: (RADIATOR) NT Domain

2003-12-19 Thread Ingvar Berg (LI/EAB)
Have a look at the RewriteUsername function. You'll find a load of examples there and in the mail archives of its use to strip off the realm part, so just change the @realm$ thing to ^host (in principle, at least). /Ingvar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: (RADIATOR) NT Domain

2003-12-19 Thread McGrath, Thomas J.
Sevcik; You'll need to have RADIATOR reformat the username. Try using the following command as the first line of your Handler, it should do the trick: RewriteUsername s/^(.*)\\(.*)/$2/ Tom McGrath -Original Message- From: Sevcik Berndt [mailto:[EMAIL PROTECTED] Sent:

(RADIATOR) Session-Timeout PostAuthHook

2003-12-19 Thread Herman verschooten
Hi, I was looking for a way to dynamically set the session-timeout to the end of the month. Since this does not seem to be standard, I made an attempt to write a PostAuthHook: use Time::Local; # If Session-Timeout=EM then set it to the number of seconds left in this month. sub{my $p =

RE: (RADIATOR) AcctColumnDef with Realm

2003-12-19 Thread Eric Lackey
Hugh, I have added this line to the Auth By section. It is working fine about 75% of the time. It sticks the username realm in the REALM field like it should. Every once in a while, instead of putting the REALM in the field, it puts '%W'. I verified that it wasn't specific to one radius or

Re: (RADIATOR) Session-Timeout PostAuthHook

2003-12-19 Thread Hugh Irvine
Hello Herman - What you show below looks fine. BTW - in all of the Radiator code, $p refers to the incoming request packet and $rp refers to the reply packet. Just to avoid confusion I would probably change $p to $rp. See the example hooks in goodies/hooks.txt. There are also lots of utility

Re: (RADIATOR) AcctColumnDef with Realm

2003-12-19 Thread Hugh Irvine
Hello Eric - There was a bug in an earlier version of Radiator with %W and it sounds like one of your servers has not been patched. The latest version is Radiator 3.7.1 (plus patches). regards Hugh On 20/12/2003, at 6:08 AM, Eric Lackey wrote: Hugh, I have added this line to the Auth By

Re: (RADIATOR) LDAP and PEAP

2003-12-19 Thread Hugh Irvine
Hello Berndt - You cannot put a Realm clause inside a Handler. It should look like this: Handler TunnelledByPEAP=1 RewriteUsername s/^(.*)\\(.*)/$2/ AuthBy LDAP2server Host10.2.4.21 AuthDN cn=admin, dc=tgm, dc=ac, dc=at