mod_shared_roster_ldap + ejabbered 2.1.5 (EPEL rpm rev 6) + CentOS 5.5 x86_64 + Active Directory

Put simply, the clients aren't getting any group lists, and I do see errors repeating for each client that connects.

I've included the relevant snippets from the config file and the errors.

We're using AD with the SFU schema.

Some of the groups have both memberUids (single token uid format) and members (dn format). I've tried both (one attempt is commented out below) without any luck.

Thanks for any help.

Brian

------------------------------------------------------------------------------------------

CONFIG
======

{mod_shared_roster_ldap,
[
{ldap_encrypt, none},
{ldap_port, 389},
{ldap_auth_check, off},
{ldap_base, "ou=dept,ou=city,dc=company,dc=tld"},
{ldap_rfilter, "(objectClass=group)"},
{ldap_filter, ""},
{ldap_gfilter, "(&(objectClass=group)(cn=%g))"},
{ldap_groupdesc, "displayName"},
{ldap_memberattr, "member"},
%%{ldap_memberattr_format, "cn=%u,ou=dept,ou=city,dc=company,dc=tld"},
{ldap_memberattr_format, "memberUid=%u"},
%%{ldap_ufilter, "(&(objectClass=organizationalPerson)(cn=%u))"},
{ldap_ufilter, "(&(objectClass=organizationalPerson)(uid=%u))"},
{ldap_userdesc, "displayName"}
]
},

ERROR
=====

=INFO REPORT==== 2010-10-13 20:41:38 ===
D(<0.283.0>:ejabberd_odbc:434) : MySQL, Send query
["select jid, grp from rostergroups where username='","jdoe","'"]

=ERROR REPORT==== 2010-10-13 20:41:38 ===
E(<0.368.0>:ejabberd_hooks:335) : {undef,
[{mod_shared_roster_ldap_helpers,
get_user_to_groups_map,
[{"jdoe",
"jabber-host.company.tld"},
true]},
{mod_shared_roster_ldap,get_user_roster,2},
{ejabberd_hooks,run_fold1,4},
{mod_roster_odbc,process_iq_get,3},
{gen_iq_handler,process_iq,6},
{gen_iq_handler,handle_info,2},
{gen_server,handle_msg,5},
{proc_lib,init_p_do_apply,3}]}
running hook: {roster_get,[{"jdoe",
"jabber-host.company.tld"}]}

Syndicate content