First I think we should have a small doc explaining how to use LDAP auth even now I'm trying to get this to work and Google is giving me alot of broken links maybe no one uses jabberd 1.4.x series with LDAP? I emerge jabberd and it talks about LDAP auth but it dosent copy or mention the xdb-ldap.xml file anyway I found the file and change to match my LDAP config but wen i tryed to run it o got this: log.c:116 <log type='alert' from='xdb_ldap_config.c:59'>[xdb_ldap_config_init] no suffix specified</log> so i went to Idealx CVS to confirm the file and it looked ok, but then i found this thread: http://mail.jabber.org/pipermail/jadmin/2003-June/010653.html same problem, and the solution is simple "replace <rootdn> tag by <suffix>" still it's strange that on Idealx CVS this is still wrong. Reproducible: Always Steps to Reproduce: 1. 2. 3.
this is unrelated but why is the PID file is created on /var/log/jabberd ? any particular reason?
can you post a diff of the corrected version VS the version installed?
Created attachment 56772 [details] diff of xdb-ldap.xml sure here it goes
Created attachment 82836 [details, diff] rootdn and suffix rootdn <dn> Specify the distinguished name that is not subject to access control or administrative limit restrictions for operations on this database. This DN may or may not be associated with an entry. An empty root DN (the default) specifies no root access is to be granted. It is recommended that the rootdn only be specified when needed (such as when initially populating a database). If the rootdn is within a namingContext (suffix) of the database, a simple bind password may also be provided using the rootpw directive. Note that the rootdn is always needed when using syncrepl. suffix <dn suffix> Specify the DN suffix of queries that will be passed to this backend database. Multiple suffix lines can be given and at least one is required for each database definition. If the suffix of one database is "inside" that of another, the database with the inner suffix must come first in the configuration file.
No is better include a suffix and to preserv the rootdn?
As upstream of xdb_ldap vanished jabberd-1.4.4-r3 has it removed. It is currently masked for further testing. Reports about whenever it works, or no should go to bug #149358