bugweb-cyradm - Bugs: bug #11098, Missing Row In Table: domainadmin

 
 

bug #11098: Missing Row In Table: domainadmin

Submitted by:  None
Submitted on:  Mon 22 Nov 2004 12:42:09 AM UTC  
 
Category: mainSeverity: 3 - Normal
Priority: 5 - NormalItem Group: normal bugs
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: bk
Originator Email: -unavailable-Open/Closed: Closed
Release: 0.5.3Operating System: GNU/Linux
Reproducibility: Every TimePlanned Release: 0.5.5
Cyrus IMAP version: 2.2.xPHP version: 4.3
Database type: MySQL 3.23

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 30 Jul 2006 11:31:56 AM UTC, comment #3:

Fixed in svn version.

Lukasz Marciniak <landm>
Project Member
Thu 06 Jan 2005 03:12:32 PM UTC, comment #2:

hello again..

had´ an error before..

have changed editadminuser.php to work.
the problem was to erase the user in domainadmin table.

resolved:

insert near line 287 after:

# If the new type of admin will be superuser, we also need to delete the domain
# Responsibilities, because a superuser is always responsible for all domains
$query = "DELETE FROM domainadmin WHERE adminuser='$username'";
$result = $handle1->query($query);

the lines:

$query="INSERT INTO domainadmin (domain_name,adminuser) VALUES('*', '$username')";
$result = $handle1->query($query);

this do recreate the needed domainadmin tables for superuser.

cu

koloss

Koloss <koloss>
Thu 06 Jan 2005 03:03:34 PM UTC, comment #1:

hi..

edited the editadminuser.php

Anonymous
Mon 22 Nov 2004 12:42:09 AM UTC, original submission:

When I go in and change the password for an admin which is a superuser, the row for that user is removed from the domainadmin table, and it makes the system stop working.

1. login as admin/test
2. goto adminusers "tab"
3. edit the "admin" administrator
4. change the password
5. click submit
6. note you keep getting logged out, and the domainadmin table no long has the "*","admin" row in it.

Hope that helps!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 30 Jul 2006 11:31:56 AM UTClandmOpen/ClosedOpen=>Closed
Mon 20 Jun 2005 03:51:22 PM UTClandmStatusNone=>Fixed
  Planned Release0.5.4=>0.5.5

Back to the top


Powered by Savane 3.1-cleanup1