PDA

View Full Version : Raiden to ioFTPd User/Group Importer


Flare2
02-25-2003, 08:11 PM
I know that you all wanted one of these, so I went about and coded it. Be sure to read all the docs.

It's still beta. As of the time of this post I have just finished coding it. Make sure you backup both your Raiden/ioFTPd before using this incase it messes up.

I coded this for 4.5.4. It is a beta version so the more people who try it the better. Please post any bugs/glitches you find.

Even if you have already converted or anything, the more people who try it out the better so --- if you want to try it, even just for the sake of trying it, please do.

Changelog:
v1.0.1
- Fixed PATH error

v.1.0.2
- Fixed MNDN=MNUP
- Fixed WKDN/WKUP Import Problem

v.1.0.3
- Fixed ALDN mixup.

Zer0Racer
02-26-2003, 03:28 AM
Good work. I haven't tested it cause I threw all my raidenftpd files away after converting to ioFTPD. Burned my bridges. 'Boy it felt good! :D

I like the documentation too. Doesn't seem complicated in any way. In my opinion, you could remove the "suck-ass" part from explanation on why certain things cannot be imported from raidenftpd. Everybody knows that raidenftpd is not very good. :)

And I REALLY like the part where you only have to input one (1) path for ioFTPD and six (6!!) paths for raiden-suck-ass-ftpd. :)

Btw.. only found two typos in the documentation when reading through it in a hurry; Dayn and black slashes.

Once again.. good work! Let's see how many new ioFTPD users there will be within a week. Spread the word guys!

gulu
02-26-2003, 05:20 AM
hmm ... i don't know why it's different for me, but in my *.user the user-passwords are plain-text... could it be because i allow my users to change their own password?

WiZLeR
02-26-2003, 05:23 AM
hmmm nice one

but i cant convert userbase over in coz of
Runtime error 76 - Wrong pathes

but all pathes are checked double by me so dunno maybe a small bug?


l8a

thewarden
02-26-2003, 07:44 AM
Runtime error 76 - Wrong paths

^

Same here...

path style

c:\temp\ioftpd
c:\temp\site\
c:\temp\site\stat

3 paths I used...

As well tried raiden files in c:\temp\

same error.

TW

Flare2
02-26-2003, 08:01 AM
I probably should have made this clearer in the documentation.

The IOFTPD path is the only one that is simply a folder.

The other six are full paths to files, including the filename.

Did you simply put in paths to the folder for the 6 raiden files? Cuz if so, thats the problem.

Flare2
02-26-2003, 08:12 AM
gulu, your user passwords are not plain text by default. They are only plain text after a user has changed his password since he was added (or if you used some type of import script when you setup raiden). Most users passwords wlil not be plain text, and if they are added through the FTPd, by default, they are not plain text.

thewarden
02-26-2003, 08:23 AM
Originally posted by Flare2
I probably should have made this clearer in the documentation.

The IOFTPD path is the only one that is simply a folder.

The other six are full paths to files, including the filename.
.


paths - I should have made mine more clear as well :)

c:\temp\ioftpd
c:\temp\site\deafult.user - full paths is what I used

as well as

c:\temp\default.user - by reducing one dir to see if it would work.

Both ways the path error came up.

I used \temp as I simply copied IO and RAGGITYASS to it.

WiZLeR
02-26-2003, 11:17 AM
Originally posted by thewarden
paths - I should have made mine more clear as well :)

c:\temp\ioftpd
c:\temp\site\deafult.user - full paths is what I used

as well as

c:\temp\default.user - by reducing one dir to see if it would work.

Both ways the path error came up.

I used \temp as I simply copied IO and RAGGITYASS to it.

yep exactly same error here with also COMPLETE pathes to the files of Raiden...

Flare2
02-26-2003, 03:26 PM
ok ill go back and dig into it, i should have some news soon

Flare2
02-26-2003, 04:14 PM
Found it, and oh man was it a stupid rediculous error.

Fixed now.
(Updated link for 1.0.3 also)
http://www.ioftpd.net/rd2io103.rar

link in first post updated also.


Give it another try!

thewarden
02-26-2003, 06:35 PM
Paths work -

created the 6 groups I had

created the users from 300 +



Now here is something else:

io user (as made with your script)


PASSWORD (removed)
TAGLINE IND
FLAGS 3
CREDITS 127638 0 0 0 0 0 0 0 0 0
RATIO 0 3 3 3 3 3 3 3 3 3
LIMITS 0 0 -1 -1 -1
GROUPS 6
IPS *@24.*.*.*
MONTHUP 11221 55229944 0
MONTHDN 11221 55229944 0
ALLDN 1 591865 0
ALLDN 1 226051905 0


from raiden for this user -

MONTH UP - user : pacrats:55229944:11221:IND:
WEEK UP - user : pacrats:6680935:478:IND:
MONTH DN - user : pacrats:137185:85:IND:
WEEK DN - no data for the week

--->In IO the MONTH has the same data?
--->IN IO dn stats line is wrong?
--->In IO credit line is wrong?

Or am I reading this wrong?

TW

Flare2
02-26-2003, 11:20 PM
well it appears that you found a problem with mnup/mndn being the same - nice one there. also, wkdn and wkup had a lil mistake in code which only imported them if you had both wkdn/wkup stats (dumb mistake), so i fixed that and now it should import properly. Get the new version from the link below.

New Version Which Has Fixes:
(Updated link to 1.0.3 newest version)
Download: http://www.ioftpd.net/rd2io103.rar

WiZLeR
02-27-2003, 05:31 AM
Originally posted by Flare2
well it appears that you found a problem with mnup/mndn being the same - nice one there. also, wkdn and wkup had a lil mistake in code which only imported them if you had both wkdn/wkup stats (dumb mistake), so i fixed that and now it should import properly. Get the new version from the link below.

New Version Which Has Fixes:
Download: http://www.ioftpd.net/rd2io102.rar

i found another small bug bug....

it converts the total up/down stats from raiden but it converts Up from raiden to Down at IO and down from Raiden to UP at IO....

maybe you can fix this too coz its looks strange if a user got 300gb credz but just uploaded round 7mb ;)

thanxx
WiZLeR

Flare2
02-27-2003, 05:52 AM
Good find again - lotsa lil mistakes like this apparently :)

thx wikkid

Just put out 1.0.3 to fix it

http://www.ioftpd.net/rd2io103.rar

thewarden
02-27-2003, 07:41 AM
PASSWORD (removed)
TAGLINE IND
FLAGS 3
CREDITS 127638 0 0 0 0 0 0 0 0 0
RATIO 0 3 3 3 3 3 3 3 3 3
LIMITS 0 0 -1 -1 -1
GROUPS 6
IPS *@24.*.*.*
WKUP 478 6680935 0
MONTHUP 11221 55229944 0
MONTHDN 85 137185 0
ALLUP 1 226051905 0
ALLDN 1 591865 0

raiden

user:2:: pacrats:1:0:0:0:-1:0:591865:226051905:IND:eng:52726:127638.06:1:0:: :1:1:

The IO CREDITS 127638 is wrong?

Should it do this?

ALLTIME up 226051905 - dn 591856 = 225460049 and then into the CREDITS for IO
as earned bytes for the new IO credit sextion?

OR - has raiden already ex: if a 3:1 ratio - are these numbers at that earned 3 ratio
as listed above...I'm not 100% sure on raiden as he has altered 100001 things in it.


Other than this, the stats are now entered correctly for this user.

TW


PS: one other item - can it be done where the SYSOP can set the password - as I do have
all my users passwords - setting it ex: BOO would be easier for SYSOPS with users passwords
who wish to change the passwords themselves....than typing “raiden2ioftpd" each time.

just an idea...


By the way - great little program!

Flare2
03-02-2003, 03:46 PM
sorry to disappear, i went to wisconsin for 4 days

i believe credits should import correctly...


as for passwords, you mean have it be different for each person and u can set it, or you can set one pw for everyone?

thewarden
03-02-2003, 04:46 PM
Originally posted by Flare2
sorry to disappear, i went to wisconsin for 4 days

i believe credits should import correctly...


as for passwords, you mean have it be different for each person and u can set it, or you can set one pw for everyone?

ONE PASSWORD which the sysop can enter...instead of the
deafult one you have...would make typing it in easier if it
was ex: BOO and not the long one you have - then I could simply
change the user password as I have them for my users.

Instead of them doing it...


I could be reding the credits wrong, been busy myself this past
weekend, will triple check it.

surtin
03-17-2003, 04:41 AM
When I try and use your tool I get:

Runetime error '5':
Invalid procedure call or argument

I made sure to make the paths to the files correct, so I'm a bit stumped. I'm pretty sure I have all the VB runtimes. On Win XP with SP1.

Any help? :confused:

FTPServerTools
03-17-2003, 05:59 AM
Hiya Flare.. I minor update on your knowledge about the raiden passwords:
From the raiden site:

field 2 m_password : user's password (clear text) <= 32 chars (make sure there is no ':' char inside the password)

field 14 m_encpass : encrypted password , leave empty if you put a clear text password already

field 17 m_pass_type : 0=normal , 2=s/key md4 , 3=s/key md5 , 4=s/key sha-1 , 6=force SSL , 7=any password , 8=des local hash , 9=md5 local has , if type = 8 or 9 , hashed password is stored in field 2 and field 14 should be empty

If field2 is empty and field14 is empty then there is no pass set (not what we want)
If field 17 = 9 (any password) then field 14 will not be used, the pass will not be encrypted. This is THE way to use raiden passwords if you ask me. Then you can convert from any program.
Field 17=0 then the encrypted password will be stored in field 14
I havent tested or tried the other fields. They are handy for converting form servu and g6 and such.

SnypeTEST
03-22-2003, 10:49 PM
Raiden2ioFTPd v1.0.4 i guess.

fixed that runtime 5 error and runtime 55 error :)

email flare with any errors :rolleyes: hehehehe

download the attatchment :) no docs included , click the "help" button.

Flare2
03-23-2003, 02:52 AM
yep, teamed up with Snype on this one finally :)

1.0.4 should be the one for yall to use, works the best.

thx snype for the help.

tnemec
03-31-2003, 12:19 PM
Runtime Error '9'
Subscript out of range.

Any ideas?


d:\TEST\ioFTPD
d:\TEST\raid\default.user
d:\TEST\raid\default.allow
d:\TEST\raid\stat\DE-2-usr-wkdn#13.dat
d:\TEST\raid\stat\DE-2-usr-wkup#13.dat
d:\TEST\raid\stat\DE-2-usr-mndn#03.dat
d:\TEST\raid\stat\DE-2-usr-mnup#03.dat

Thats what i have for my settings

raz0r
04-01-2003, 05:28 AM
yup I got that too, changed the paths and filenames etc etc
spent about 2hrs trying to figure it out, eventually just gave up and did it by hand :(

cya

tnemec
04-01-2003, 11:01 AM
Atleast it wasnt just me..
;)

SnypeTEST
04-01-2003, 12:51 PM
hmm send me those files ;) i'll see what the problem is, easyroms@yahoo.com

tnemec
04-01-2003, 02:18 PM
I did it manually allready.
:/
thanks though

Azie
04-18-2003, 03:23 PM
Also got that runtime 9 error..
v1.0.5 soon? :)

SnypeTEST
04-19-2003, 10:25 AM
oh ok , I'll post it tonight - I am not at home yet. and I forgot to send flare the files :(

Azie
04-19-2003, 11:24 AM
Thumbs up :)

Reb0ot
08-06-2003, 06:30 PM
ok some things i found out wrong while converting
nop i didnt get any error msg, convertion process went just fine..

ok comparing both the raiden and io users here is what went wrong:

*it didn't move the users into the correct groups
*the passwords did not work
*some ppl it didn't even transfer at all
*credits it transfered only 10percent of them
*not sure about credits but gave everyone leech

thats all ;)
cheers

--yep i have read the transfer of passwords, so i guess i shall remove the password problem from the list? ;)

Flare2
08-06-2003, 08:49 PM
well it works for everyone else ...

Andy_1
11-16-2003, 09:19 AM
Hey all.

I'm new to this board, and plan on switching from Raiden to ioFTPD at some point in the next few weeks. I have to say, Raiden is a nightmare and a constant headache. It crashes at least 5-6 times per day, and I've been offered no help whatsoever to try and figure it out. In any case, I look forward to using these scripts to save some of my Raiden settings. It's hard when you have many members with IP restriction, etc. - unfortunately, there aren't any other FTP servers out there that have Raiden importing tools! Furthermore, ioFTPD seems to have a better interface/stability. Just wanted to say hi, and I will hopefully be more active on the forums as soon as I get things installed!

wooolF[RM]
11-16-2003, 08:53 PM
Originally posted by Andy
ioFTPD seems to have a better interfaceuhm... interface? O.o

if u call icon in your taskbar with the only option to shutdown "interface" then... :p

intel
01-12-2004, 02:23 PM
Can you please let me know where I can dl the app. The url doesnt work for me.

Mouton
02-29-2004, 09:08 AM
Flare: post in ioftpd.com/script or i'll move this thread to archives.

intel
02-29-2004, 11:25 AM
Cant get to the site....
Looking foward to tryin the app...