[freeside] Import just won't work

ivan ivan at 420.am
Mon Aug 13 20:09:38 PDT 2001


try this patch

ivan at rootwood:~/freeside_current/bin$ cvs diff -u svc_acct.import 
Index: svc_acct.import
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/svc_acct.import,v
retrieving revision 1.15
diff -u -r1.15 svc_acct.import
--- svc_acct.import     2001/07/30 06:07:47     1.15
+++ svc_acct.import     2001/08/14 03:08:58
@@ -166,7 +166,7 @@
   next if /^\s*$/;
   next if /^\s*#/;
   if ( /^\S/ ) {
- /^(\w+)\s+(Auth-Type\s+=\s+Local,\s+)Password\s+=\s+"([^"]+)"(,\s+Expiration\s+=\s+"([^"]*")\s*)?$/
+ /^(\w+)\s+(Auth-Type\s+=\s+Local,\s+)?Password\s+=\s+"([^"]+)"(,\s+Expiration\s+=\s+"([^"]*")\s*)?$/
       or die "1Unexpected line in users.import: $_";
     my($password,$expiration);
     ($username,$password,$expiration)=(lc($1),$3,$5);


On Mon, Aug 13, 2001 at 10:55:15PM -0400, Rob Spurlock wrote:
> Ivan, I've tried everything my limited mind can think of.  I removed
> tabs, quotes, spaces every combination.  Nothing would let it get
> past the error:
> 1Unexpected line in users.import: johndo Password = "nothing" at
> ./svc_acct.import line 166, <USERS> line 1.
> 
> I do assume this is the standard format for most Radius users files? 
> Are there any other files or perl modules etc that might be keeping
> this from working?
> 
> I'm at a brick wall here.
> 
> Thanks,
> 
> Rob
> 
> 
> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> 

-- 
meow
_ivan



More information about the freeside-users mailing list