Yes good idea - definitely. We'll extend it to use the same regex for all the name fields to include the acceptable char combinations. Thanks, Aaron
> Aaron Peeler wrote: >> ok - yep that's it. >> >> Here is the block parsing it. >> #write user name >> if ($l =~ /^LockerWrtUser=([-a-zA-Z0-9]*)/) { >> $WRTUSER = $1; >> } > Can the code block that parses the vcl database name be extended to > allow underscores and hyphens as well? > > < if ($l =~ /^database=([a-zA-Z0-9-w]*)/) { > --- > > if ($l =~ /^database=([a-zA-Z0-9]*)/) { > > Toks >> >> >> >> Thanks >> Aaron >> >> >> --On April 6, 2009 4:04:13 PM -0400 Brian Bouterse <bmbou...@ncsu.edu> >> wrote: >> >>> The username I'm trying is vcl_mn, so it is likely a problem with the >>> underscore in then name. I've created a JIRA ticket to track this bug >>> here: https://issues.apache.org/jira/browse/VCL-129 >>> >>> Thanks! >>> Brian >>> >>> >>> Brian Bouterse >>> Secure Open Systems Initiative >>> 919.698.8796 >>> >>> >>> >>> >>> On Apr 6, 2009, at 4:02 PM, Aaron Peeler wrote: >>> >>>> BTW - what username are trying to use besides 'vcl'. It's possible >>>> there is a bug in the portion that is parsing vcld.conf and it's not >>>> picking up specific characters. >>>> >>>> Aaron >>>> >>>> >>> >> >> >> >> Aaron Peeler >> OIT Advanced Computing >> College of Engineering-NCSU >> 919.513.4571 >> http://vcl.ncsu.edu > > >