I have figured out most of what I want to do in this regard.

But...

I'd like to strip leading characters including \ for users that are 
using NT Domains and don't understand what they are doing on dialup :)

So WORKGROUP\myname should be rewritten to myname.

I bought the RegEx book from O'Reilly to give this a shot.  Anyone 
have any hints to get me on the tracks?

Here is what I have so far, this might be helpful to others also:

<Realm mydomain.com>
        # Strip leading white space
         RewriteUsername s/^\s+//
         # Strip trailing white space
         RewriteUsername s/\s+$//
         # turn into lowercase and chop domain
         RewriteUsername tr/A-Z/a-z/
         RewriteUsername s/^([^@]+).*/$1/
         # attempt to strip leading \ and characters up to it (no workee, help)
         RewriteUsername s/^(\\+).*//

etc etc

Now all I need is the last part to strip the leading \ and we're gold.

Thanks,
Chris

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to