Old 12-09-2003, 06:10 AM   #16
ADDiCT
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 517
Default

:offtopic: the reason why ioGroups is still reading the userfiles, is backwards compatibility with pre-5.2.11 versions
ADDiCT is offline   Reply With Quote
Old 12-09-2003, 07:09 AM   #17
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

Quote:
Originally posted by ADDiCT
fftopic: the reason why ioGroups is still reading the userfiles, is backwards compatibility with pre-5.2.11 versions
is there a version soon that will work with it?
rAWfOX is offline   Reply With Quote
Old 12-10-2003, 06:39 PM   #18
rozwellite
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 37
Default

I just started testing this module and the first thing i have come accross is that it is not picking up the default.user setting. Users are being added without flags and are being added with leech. And all users are being added with 0 logins. So if anyone has any ideas please let me know.
rozwellite is offline   Reply With Quote
Old 12-11-2003, 03:06 PM   #19
rozwellite
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 37
Default

Alright is me again. I just come across one other issue. I am getting this error in my error.log.

12-11-2003 20:44:04 Warning: Group file for group '(null)' does not exist, or is corrupted.
rozwellite is offline   Reply With Quote
Old 12-11-2003, 03:38 PM   #20
ZodMan
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 6
Default

I Think I know the reason for that error, it's fixed in the next version
(forgot to set NOGROUP_ID if user has no group)

Default user and group file is not used by v0.9.0, but will be used by v1.0.0

Version 1.0.0 should be ready this weekend

To change a user to master you have to do this:

UPDATE users SET flags = 'M', time = NOW() WHERE name = 'user' AND locked = 0

and the sites will pick it up after the next db refresh
ZodMan is offline   Reply With Quote
Old 12-11-2003, 03:42 PM   #21
rozwellite
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 37
Default

wierd thing is all my users are in groups none of them are in "NoGroup"
rozwellite is offline   Reply With Quote
Old 12-11-2003, 04:13 PM   #22
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Quote:
Originally posted by ZodMan
I Think I know the reason for that error, it's fixed in the next version
(forgot to set NOGROUP_ID if user has no group)

Default user and group file is not used by v0.9.0, but will be used by v1.0.0

Version 1.0.0 should be ready this weekend

To change a user to master you have to do this:

UPDATE users SET flags = 'M', time = NOW() WHERE name = 'user' AND locked = 0

and the sites will pick it up after the next db refresh
Also, be sure to pad group arrays in userfile structure with -1, as 0 is valid group id (if there is space for it) Array containing MAX_GROUPS groups, should not have padding
darkone is offline   Reply With Quote
Old 12-11-2003, 05:06 PM   #23
ZodMan
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 6
Default

The module is already padding the array

Code:
ZeroMemory(lpUserFile->Groups, sizeof(lpUserFile->Groups));
ZeroMemory(tszGroupName, sizeof(tszGroupName));
for (iGroup = 0; (sReturn = SQLFetch(hStmt)) != SQL_NO_DATA;) // iGroup++ is here in v0.9.0
{
	if (iGroup >= MAX_GROUPS || (sReturn != SQL_SUCCESS && sReturn != SQL_SUCCESS_WITH_INFO)) break;

	lpUserFile->Groups[iGroup] = lpGroup2Gid(tszGroupName);
	if (lpUserFile->Groups[iGroup] == INVALID_GROUP)
		//lpPutlog(LOG_DEBUG, _T("ioShareDB: Cannot resolve group '%s' to an id for user '%s'\r\n"), tszGroupName, tszUserName);
	else
		iGroup++;
	ZeroMemory(tszGroupName, sizeof(tszGroupName));
}
SQLCloseCursor(hStmt);
if (iGroup == 0) { lpUserFile->Groups[0] = NOGROUP_ID; lpUserFile->Groups[1] = INVALID_GROUP; } // this line is missing in v0.9.0
else if (iGroup < MAX_GROUPS) lpUserFile->Groups[iGroup] = INVALID_GROUP;
lpUserFile->Gid = lpUserFile->Groups[0];
Can't find anything wrong so my guess is that it was NOGROUP_ID that caused the error
ZodMan is offline   Reply With Quote
Old 12-15-2003, 05:06 AM   #24
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Any idea when the rls of v1.0.0 will take place?
peep is offline   Reply With Quote
Old 12-15-2003, 06:55 PM   #25
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

when it's ready...
wooolF[RM] is offline   Reply With Quote
Old 12-16-2003, 10:25 AM   #26
rozwellite
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 37
Default

Other issue I have run accross is that for no reason at all certain users are getting negative 100s of gig credits. I have not been able to tell what i s causing the negative credits.
rozwellite is offline   Reply With Quote
Old 12-17-2003, 03:11 PM   #27
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

i've tryed to start ioFTPD locally with the modules included but it crashes everytime and it doesn't start

it gave me in the event viewer a big dump of memory but it creates NO logs on /logs ... what's the matter??

I've Windows 2000 Server in ITA and using ioFTPD 5.2.15r ... is it compatible?
Jog is offline   Reply With Quote
Old 12-17-2003, 03:29 PM   #28
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

No.
You need latest version of io.
Mouton is offline   Reply With Quote
Old 12-17-2003, 06:31 PM   #29
rozwellite
Member
ioFTPD Registered User
 
Join Date: May 2003
Posts: 37
Default

Other another issue found. Seems when affils add users for their slots instead of them being added to the affil group they are added without a group. Hense them being in the NoGroup and causing that error I posted before. Ok thanks I hope to see the updated version soon.
rozwellite is offline   Reply With Quote
Old 12-17-2003, 07:57 PM   #30
Jog
Member
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 83
Default

ok ... now i can run ioShareDB with 5.3.9r

but if i want to share preexistent user i can't .. i had to re-add groups & users??

does in 1.0.0 will be a function to import in the DB a list of user&groups?

it's a very good script
Jog is offline   Reply With Quote
Reply

Tags
gorups, iosharedb, module, user, users

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 03:21 PM.

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