List Info

Thread: Array




Array
user name
1969-12-31 18:00:00
Odd...

I've selected 'enable user autocreation' for both the
default domain and 
one other domain; but the change doesn't stick.

Next time I open the settings page, it still has 'no'
selected, and

mysql> select * from maia_domains;
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 

| id | domain       | reminders | charts |
enable_user_autocreation | 
language | charset    |
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 

|  1 | .           | N         | N      | N                 
      | 
en       | ISO-8859-1 |
|  2 | .clarku.edu | N         | N      | N                 
      | 
en       | ISO-8859-1 |
+----+-----------

still looks wrong.  I can of course change it in the
database, but I'm 
worried something else is wrong.  Any ideas?

- Aaron

-- 
Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennettclarku.edu     |     508.781.7315

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
Array
user name
1969-12-31 18:00:00
Aaron Bennett wrote:
> Odd...
> 
> I've selected 'enable user autocreation' for both
the default domain and 
> one other domain; but the change doesn't stick.
> 
> Next time I open the settings page, it still has 'no'
selected, and
> 
> mysql> select * from maia_domains;
>
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 
> 
> | id | domain       | reminders | charts |
enable_user_autocreation | 
> language | charset    |
>
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 
> 
> |  1 | .           | N         | N      | N                 
      | 
> en       | ISO-8859-1 |
> |  2 | .clarku.edu | N         | N      | N                 
      | 
> en       | ISO-8859-1 |
> +----+-----------
> 
> still looks wrong.  I can of course change it in the
database, but I'm 
> worried something else is wrong.  Any ideas?

Are you sure it's updating the right database?  You
mentioned recently
that you migrated your database to a new server, but is it
possible that
your config.php and amavisd.conf are still pointing to the
old database
DSN?  Or conversely, perhaps the database you just checked
above is on
the old server and not the new one?

-- 
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-05 19:48:51
Robert LeBlanc wrote:
>
>
> Are you sure it's updating the right database?  You
mentioned recently
> that you migrated your database to a new server, but is
it possible that
> your config.php and amavisd.conf are still pointing to
the old database
> DSN?  Or conversely, perhaps the database you just
checked above is on
> the old server and not the new one?
>
>   

I'm sure.  I'm running a distributed setup.  All that's
on the web 
server are the php scripts.  That config is controlled
exclusively 
through config.php, right?  Config.php definately points to
the correct 
database; and I'm sure the database I queried is also the
correct one.


.... are there different rights I need to give the maia user
or something?

.... any idea how to debug this?

- Aaron

-- 
Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennettclarku.edu     |     508.781.7315

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-05 20:02:47
Aaron Bennett wrote:
> Robert LeBlanc wrote:
> 
>>
>>Are you sure it's updating the right database?  You
mentioned recently
>>that you migrated your database to a new server, but
is it possible that
>>your config.php and amavisd.conf are still pointing
to the old database
>>DSN?  Or conversely, perhaps the database you just
checked above is on
>>the old server and not the new one?
>>
>>  
> 
> 
> I'm sure.  I'm running a distributed setup.  All
that's on the web 
> server are the php scripts.  That config is controlled
exclusively 
> through config.php, right?  Config.php definately
points to the correct 
> database; and I'm sure the database I queried is also
the correct one.
> 
> 
> .... are there different rights I need to give the maia
user or something?

That would be the next thing to check, yes.  The amavis/maia
user you
reference in the database DSN in your config.php needs to
have the GRANT
permissions listed on the install page, so if you haven't
re-done the
GRANT statement on your new database server it's possible
that your
amavis/maia user just lacks the necessary permissions.  See
Step 2 of
the install docs for the GRANT statement, and bear in mind
that in your
case the user in the GRANT statement will be something like
"amavisweb-server-host" and not
"amavislocalhost", since your database
is on a separate machine.

-- 
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-06 01:52:00
Robert LeBlanc wrote:

>
>
>That would be the next thing to check, yes.  The
amavis/maia user you
>reference in the database DSN in your config.php needs
to have the GRANT
>permissions listed on the install page, so if you
haven't re-done the
>GRANT statement on your new database server it's
possible that your
>amavis/maia user just lacks the necessary permissions. 
See Step 2 of
>the install docs for the GRANT statement, and bear in
mind that in your
>case the user in the GRANT statement will be something
like
>"amavisweb-server-host" and not
"amavislocalhost", since your database
>is on a separate machine.
>
>  
>
Thanks for the reply.  I've checked and the privs are fine;
I even 
re-ran the permission commands from the install page
(changing them for 
my maia username, etc).

Here's the symptoms in detail...

1.  admin/system configuration "Enable auto-creation
of user accounts" 
is "Y"
2.  I go to admin/domains and click on 'System
Default."  "Enable user 
auto creation" is set to "No".  Click
"Yes", then "update this domain's 
defaults."  It appears to work.
3.  Check the database. 
"enable_user_autocreation" is still set to N.
4. Go back to "return to domain settings" and
"no" is still selected.

This happens with newly-created domains as well as the
default domain.  
Is there something I can do to troubleshoot this further? 
Is there a 
diagnostic setting I can put in config.php to log what the
php script is 
trying to do and where it's failing, or something I can do
database-side 
to accomplish the same thing?

Thanks again,

Aaron

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-06 03:20:39
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Bennett wrote:
> Odd...
> 
> I've selected 'enable user autocreation' for both
the default domain and 
> one other domain; but the change doesn't stick.

Maia version????


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFErIGHUy30ODPkzl0RAkKoAJ0cXbxyO7lE/vdFMCoEpx6UKJoUVACg
sJJu
R0ZvbTRxl3MW3+gZXayz+XI=
=ClVc
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-06 13:52:35
David Morton wrote:
>
> Maia version????
>
>   

1.0.1

-- 
Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennettclarku.edu     |     508.781.7315

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
enable user autocreation
user name
2006-07-06 14:39:51
Aaron Bennett wrote:
> Odd...
>
> I've selected 'enable user autocreation' for both
the default domain and 
> one other domain; but the change doesn't stick.
>
> Next time I open the settings page, it still has 'no'
selected, and
>
> mysql> select * from maia_domains;
>
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 
>
> | id | domain       | reminders | charts |
enable_user_autocreation | 
> language | charset    |
>
+----+--------------+-----------+--------+------------------
--------+----------+------------+ 
>
> |  1 | .           | N         | N      | N                 
      | 
> en       | ISO-8859-1 |
> |  2 | .clarku.edu | N         | N      | N                 
      | 
> en       | ISO-8859-1 |
> +----+-----------
>
> still looks wrong.  I can of course change it in the
database, but I'm 
> worried something else is wrong.  Any ideas?
>
> - Aaron
>
>   

I figured it out.  Another developer (who doesn't work here
anymore) had 
customized the domainsettings.php template and disabled
this.  Sorry for 
the false alarm.

grrrr.

- Aaron


-- 
Aaron Bennett
Sr. Unix Systems Administrator
Clark University ITS
abennettclarku.edu     |     508.781.7315

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )