[freeside] Linking Imported Data to Customers

ivan ivan at 420.am
Mon Aug 13 18:21:20 PDT 2001


On Mon, Aug 13, 2001 at 09:11:11PM -0400, Rob Spurlock wrote:
> Ok, so I limited the existing users to 1 user and removed the
> @lock-net suffix.  Same error:
> 
> 1Unexpected line in users.import: rbates        Password = "make1tso"
> at ./svc_acct.import line 166, <USERS> line 1.
> 
> Any hints?

Nope.  Looks like that should work fine.  The regex (see line 165) is:

/^(\w+)\s+(Auth-Type\s+=\s+Local,\s+)Password\s+=\s+"([^"]+)"(,\s+Expiration \s+=\s+"([^"]*")\s*)?$/

Let me know what the fix is when you figure it out so I can include it for
future users.

> 
> rob
> 
> ---- Original Message ----
> From: ivan at 420.am
> To: ivan-freeside at sisd.com, 
> Subject: Re: [freeside] Linking Imported Data to Customers
> Date: Mon, 13 Aug 2001 18:13:37 -0700
> 
> >On Mon, Aug 13, 2001 at 08:33:35PM -0400, Rob Spurlock wrote:
> >> Well, it appears that what I thought svc_acct.import was doing is
> >> incorrect.  Apparently it dies and I thought it was just spitting 
> >out
> >> more garbage.  When I run it, I get the following error:
> >> 
> >> 1Unexpected line in users.import: user at lock-net       Password =
> >> "password" at ./svc_acct.import line 166, <USERS> line 1.
> >> 
> >> and no data is written to the database even though I get a
> >> users.import file.  No "unlinked" services/accounts show up at all.
> >> 
> >> What are the rules the svc_acct.import file uses to get this data? 
> >> Is the @lock-net suffix that kills it?
> >
> >Yes.
> >
> >> 
> >> Thanks again.
> >> 
> >> Rob
> >> 
> >> 
> >> ---- Original Message ----
> >> From: ivan at 420.am
> >> To: ivan-freeside at sisd.com, 
> >> Subject: Re: [freeside] Linking Imported Data to Customers
> >> Date: Mon, 13 Aug 2001 02:17:21 -0700
> >> 
> >> >On Mon, Aug 13, 2001 at 01:07:31AM -0400, Rob Spurlock wrote:
> >> >> Hi all,
> >> >> 
> >> >> I'm working on importing the Radius Users file we already have 
> >in
> >> >> order to link the info to existing  customers.  Problem is, 
> >when I
> >> >> view the package of the customer I want to "link" the imported 
> >data
> >> >> to, there is no "Link" button to "Choose (Link to existing) to 
> >link
> >> >> to a legacy (pre-Freeside) service".  I only get (View).
> >> >
> >> >If you only get (View), then that package already has services 
> >> >linked to
> >> >it; namely, the services that you reach using the (View) links.
> >> >
> >> >Depending on what you're trying to do, you will either want to 
> >cancel
> >> >the exsiting services, or order a new package.
> >> >
> >> >> I ran the
> >> >> svc_acct.import and it imported the existing users file to
> >> >> users.import.  Did I miss something somewhere?
> >> >
> >> >The database is the target of the import.  You should be able to 
> >see 
> >> >the
> >> >accounts you imported from "Browse unlinked accounts" on the main 
> >> >menu.
> >> >
> >> >> It also will not
> >> >> allow me to add additional packages to an existing customer, 
> >just 
> >> >the
> >> >> one I choose initially.
> >> >
> >> >Order additional packages from the "Order and Cancel Packages" 
> >link 
> >> >on the
> >> >main customer view screen. 
> >> >
> >> >-- 
> >> >meow
> >> >_ivan
> >> >
> >> 
> >> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> >> 
> >
> >-- 
> >meow
> >_ivan
> >
> 
> Webmail Provided by Lock-Net Internet Services: www.lock-net.com
> 

-- 
meow
_ivan



More information about the freeside-users mailing list