[freeside] usernames + password

Thomas Charron tcharron at ductape.net
Mon May 29 07:11:12 PDT 2000


From: Colin Chan <colinc at terrigal.net.au>
To: <ivan-freeside at sisd.com>
Sent: Sunday, May 28, 2000 9:01 PM
Subject: [freeside] usernames + password
> #ask FS::UID to run this stuff for us later
> $FS::UID::callback{'FS::svc_acct'} = sub {
>   $conf = new FS::Conf;
>   $dir_prefix = $conf->config('home');
>   @shells = $conf->config('shells');
>   $shellmachine = $conf->config('shellmachine');
>   $usernamemin = $conf->config('usernamemin') || 2;
>   $usernamemax = $conf->config('usernamemax');
>   $passwordmin = $conf->config('passwordmin') || 6;
> };
> I change the values to 0 and 2 respectively, and restarted mysql and
> reloaded the cgi file on the web browser. It seems as though the check
> for both username and password are still using the old values.

  Changed which values, the '2' and the '6'?  That line is basically saying
set the min to what it's configured to, or 2 if not defined.  Same for the 6
line..  Do you have these values configured already to be something else?




More information about the freeside-users mailing list