Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap shared roster regression in 16.02 #986

Closed
p5n opened this issue Mar 6, 2016 · 4 comments
Closed

ldap shared roster regression in 16.02 #986

p5n opened this issue Mar 6, 2016 · 4 comments
Assignees

Comments

@p5n
Copy link

p5n commented Mar 6, 2016

In 16.02 ejabberd cannot create LDAP shared roster (however LDAP auth and vcard work):

2016-03-07 00:37:14 =ERROR REPORT====
Error searching: {error,invalidDNSyntax} [{scope,baseObject},{base,<<"jabber-group">>},{filter,{and,[{equalityMatch,{'AttributeValueAssertion',<<"cn">>,<<"jabber-group">>}},{present,<<"objectClass">>}]}},{timeout,5},{deref_aliases,never},{attributes,[<<"description">>,<<"member">>]}]

Downgrading to 16.01 fixes this issue.

here is package build script for 16.02 - https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ejabberd

and here is for 16.01 - https://projects.archlinux.org/svntogit/community.git/tree/trunk?h=packages/ejabberd&id=3d31c70e6504bcd9c09b7db5840c88cae5ab0fcc

config:
mod_shared_roster_ldap:
ldap_base: "dc=root"
ldap_rfilter: "(cn=jabber-group)"
ldap_filter: "(objectClass=)"
ldap_gfilter: "(cn=jabber-group)"
ldap_ufilter: "(&(uid=%u)(memberOf=cn=jabber-group,dc=root))"
ldap_groupattr: "cn"
ldap_groupdesc: "description"
ldap_memberattr: "member"
ldap_userdesc: "displayName"
ldap_useruid: "uid"
ldap_memberattr_format_re: "cn=([\w.-]
),ou=.*,dc=root"

@cromain cromain added this to the ejabberd 16.03 milestone Mar 16, 2016
@mremond
Copy link
Member

mremond commented Mar 23, 2016

@p5n Do you have ldif (anonymized or minimal version) you can share and full configuration so that we can check your case ?

@mremond
Copy link
Member

mremond commented Mar 25, 2016

I added some tests and rollbacked some broken changes.
This should be fixed in this commit: 4afe0b1

Please, let us know if this is not the case.

Thanks !

@mremond mremond closed this as completed Mar 25, 2016
@mremond mremond self-assigned this Mar 25, 2016
@p5n
Copy link
Author

p5n commented Apr 1, 2016

16.03 looks working, thank you

@lock
Copy link

lock bot commented Jun 11, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants