Koozali.org: home of the SME Server

Change LDAP directory settings

Tivon Coles

Change LDAP directory settings
« 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%]

Charlie Brady

Re: Change LDAP directory settings
« Reply #1 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

Darrell May

Re: Change LDAP directory settings
« Reply #2 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

Charlie Brady

Re: Change LDAP directory settings
« Reply #3 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

Darrell May

Re: Change LDAP directory settings
« Reply #4 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