NativeSP 2.5.5 Attribute Transforming
O'Dowd, Josh
Josh.O'Dowd at mso.umt.edu
Mon Oct 26 17:43:54 EDT 2015
Thanks for the assistance. This was helpful. Even though your suggestion didn't quite work for us, we did use it to find a workable solution.
As it turns out, on our system, the regex, "^(.{8}).*, would capture only on 9 or more characters so it worked for stripping down our 9 character UIDs but would fail for our 8 character UIDs.
We finally settled on using the using the eppn as a source instead of the UID. This guaranteed that our capture would always be the 8 character base uid.
Thanks again for the help.
-Josh
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Brian Biggs
Sent: Monday, October 26, 2015 12:11 PM
To: users at shibboleth.net
Subject: Re: NativeSP 2.5.5 Attribute Transforming
Hi,
I don't know if it matters, but your original regex won't match if the uid is shorter than 8 chars.
Maybe try something like "^(.{1,8}).*$"
-Brian
On 10/26/2015 10:47 AM, O'Dowd, Josh wrote:
> Will do.
>
> -Josh
>
> -----Original Message-----
> From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor,
> Scott
> Sent: Monday, October 26, 2015 11:41 AM
> To: Shib Users <users at shibboleth.net>
> Subject: Re: NativeSP 2.5.5 Attribute Transforming
>
> On 10/26/15, 1:31 PM, "users on behalf of O'Dowd, Josh" <users-bounces at shibboleth.net on behalf of Josh.O'Dowd at mso.umt.edu> wrote:
>
>
>
>> OK Thanks for your time. I am working with our sysadmin on trying this in different environments, we have 2 testing SPs right now. This one is running on a headless Redhat 6 server with apache2, the other is a FreeBSD 10 server with apache2. Both SPs are exhibiting the same behavior. I will hold off on filing a bug until I have exhaustively tested different match strings, in case you are right that this is just a subtle syntactical problem.
> I wouldn't worry about delaying, I can always close it out if it turns out to be nothing. Doesn't need to be an exhaustive bug report, just a sample of the XML used so I remember to go and verify it works at some point or find that it broke and nobody told me.
>
> -- Scott
>
--
Brian Biggs
Sonoma State University
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list