metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [metron] mmiklavc commented on issue #1371: METRON-2056 Support LDAP Bind Authentication
Date Fri, 05 Apr 2019 16:43:17 GMT
mmiklavc commented on issue #1371: METRON-2056 Support LDAP Bind Authentication
URL: https://github.com/apache/metron/pull/1371#issuecomment-480343610
 
 
   This looks good @nickwallen! +1
   
   I was able to use the testing instructions to try this with the bind approach and it works
as advertised. I also tested with a slight modification to the `acme_user` group to add the
admin user as a member also.
   
   ```
   # create the user group under groups
   dn: cn=acme_user,ou=groups,dc=hadoop,dc=apache,dc=org
   changetype: add
   objectclass:top
   objectclass: groupofnames
   cn: acme_user
   description: user group
   member: uid=sam,ou=people,dc=hadoop,dc=apache,dc=org
   member: uid=admin,ou=people,dc=hadoop,dc=apache,dc=org
   ```
   
   I was able to confirm via Swagger that I get the expected roles:
   ```
   [
     "ROLE_ACME_ADMIN",
     "ROLE_ACME_USER"
   ]
   ```
   
   **Note:**  To get the right IP for communication from inside of your Vagrant vm to the
external Docker OpenLdap instance, you need to run the following from within your Vagrant
container:
   ```
   netstat -rn | grep "^0.0.0.0 " | cut -d " " -f10
   ```
   You need this to access your outside host machine (that's running Docker) from within Vagrant

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message