This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
11 Replies Last post: Aug 25, 2008 8:48 AM by Ryan Graham  
Norman Bronze 7 posts since
Aug 15, 2008
Currently Being Moderated

Aug 20, 2008 2:57 PM

disable User Search in Spark

Hello everyone,

 

in our company I use LDAP integration with shared usergroups and would like to disable the search function in Spark 2.5.8. In Openfire I've disabled the search function but this has no effect to Spark.

Can you explain what I should do to disable the serach function in Spark?

remote Bronze 17 posts since
Apr 9, 2006
Currently Being Moderated
Aug 20, 2008 6:38 PM in response to: Norman
Re: disable User Search in Spark

I just remove the search plug-in, which seems to have always worked for me.

Hope it helps you ; )

winsrev KeyContributor 267 posts since
Jan 28, 2007
Currently Being Moderated
Aug 21, 2008 8:09 AM in response to: Norman
Re: disable User Search in Spark

You need to remove the search plugin from Openfire, this plugin comes standard with Openfire.

Ryan Graham KeyContributor 1,792 posts since
Jan 17, 2003
Currently Being Moderated
Aug 21, 2008 11:23 AM in response to: Norman
Re: disable User Search in Spark

Hi Norman,

 

Unfortunately, disabling and/or deleting the plugin will not make the search box on Spark go away. Spark displays the search field even if a search service isn't available.

 

Regards,

Ryan

Ryan Graham KeyContributor 1,792 posts since
Jan 17, 2003
Currently Being Moderated
Aug 22, 2008 10:21 AM in response to: Norman
Re: disable User Search in Spark

Hi Norman,

 

Unfortunately there is no way to remove the search field from Spark with out actually going in and editing the code. Spark probably shouldn't show the search field unless a search service is available but that would be a decision the Spark development team would have to make.

 

Cheers,

Ryan

winsrev KeyContributor 267 posts since
Jan 28, 2007
Currently Being Moderated
Aug 22, 2008 9:23 PM in response to: Ryan Graham
Re: disable User Search in Spark

What if the user wants to add a search service from another server though? the search field should stay even if the search service is disabled.

Ryan Graham KeyContributor 1,792 posts since
Jan 17, 2003
Currently Being Moderated
Aug 25, 2008 8:48 AM in response to: winsrev
Re: disable User Search in Spark

Hey winsrev,

 

It seems to me that there should be a way to add a search service without having to do a search first.

 

Cheers,

Ryan

Jon Bronze 1 posts since
Aug 22, 2008
Currently Being Moderated
Aug 22, 2008 10:00 AM in response to: Norman
Re: disable User Search in Spark

I am still running our OpenFire server in a testing phase before we roll it out to everyone.

 

What I have done for that is to install the Packet Filter plugin.

Then go to Server > Server Settings > Packet Filter Rules

 

I created this rule:

Action: Drop

Packet Type: Any

From: Group

Source Group: [Our All Users] (Or you could use "Domain Users")

To: Component

Component: User Search

 

When I type an ID into the search box in Spark and press Enter, I get a window that says:

 

-----

Person Search

     This service is unavailabe

 

Search Service: search.computername.domain.tld

-----

 

It seems to work, but again, I am still in a testing phase with only 3 users.

Ryan Graham KeyContributor 1,792 posts since
Jan 17, 2003
Currently Being Moderated
Aug 22, 2008 10:24 AM in response to: Jon
Re: disable User Search in Spark

Hi Jon,

 

Simply disabling the search plugin through its control panel (or deleting the plugin completely) will accomplish the same thing. The packet filter plugin is a great tool but it's probably a little heavy handed in this case.

 

Cheers,

Ryan

More Like This

  • Retrieving data ...