12-09-2003, 06:10 AM
|
#16
|
Senior Member
FlashFXP Beta Tester ioFTPD Scripter
Join Date: Aug 2003
Posts: 517
|
:offtopic: the reason why ioGroups is still reading the userfiles, is backwards compatibility with pre-5.2.11 versions
|
|
|
12-09-2003, 07:09 AM
|
#17
|
Senior Member
Join Date: Aug 2003
Posts: 148
|
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?
|
|
|
12-10-2003, 06:39 PM
|
#18
|
Member
ioFTPD Registered User
Join Date: May 2003
Posts: 37
|
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.
|
|
|
12-11-2003, 03:06 PM
|
#19
|
Member
ioFTPD Registered User
Join Date: May 2003
Posts: 37
|
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.
|
|
|
12-11-2003, 03:38 PM
|
#20
|
Junior Member
ioFTPD Registered User
Join Date: Oct 2003
Posts: 6
|
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
|
|
|
12-11-2003, 03:42 PM
|
#21
|
Member
ioFTPD Registered User
Join Date: May 2003
Posts: 37
|
wierd thing is all my users are in groups none of them are in "NoGroup"
|
|
|
12-11-2003, 04:13 PM
|
#22
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
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
|
|
|
12-11-2003, 05:06 PM
|
#23
|
Junior Member
ioFTPD Registered User
Join Date: Oct 2003
Posts: 6
|
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
|
|
|
12-15-2003, 05:06 AM
|
#24
|
Senior Member
FlashFXP Scripter ioFTPD Foundation User
Join Date: Sep 2003
Posts: 132
|
Any idea when the rls of v1.0.0 will take place?
|
|
|
12-15-2003, 06:55 PM
|
#25
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 411
|
when it's ready...
|
|
|
12-16-2003, 10:25 AM
|
#26
|
Member
ioFTPD Registered User
Join Date: May 2003
Posts: 37
|
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.
|
|
|
12-17-2003, 03:11 PM
|
#27
|
Member
ioFTPD Foundation User
Join Date: Jul 2003
Posts: 83
|
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?
|
|
|
12-17-2003, 03:29 PM
|
#28
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
No.
You need latest version of io.
|
|
|
12-17-2003, 06:31 PM
|
#29
|
Member
ioFTPD Registered User
Join Date: May 2003
Posts: 37
|
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.
|
|
|
12-17-2003, 07:57 PM
|
#30
|
Member
ioFTPD Foundation User
Join Date: Jul 2003
Posts: 83
|
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
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:20 AM.
|