[JDEV] LDAP enabling the entire server
DJ Adams
dj.adams at pobox.com
Thu May 10 17:23:53 CDT 2001
On Thu, May 10, 2001 at 01:43:44PM +1000, Robert Norris wrote:
> I've been looking at making Jabber work with our LDAP server. The things
> I've done so far:
...
> The problem is that every module that uses LDAP requires its own LDAP
> settings (host, port, base DN, etc), as config cannot be shared across
> modules.
You could maintain the LDAP config once in a separate file, say ldap.config,
and then use a
<jabberd:include>./ldap.config</jabberd:include>
in each module that uses LDAP.
And just a silly thought before I crash... the components retrieve their
config via an xdb call to a 'magic' address of config at -internal (i.e. an
xdb_get) which reads the greymatter.
I guess it would be possible to store the common config with the
XDB component under a spool directory called 'config', so that xdb
requests like this:
<xdb type='get' to='ldap at config' from='yourcomponent' ns='x:ldap:config'/>
can have config retrieved from a an xdb_file file:
./spool/config/ldap.xml
But this is perhaps not such a good idea.
dj
(tired, so may not be making sense, as usual)
More information about the JDev
mailing list