--
You received this message because you are subscribed to the Google Groups "ReDBox Development" group.
To post to this group, send an email to redbo...@googlegroups.com.
To unsubscribe from this group, send email to redbox-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Keong / all,
The LDAP-plugin (https://github.com/the-fascinator-contrib/plugin-authentication-ldap) was modified to enable binding using an account.
(See README.md via the above URL for details.)
Because of the changes, you will probably need to add “ldapSecurityPrincipal” and “ldapSecurityCredentials” fields to your system-config.json
to get LDAP-binding to work. (Leave them blank to bind anonymously.)
Here’s a copy-paste from the system-config.json used at LTU:
--- snip : start ---
49 "authentication": {
50 "type": "internal,ldap",
51 "internal": {
52 "path": "${fascinator.home}/security/users.properties"
53 },
54 "ldap": {
55 "baseURL": "ldap://ltu.edu.au:389",
56 "baseDN": "ou=*****,dc=****,dc=****,dc=***",
57 "ldapSecurityPrincipal": "cn=*****,ou=*****,dc=*****,dc=*****,dc=*****",
58 "ldapSecurityCredentials": "*****",
59 "idAttribute": "cn",
60 "ldapRoleAttribute": "primaryGroupID",
61 "ldapRoleMap": [
62 {
63 "ldapRoleAttrValue": "****"
64 "roles": ["researcher"]
65 }
66 ]
67 }
68 },
69 "roles": {
70 "type": "internal,ldap",
71 "internal": {
72 "path": "${fascinator.home}/security/roles.properties"
73 },
74 "ldap": {
75 "baseURL": "ldap://*****:389",
76 "baseDN": "ou=*****,dc=***,dc=***,dc=***",
77 "ldapSecurityPrincipal": "cn=***,ou=****,dc=***,dc=***,dc=***",
78 "ldapSecurityCredentials": "***",
79 "idAttribute": "cn",
80 "ldapRoleAttribute": "primaryGroupID",
81 "ldapRoleMap": [
82 {
83 "ldapRoleAttrValue": "***"
84 "roles": ["researcher"]
85 }
86 ]
87 }
88 },
--- snip : stop ---
Regards,
--Charlie
--
Charlie Ambrose
Research Data Coordinator (Digital Infrastructure)
Library | La Trobe University | Bundoora Vic 3086 Australia
T: +613 9479 1571 | M: +61 416 793 456 | E:
c.am...@latrobe.edu.au
W: http://www.lib.latrobe.edu.au/
J Please kindly consider your environment before printing this e-mail
Warning to recipients:
This email and any attachments are confidential and subject to copyright. If you are not the intended recipient any use, disclosure or copying is unauthorised. If you have received this email in error please advise us immediately by reply email and delete all
copies. It is your responsibility to examine this email and any attachments for viruses. Any personal information in this email must be handled in accordance with the Information Privacy Act 2000 (Vic).
--
You received this message because you are subscribed to the Google Groups "ReDBox Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbox-dev+...@googlegroups.com.
To post to this group, send an email to
redbo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/redbox-dev/6abec1a0-70b4-4cbc-b98d-c1f8bbb02112%40googlegroups.com.