Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Tivon Coles on December 12, 2003, 09:09:10 PM

Title: Change LDAP directory settings
Post by: Tivon Coles on December 12, 2003, 09:09:10 PM
Not a biggie because it still works/saves.
Its been like this for a while, thought I better add it in since its still there.

Once you save in "Change LDAP directory settings" you get
(internet explorer)
Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
(Mozilla Firebird)
Document Contains No Data

instead of reloading the page or saying settings have been changed/updated.

[%sig%]
Title: Re: Change LDAP directory settings
Post by: Charlie Brady on December 13, 2003, 01:54:45 AM
Tivon Coles wrote:

> Not a biggie because it still works/saves.
> Its been like this for a while, thought I
> better add it in
> since its still there.
...

> Internet Explorer was unable to link to the
> Web page you requested. The page might be
> temporarily unavailable.

The page *is* temporarily unavailable, as the web server (apache) is being restarted to include the new SSL certificate information.

> instead of reloading the page or saying
> settings have been changed/updated.

The page can't be reloaded, or tell you that settings have changed, because apache is being restarted.

Charlie
Title: Re: Change LDAP directory settings
Post by: Darrell May on December 13, 2003, 11:19:46 PM
Hi Charlie,  nice to see you here.

IIUC this should be able to be solved by switching the directory.pm code to call restart-httpd-full as a background process and return a status message.  The status message could state that the server-manager is restarting, please wait a moment before selecting a new server-manager link.

What do you think?

Darrell
Title: Re: Change LDAP directory settings
Post by: Charlie Brady on December 14, 2003, 12:41:57 AM
Darrell May wrote:

> IIUC this should be able to be solved by switching the
> directory.pm code to call restart-httpd-full as a background
> process and return a status message.  The status message could
> state that the server-manager is restarting, please wait a
> moment before selecting a new server-manager link.
>
> What do you think?

Try it! (Be sure to try both very slow and very fast machines).

Charlie
Title: Re: Change LDAP directory settings
Post by: Darrell May on December 14, 2003, 02:50:15 AM
The answer (in part) appears in the 5.1.2 directory panel code.  This panel fails as well but it has code to issue results directly after the ldap-update event.  Altering this panel to  execute restart-httpd-full in the background with an appropriate defined wait time and all is well.  Next step, edit the 6.0 directory.pm to perform the same way.  This looks very achievable.

Darrell