I have a running jabberd-2.2.23, I decided to upgrade to one of the
newer versions, and am having this error when I try to use the settings
for my network and Active Drectory
jabberd-2.2.8
Debian GNU/Linux 5.0
# /usr/sbin/jabberd2-c2s -c /etc/jabberd2/c2s.xml -D
Wed May 6 15:47:50 2009 [notice] starting up
Wed May 6 15:47:50 2009 [info] process id is 18984, written to
/var/jabberd/pid/c2s.pid
Wed May 6 15:47:50 2009 [notice] modules search path: /usr/lib/jabberd
Wed May 6 15:47:50 2009 [info] loading 'ldap' authreg module
Wed May 6 15:47:50 2009 authreg.c:73 preloaded module 'ldap' (not
initialized yet)
Wed May 6 15:47:50 2009 authreg_ldap.c:450 realm 'JOAOPAULOII' has base
dn 'DC=JOAOPAULOII'
Wed May 6 15:47:50 2009 [notice] ldap: configured 1 realms
Wed May 6 15:47:51 2009 [error] ldap: couldn't set Timeout: Bad
parameter to an ldap routine
Wed May 6 15:47:51 2009 [error] failed to initialize auth module 'ldap'
<!-- LDAP module configuration -->
<!-- Remember that you need to use PLAIN auth with LDAP backend -->
<ldap>
<!-- LDAP server host and port (default: 389) -->
<host>xxxxx.joaopauloii</host>
<port>389</port>
<!-- Use LDAP v3 if possible. If disabled, v2 will be used.
Encryption options are only available if v3 is enabled. -->
<v3/>
<timeout>10</timeout>
<!-- Encryption. If enabled, this will create an encrypted channel
to the LDAP server using the LDAP STARTTLS mechanism. -->
<!--
<starttls/>
-->
<!-- Encryption. If enabled, this will create an encrypted channel
to the server using the old-style "ldaps://" mechanism. It is
recommended that you use <starttls/> instead of this. -->
<!--
<ssl/>
-->
<!-- DN to bind as for searches. If unspecified, the searches
will be done anonymously. -->
<binddn>CN=jabber,OU=TI,DC=joaopauloii</binddn>
<bindpw>xxxxxx</bindpw>
<!-- LDAP attribute that holds the user ID (default: uid) -->
<uidattr>sAMAccountName</uidattr>
<!-- Enable the append-realm element if you want to append
realm value (user...@realm) to the uidattr value
<append-realm/>
-->
<!-- Alternatively to <uidattr/> and <append-realm/> you may
specify full LDAP search <query/> that will be used to
get user objects from directory.
The following replacements take place:
%u is replaced by user login name
%r is replaced by user login realm
When <query/> is specified, <uidattr/> and <append-realm/>
are unused and take no effect. -->
<query>(&(ObjectClass=user)(!(ObjectClass=computer))(%s=%s))</query>
<!-- base DN of the tree. You should specify a DN for each
authentication realm declared in the <local/> section above,
by using the realm attribute. -->
<basedn realm='JOAOPAULOII'>DC=JOAOPAULOII</basedn>
</ldap>
--
Att,
André L. M. Maciel <[email protected]>
Analista de Banco de Dados
Fundação João Paulo II - http://www.cancaonova.com
Sistema Canção Nova de Comunicação: Radio, TV e Internet
55 12 3186-2129
55 12 3186-2000, R 2129
--
To unsubscribe send a mail to [email protected]