Hi folks,
I have a big problem. I have an ejabber-server and created a shared roster with the 'mod_shared_roster_ldap' plugin. I'm running under Ubuntu 11.10 server (so no GUI; except for the webinterface). After configuration everything went fine. Shared roster had all the people listed in my ldap system. Now I had to register two new users and they simply won't show in the users list and they can't log in. I already looked if they existed in the ldap and they do. I can even log in into Windows with their accounts. What am I doing wrong?
Here is my configuration for mod_shared_roster_ldap plugin.
{mod_shared_roster_ldap, [
{ldap_base, "dc=sozmed,dc=local"},
{ldap_rfilter, "(objectClass=inetOrgPerson)"},
{ldap_groupattr, "gecos"},
{ldap_memberattr, "cn"},
{ldap_filter, "(objectClass=inetOrgPerson)"},
{ldap_userdesc, "displayName"}
]},
Regards
Donut
donut87 wrote: and they can't
and they can't log in
Double-check your auth section first.
Ok I checked it. Everything
Ok I checked it. Everything seems right and every 'old' user can log in quite well.
Problem solved! Problem was
Problem solved!
Problem was indeed in the mod_shared_roster_ldap configuration. I didn't realise, that the attribute 'ldap_memberattr' sets the username. At first all our users had the same string in the ldap attribute 'cn' as in 'User Name'. Then we started to add users with more details (like actual names...) and then 'cn' differed from 'User Name' (don't ask me what smbldap-tools are doing and why...)
Ciao
Donut