[freeside] export

Jeff Finucane jeff at cmh.net
Fri Jan 4 11:02:27 PST 2002


"Edward Shabotinsky" <lanshark at bsinet.net> wrote on Fri, 4 Jan 2002 00:38:26 -0600....

+----------
| Message-ID: <003501c194ea$6a9a4dc0$0201a8c0 at britesiteinet.net>
| Subject: [freeside] export
| 
| system running fbsd4.4-stable and freeside 1.4.7pre
| 
| First thing is error message 'Use of uninitialized value at
| ./svc_acct.export line 352'
+----------

  Use of initialized data sounds bad.  Since this code spits out
vpasswd files, it is conceivable that inappropriate access would
be granted to the mail system.  My best guess, without more information,
is that $vpopdir is unitialized.  Do you have a vpopmailmachines file in
the config directory?

+----------
| I have username domainname together like this " joedomain.com" instead just
| " joe ".
+----------

  This is controlled by lines 282 through 292 of svc_acct.export.

  If you have a config file 'domain' that contains 'domain.com' then
'joe at domain.com' will be rendered in the radius Mysql tables as 'joe'
instead of 'joedomain.com'

  Perhaps there should be an '@' in the code at line 289.

  $username=$svc_acct->username . '@' . $svc_domain->domain;

  would cause 'joe at domain.com' to appear in the radius tables.

  If you have other ideas about the username_policy behavior, I'd be
interested in hearing of them.  Clearly duplicate usernames in the
radius tables would be a bad thing.

-- 
jeff at cmh.net

"There is no worse tyranny than to force a man to pay for what he does
 not want merely because you think it would be good for him." 

 Professor Bernardo de le Paz
  [ R.A. Heinlein -- "The Moon is a Harsh Mistress" ]




More information about the freeside-users mailing list