AW: AW: Since 2 Month noone any idea how to do this ?Stripping Username Question *important*

2006-07-25 Thread Krämer Armin
? Any idea? Thanks Armin -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Krämer Armin Gesendet: Dienstag, 25. Juli 2006 12:36 An: 'FreeRadius users mailing list' Betreff: AW: AW: Since 2 Month noone any idea how to do this ?Stripping Username

AW: AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-25 Thread Krämer Armin
Okay, thanks now it works quite well with the mschap module :-) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Phil Mayers Gesendet: Montag, 24. Juli 2006 12:28 An: FreeRadius users mailing list Betreff: Re: AW: Since 2 Month noone any idea how

Re: AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-24 Thread Phil Mayers
Armin Krämer wrote: Okay i tried a little and my result is now that my attr_rewirite looks like: search_string = "(host/)" replace_string = "" That works to delete the "host/" part. But i need a "$" appended to the User-Name. How can i do this? You should use the mschap module and a vers

AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-24 Thread Armin Krämer
Armin -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Michael Mitchell Gesendet: Samstag, 22. Juli 2006 11:42 An: FreeRadius users mailing list Betreff: Re: Since 2 Month noone any idea how to do this ? Stripping Username Question *important

Re: AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-24 Thread Phil Mayers
James J J Hooper wrote: In your LDAP section of radiusd.conf, replace this: %{Stripped-User-Name:-%{User-Name}} with this: %{Stripped-User-Name:-%{mschap:User-Name}} Regards, James Sorry, what i suggested may only work in the mschap section, not in the LDAP bit... :( No, it should work

Re: AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-22 Thread James J J Hooper
ings Armin -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] g] Im Auftrag von James J J Hooper Gesendet: Samstag, 22. Juli 2006 10:31 An: FreeRadius users mailing list Betreff: Re: Since 2 Month noone any idea how to do this ? Stripping Username Question

Re: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-22 Thread Michael Mitchell
Hi Armin, You may be able to use the attr_rewrite module to rewrite the value of the attribute in the authorize section. You can use a regular expression, something like: search_string = "^([^/]*)/(.*)$" replace_string = "%{2}$" You may need to escape some characters (for example the forward

AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-22 Thread Krämer Armin
TECTED] Im Auftrag von James J J Hooper Gesendet: Samstag, 22. Juli 2006 10:31 An: FreeRadius users mailing list Betreff: Re: Since 2 Month noone any idea how to do this ? Stripping Username Question *important* --On Saturday, 22 July 2006 09:23 +0200 Krämer Armin <[EMAIL PROTECTED]> wrot

Re: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-22 Thread James J J Hooper
--On Saturday, 22 July 2006 09:23 +0200 Krämer Armin <[EMAIL PROTECTED]> wrote: Hi, im working with machine authentication and EAP-TLS Zertifikates. When a machine authenticates I get the name of the mchine like "host/250-IT" and the search String on LDAP is like "host/250-IT". I nee t

Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

2006-07-22 Thread Krämer Armin
Hi, im working with machine authentication and EAP-TLS Zertifikates. When a machine authenticates I get the name of the mchine like "host/250-IT" and the search String on LDAP is like "host/250-IT". I nee the searchString at LDAP like 250-IT$. How can I strip away that host/ and add $ for th