Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: prasann4u on June 14, 2006, 01:32:17 PM

Title: BATCH FILES FOR ADDING USERS in SME7
Post by: prasann4u 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
Title: Re: BATCH FILES FOR ADDING USERS in SME7
Post by: raem 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
Title: Re: BATCH FILES FOR ADDING USERS in SME7
Post by: CharlieBrady 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.
Title: BATCH FILES FOR ADDING USERS in SME7
Post by: prasann4u 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