On Fri, 6 Aug 2010 11:52:03 +0200 (CEST) "Imposit.com - webmaster" <webmas...@imposit.com> wrote:
> | The issue is not in admin.cgi but in the way how _ds_get_nextuser() > | works. Calling _ds_get_nextuser() should return a list of known DSPAM > | users. As soon there are no more users the function is returning a > | NULL. And dspam_stats is handling a NULL as end of list (aka: no more > | users). However... if a user is found in the stats table but there is > | no system user (in your case since you don't use virtual users) then > | _ds_get_nextuser() will return a NULL (aka: no user with that name) > | and then dspam_stats (and other DSPAM binaries) will assume that there > | are no more users to list. > | > | I can fix that but this will require me to change quite a lot of code > | and change how the helper applications/functions are handling the > | enumeration of users. > > Not urgent for me. Since i know the problem i added a script to delete the > stats if a user gets deleted. > hmm i dont knwo really the code but why not simply check at first if uid > exist if not uid +1 and try it again, this should loop uid +1 until end. > but you need a highers uid in the system for that or it loops to nowheres > land :-) > It is not that simple. You miss to see the big picture. Not everyone is using a non-virtual setup... > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Dspam-devel mailing list > Dspam-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspam-devel > ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel