ldap_shared_roster

i want to use ldap_shared_roster.

for that i edited the ejabberd.cfg file following this i put in the ejabberd.cfg file

{mod_shared_roster_ldap, [
{ldap_base,"DC=cyndev,Dc=local"},
{ldap_groupattr,"CN"}
{ldap_groupdesc,"Technical"}
{ldap_memberattr,"sAMAccountName"},
{ldap_filter,"(sAMAccountName=*)"}
]},

i didn't figure out what attribute put in above example. ldap_base is ok.
but i can not figure out what ldap_groupattr, ldap_groupdesc, ldap_memberattr

filter is ok.

i also put the blank like following.

{mod_shared_roster_ldap, [
{ldap_base,"DC=cyndev,Dc=local"},
{ldap_groupattr,""},
{ldap_groupdesc,""},
{ldap_memberattr,""}
]},

still i didn't get the ldap shared roster.
its not working.

any one have idea. plz reply me....
thanks...

I am also having problems

I am also having problems with shared_roster_ldap. I get an XML parse error when I use this configuration:

{mod_shared_roster_ldap,
[{ldap_groupattr,"physicalDeliveryOfficeName"},
{ldap_groupdesc,"Office Name"},
{ldap_rfilter, "(memberof=CN=jabberd,OU=groups,DC=domain,DC=com,DC=au)"},
{ldap_memberattr,"sAMAccountName"},
{ldap_userdesc,"cn"}
]
},

This code works fine when I set groupattr to "company", but this is not the attribute I want to group by. (It only returns 10 users).

XML Parse error may be indicating too many results are being returned, but there should really be no more than 50 to 100

Syndicate content