LDAP Shared Roster and Active Directory integration (Another one...)

Hello,

I'm requesting your help and your skills on a tricky issue that made me crazy... :S

I've setup a eJabberd Server v2.1.13-1 on a Synology NAS connected to an Active Directory hosted Windows 2008 server.

eJabberd works fine including LDAP authentication with AD.

However, I've spent days and days to setup LDAP Shared Roster without any success.

I don't understand what I'm doing wrong and how I could debug it.
I hope that someone could help me...

Hereunder my shared roster configuration and logs in debug mode.

Thanks for any help,

Regards,
Oli

MY CONF

{mod_shared_roster_ldap,[
    {ldap_base, "OU=UTILISATEURS,OU=ORG_UNIT1,DC=MY_CORP,DC=LOCAL"},
    {ldap_rfilter, "(objectClass=user)"},
    {ldap_groupattr, "OU"},
    {ldap_gfilter, "(&(objectClass=user)(OU=%g))"},
    {ldap_memberattr, "AMAccountName"},
    {ldap_ufilter, "(&(objectClass=user)(sAMAccountName=%u))"}
    {ldap_filter, ""}
]},

MY LOGS :

=INFO REPORT==== 2016-02-02 20:06:19 ===
D(<0.777.0>:eldap:697) : {searchRequest,
                          {'SearchRequest',
                           "OU=UTILISATEURS,OU=ORG_UNIT1,DC=MY_CORP,DC=LOCAL",
                           wholeSubtree,neverDerefAliases,0,5,false,
                           {equalityMatch,
                            {'AttributeValueAssertion',"objectClass","user"}},
                           ["OU"]}}

=INFO REPORT==== 2016-02-02 20:06:19 ===
D(<0.777.0>:eldap:767) : {searchResEntry,
                             {'SearchResultEntry',
                                 "CN=FIRST USER,OU=UTILISATEURS,OU=ORG_UNIT1,DC=MY_CORP,DC=LOCAL",
                                 []}}

=INFO REPORT==== 2016-02-02 20:06:19 ===
D(<0.777.0>:eldap:767) : {searchResEntry,
                             {'SearchResultEntry',
                                 "CN=SECOND USER,OU=UTILISATEURS,OU=ORG_UNIT1,DC=MY_CORP,DC=LOCAL",
                                 []}}

=INFO REPORT==== 2016-02-02 20:06:19 ===
D(<0.777.0>:eldap:767) : {searchResEntry,
                             {'SearchResultEntry',
                                 "CN=toto,OU=UTILISATEURS,OU=ORG_UNIT1,DC=MY_CORP,DC=LOCAL",
                                 []}}

=INFO REPORT==== 2016-02-02 20:06:19 ===
D(<0.777.0>:eldap:767) : {searchResDone,
                             {'LDAPResult',success,[],[],asn1_NOVALUE}}

Syndicate content