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

Fix Gluu OpenLDAP schema #234

Closed
yurem opened this issue Dec 22, 2016 · 1 comment
Closed

Fix Gluu OpenLDAP schema #234

yurem opened this issue Dec 22, 2016 · 1 comment
Assignees
Labels
bug issue in existing feature or functionality
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented Dec 22, 2016

On the latest CE 3.0.0 build we get:

2016-12-22 12:30:25,235 ERROR [org.gluu.site.ldap.OperationsFacade] (qtp1991313236-101) Entry can't be modified
LDAPException(resultCode=16 (no such attribute), errorMessage='modify/delete: oxAuthPermissionGrantedMap: no such attribute', diagnosticMessage='modify/delete: oxAuthPermissionGrantedMap: no such attribute')
2016-12-22 12:30:31,560 ERROR [org.gluu.site.ldap.OperationsFacade] (qtp1991313236-30784) Entry can't be modified
LDAPException(resultCode=16 (no such attribute), errorMessage='modify/delete: oxAuthUserDN: no such attribute', diagnosticMessage='modify/delete: oxAuthUserDN: no such attribute')
@yurem yurem added the bug issue in existing feature or functionality label Dec 22, 2016
@yurem yurem added this to the CE 3.0.0 milestone Dec 22, 2016
@tecoholic tecoholic changed the title FIx Gluu OpenLDAP schema Fix Gluu OpenLDAP schema Dec 24, 2016
@tecoholic
Copy link
Contributor

tecoholic commented Dec 24, 2016

# grep oxAuthPermissionGrantedMap gluu.schema
attributetype ( oxAttribute:158 NAME 'oxAuthPermissionGrantedMap'
	$ oxAuthPermissionGrantedMap $ oxAuthUserDN $ uniqueIdentifier $ oxState $ oxAuthSessionAttribute
# grep oxAuthUserDN gluu.schema 
attributetype ( oxAttribute:186 NAME 'oxAuthUserDN'
	$ oxAuthPermissionGrantedMap $ oxAuthUserDN $ uniqueIdentifier $ oxState $ oxAuthSessionAttribute

The openldap schema definitions in the gluu.schema file are present for both the attributes reported as missing. Closing this as this is not a schema file issue. Looks like that information wasn't stored by the software(oxAuth) in the LDAP and thus cannot be deleted or modified.

qbert2k added a commit that referenced this issue Dec 28, 2016
Add ability to return custom header with authorization response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issue in existing feature or functionality
Projects
None yet
Development

No branches or pull requests

2 participants