Feature Requests item #2527337, was opened at 2009-01-22 01:23
Message generated for change (Comment added) made by sbajic
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2527337&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: SteveB (steeeeeveee)
Assigned to: Nobody/Anonymous (nobody)
Summary: allow DSPAM to have more users

Initial Comment:
Currently DSPAM uses signed integer for maintaining UID's of users. This limits 
DSPAM to +/- 32K users. It would be better to change that to a higher number. 
Even using unsigned integer would be better but I would prefer if we could push 
that to unsigned long or even higher.

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

>Comment By: Stevan Bajic (sbajic)
Date: 2009-05-24 21:35

Message:
On my Gentoo box with kernel 2.6.29.4 the type of uid/gid is "unsigned
int". So the limit is way above 32K. But the database schema for the
various backends use a lower type for uid:

MySQL: smallint (-32768 to +32767)
PostgreSQL: smallint (-32768 to +32767)
SQLite: does not have the uid (if I see that right in the code)
hash: does not have the uid (if I see that right in the code)

So the problem for the limitation is:
1) Database schema for MySQL and PostgreSQL (can be easy fixed)
2) The code inside DSPAM should be extended to use unsigned 32 bit
integers (needs some time)

The question I have:
- What is the limitation of uid on other platforms? (Mac OS X, BSD,
Solaris, etc)

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126468&aid=2527337&group_id=250683

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Dspam-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to