[RADIATOR] Stripping out Domain

Martin Burton mvb at sanger.ac.uk
Tue Nov 17 14:16:53 CST 2009


Hi Zod,

Something like:

	RewriteUsername 	s/^RLCORP\/([^@]+).*/$1/

should work (this will also strip out the realm if one is included in an
"@realm" format).

HTH.

Cheers,

Martin.


Zod Mansour wrote:
> Radiator 4.5
> I am trying to strip out the Active Directory domain from the ldap  
> authentication but I am not succeeding.
> How can I remove this RLCORP\ ?
> Attributes:
> 	User-Name = "RLCORP\hilla.shprung"
> I am using:
>     RewriteUsername s/(.*)\\(.*)/$2/
> 
<SNIP>

-- 
Martin Burton
Senior Systems Administrator               \\\|||///
Special Projects Team                     \\  ^ ^  //
Wellcome Trust Sanger Institute            (  6 6  )
-----------------------------------------oOOo-(_)-oOOo---
t: +44 (0)1223 496945             http://www.sanger.ac.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://www.open.com.au/pipermail/radiator/attachments/20091117/2671f23d/attachment.bin 


More information about the radiator mailing list