Koozali.org: home of the SME Server

BATCH FILES FOR ADDING USERS in SME7

prasann4u

BATCH FILES FOR ADDING USERS in SME7
« on: June 14, 2006, 01:32:17 PM »
HI FRIENDS,
USING SME SINCE 2 YEARS AND ITS GREAT,

DEPLOYING NEW SERVER FOR OUT NON-PROFIT ORGANIZATION POWERED BY SME7, AND I HAVE TO CREATE 20000 USERS, CONTRIB FROM abe_AT_loveless AND nx-sme-adduser-1.0.5-0.noarch.rpm PACKAGES ARE NOT WORKING. PLS ANYONE HELP ME AND GIVE ANY IDEA TO CREATE USERS FROM FILE??

by using contrib from abe_AT_loveless, i m getting this error

*WARNING* esmith::config(/home/e-smith/accounts) called with old database path. The following package needs to be updated:  at /usr/lib/perl5/site_perl/esmith/config.pm line 374
        esmith::config::TIEHASH('esmith::config', '/home/e-smith/accounts') called at script.pl line 11

and by using nx-sme-adduser-1.0.5-0.noarch.rpm
i m getting this error message :-
*WARNING* esmith::config(/home/e-smith/accounts) called with old database path. The following package needs to be updated:  at /usr/lib/perl5/site_perl/esmith/config.pm line 374
        esmith::config::TIEHASH('esmith::config', '/home/e-smith/accounts') called at /sbin/csv-adduser line 31

THNKS A LOT IN ADVANCE

PRASANN ACHARYA

Offline raem

  • *
  • 3,972
  • +4/-0
Re: BATCH FILES FOR ADDING USERS in SME7
« Reply #1 on: June 14, 2006, 03:08:34 PM »
prasann4u

The db location changed in sme 7, see
http://forums.contribs.org/index.php?topic=27793.0

You can probably manually edit
/usr/lib/perl5/site_perl/esmith/config.pm line 374
and correct the path which is now
/home/e-smith/db/....

Do a
signal-event post-upgrade
signal-event reboot
for safe measure
...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: BATCH FILES FOR ADDING USERS in SME7
« Reply #2 on: June 14, 2006, 05:23:30 PM »
Quote from: "prasann4u"

by using contrib from abe_AT_loveless, i m getting this error


You should use the bug tracker and report in the Contribs section that this contrib needs to be updated for SME7.

prasann4u

BATCH FILES FOR ADDING USERS in SME7
« Reply #3 on: June 15, 2006, 12:51:41 PM »
thank u very very much MR. RayMitchell,

after modifying contrib package its working properly,

thnks again dear.


Prasann Acharya