Go Back   FlashFXP Forums > > > >

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 12-05-2003, 05:22 PM   #1
ZodMan
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 6
Default ioShareDB

ioShareDB v0.9.0

A user and group module that can be used to share a user database.

It's using an odbc connection to store users and groups.

Only tested with MyODBC and MySQL.

You can't rename users or gorups with this module.
Only use this module for testing until version 1.0.0 is ready.

http://www.ioftpd.com/scripts/script.php?id=44
ZodMan is offline   Reply With Quote
Old 12-05-2003, 05:31 PM   #2
Reb0ot
Guest
 
Posts: n/a
Default

w00t is all i have to say, still need to test it, will give some results when i have my machines up and running hehe

great work mate, finger crossed that it works


-----------------------------------------------------------------------------------

btw if it works you should go and pick up your $145 price for making a script like this
  Reply With Quote
Old 12-05-2003, 06:09 PM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

how does server react if mysql db is down ?
Mouton is offline   Reply With Quote
Old 12-05-2003, 08:00 PM   #4
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

cool men, your the first dude giving it a real shot i think.
respect!
Unique is offline   Reply With Quote
Old 12-06-2003, 05:33 AM   #5
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Keeping my fingers crossed...
peep is offline   Reply With Quote
Old 12-06-2003, 08:11 AM   #6
ZodMan
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 6
Default

Version 0.9.0 doesn’t cache anything and it does spam the db a lot.
But version 1.0.0 will cache everything on the local server,
so if the db goes down, it will sync when the db server comes back on.
It won’t spam the db that much and you will be able to specify delayed sync to save db load.
ZodMan is offline   Reply With Quote
Old 12-06-2003, 09:32 AM   #7
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

cooooooooool.... you have no idea how long ive been w8ing for this..... awsome work... respect.....
rAWfOX is offline   Reply With Quote
Old 12-06-2003, 10:06 AM   #8
sCry
Member
 
Join Date: Oct 2003
Posts: 79
Default

But i have no any data base experiences.¡¡how to begin if i use odbc?
sCry is offline   Reply With Quote
Old 12-06-2003, 02:34 PM   #9
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

12-06-2003 20:34:35 ioShareDB v0.9.0 not loaded

is there a way to se why it dosnt load? cuz i cant find what i missed...
rAWfOX is offline   Reply With Quote
Old 12-06-2003, 03:50 PM   #10
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Great work
neoxed is offline   Reply With Quote
Old 12-07-2003, 05:10 AM   #11
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

Got it to work

Damn nice..

But you cant add a Master user, stats on iobanana and other scripts dosnt work.
rAWfOX is offline   Reply With Quote
Old 12-07-2003, 06:25 PM   #12
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

rAWfOX, anything/everything that uses shared memory (or ioftpd's tcl calls) for access should work. Other type of access hasn't been suggested since b5.

ZodMan, it shouldn't spam the database too often (only on lock & unlock requests.. since io does the caching for read purposes) I can't see any way to prevent that from occuring (you could add counter, which is incremented by one after each update, to each user & group - and only retrieve data, if counter value has changed)
darkone is offline   Reply With Quote
Old 12-07-2003, 08:41 PM   #13
Mr_X
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 142
Default

Very cool thing man. Big thx
Lots of people have been waiting for such thing (me too)
Mr_X is offline   Reply With Quote
Old 12-09-2003, 02:35 AM   #14
SomeoneWhoCares_2
Member
 
Join Date: Sep 2002
Posts: 87
Default

thanks for this! trying it out now.. seems to only add entry to useridtable but not create anything in ..\users\
probably supposed to work like that as site uinfo works fine but site user (ioGroups) does not


also if not using gadduser and have a
GROUPS *
line in default.user seems to make trouble...

but it looks like its not using default.user at all when adding people

i also notice it doesnt work when io is running as a service, will this ever be possible?
SomeoneWhoCares_2 is offline   Reply With Quote
Old 12-09-2003, 06:04 AM   #15
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Yep, this is the way it should work... and this is the reason why I've urged, scripters to start using shmem rather than relying existance of files on filesystem (mapped file & window messages) Most iTCL scripts should be working without modifications
darkone is offline   Reply With Quote
Reply

Tags
gorups, iosharedb, module, user, users


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:34 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)