>>slippy:[~]$ rpm -q --whatprovides jndi-ldap
>OK, thanks, but this still doesn't look required to build tomcat5, but I
>think that some part of tomcat5 wants an ldap service provider to run.
It's very possible the ldap is only there for compliance with some spec,
and tomcat code has no use for it.
Tomcat supports many Realms (that's how it names the classes that
implements this) for authentication. You can authenticate from a XML
file (an passwd file in disguise), from a SQL Database and from a LDAP
directory. That's the only use of LDAP for Tomcat AFAIK. So you can run
Tomcat without LDAP support, but you'll miss this option. It could well
be extracted to a separate package, and just this package should depend
on a jndi-ldap provider. The internal jndi service bundled with tomcat
(for defining datasources and environment) does not need ldap.
s, Fernando Lozano