On Sat, 30 Aug 2003 11:09:25 -0400, Data Vortex
<[EMAIL PROTECTED]> wrote:
> Making this account toggle via the web interface seemed to have
> only the effect of changing the value of "pw_gid" for the user's
> row in the database. All users have "pw_uid" and "pw_gid" of zero
> (completely virtual installation, so this makes sense), the gid
> was changed to 4098 (does not exist in /etc/group).
Whoa. Looks like I made a bad assumption. I guessed that the pw_uid
& pw_gid were the UID and GID I should use, but I guess it isn't.
Weird. Seems like that would be a good guess, but instead, I think
the pw_gid must be a set of flags that represent privileges.
Try the following patch on stubs/vpopmail1.py:
--- vpopmail1.py 13 Jun 2003 21:16:05 -0000 1.3
+++ vpopmail1.py 1 Sep 2003 03:01:09 -0000
@@ -35,4 +35,4 @@
Dict[Match.group(1)] = Match.group(2)
# Return the home directory, UID, and GID
- return Dict["dir"], Dict["uid"], Dict["gid"], Dict["gecos"]
+ return Dict["dir"], Dict["uid"], 0, Dict["gecos"]
Post here whether that helps and if so, I'll put it in CVS.
Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users