Koozali.org: home of the SME Server

everyone group/pseudonym

Offline demonx

  • 3
  • +0/-0
everyone group/pseudonym
« on: July 07, 2008, 05:04:23 PM »
Hey Guys or Gals,

I have the everyone group and pseudonym disabled on my server. Every now and then it seems to become re-enabled. My guess has been that it happens when I add a new user but I don't really know if thats what causes it. My question is, does anyone know specifically what causes it to become re-enabled?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: everyone group/pseudonym
« Reply #1 on: July 07, 2008, 06:54:49 PM »
Hey Guys or Gals,

I have the everyone group and pseudonym disabled on my server. Every now and then it seems to become re-enabled. My guess has been that it happens when I add a new user but I don't really know if thats what causes it. My question is, does anyone know specifically what causes it to become re-enabled?
You most likely disabled it by editing the configuration files, which is a bad thing as they are regenerated on a lot of occassions (like user addition) from templates.

AFAIK every configuration file has a warning on the top not to edit them... why did you choose to do so. Do you think they are put there for fun? ;-)

You should make a copy of the original template section to the custom tree and modify the copy, reexpand the configuration file and start affected services (or reboot). More information on the template system is in the wiki, look for the SME Server Development Guide.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline demonx

  • 3
  • +0/-0
Re: everyone group/pseudonym
« Reply #2 on: July 07, 2008, 07:11:17 PM »
Actually I disabled it with the instructions I got here in the forum.

Like this:

db accounts delete everyone
signal-event pseudonym-delete

I was thinking maybe some of the templates re-enable it.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: everyone group/pseudonym
« Reply #3 on: July 07, 2008, 07:48:59 PM »
Actually I disabled it with the instructions I got here in the forum.

Like this:

db accounts delete everyone
signal-event pseudonym-delete

I was thinking maybe some of the templates re-enable it.
Perhaps one of the events did, as templates should not be capable off that AFAIK. Not sure if the instructions are valid as well.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline demonx

  • 3
  • +0/-0
Re: everyone group/pseudonym
« Reply #4 on: July 07, 2008, 08:11:54 PM »
I've reapplied the code for disabling and tested it and all seems correct now. I'll try and make a habit or retesting each time I make a change. If I can spot at which point it becomes re-enabled I'll post it here in the forum.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: everyone group/pseudonym
« Reply #5 on: July 07, 2008, 10:06:25 PM »
I've reapplied the code for disabling and tested it and all seems correct now. I'll try and make a habit or retesting each time I make a change. If I can spot at which point it becomes re-enabled I'll post it here in the forum.

the best you can do is file a bug in bugzilla and post here the reference..

HTH
Ciao
Stefano

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: everyone group/pseudonym
« Reply #6 on: July 08, 2008, 12:22:24 AM »
demonx

Try this, do
db accounts delete everyone
signal-event pseudonym-delete

Check if working as expected.

Then do
signal-event post-upgrade
reboot

Then check and see if the setting has changed

If it has changed then a system reconfigure is resetting it, and thefore the command you are using is invalid or has a bug.

Is this where you got that command ?
http://forums.contribs.org/index.php?topic=36802.0

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: everyone group/pseudonym
« Reply #7 on: July 08, 2008, 12:30:11 AM »
demonx

This may satisfy your needs:

db accounts setprop everyone Visible internal
signal-event email-update

From
http://forums.contribs.org/index.php?topic=39263.0
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.