Open slawekgh opened 7 years ago
+1
+2
@slawekgh Hi, I'm successfully startup marathon 1.4.3 with the plugin. Here is my log:
[2017-07-29 02:48:36,650] INFO Loading plugins implementing 'mesosphere.marathon.plugin.auth.Authenticator' from these urls: [file:/var/marathon/plugins/plugin-conf.json, file:/var/marathon/plugins/marathon-ldap.jar] (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:main)
[2017-07-29 02:48:36,677] INFO Configure the plugin with this configuration: Some({"ldap":{"url":"ldap://my.ldapserver.local:389","base":"dc=example,dc=com","dn":"uid={username}","bindUser":"usernameToBind","bindPassword":"passwordToBind","userSearch":"(&(uid={username})(objectClass=inetOrgPerson))","userSubTree":"ou=People","groupSearch":"(&(memberUid={username})(objectClass=posixGroup))","groupSubTree":"ou=Group"},"users":[{"username":"someuser","password":"somepass","groups":["Admin"]}],"authorization":{"access":[{"group":"Admin","permissions":[{"allowed":"*","type":"app"},{"allowed":"*","type":"group"}]},{"group":"Developers","permissions":[{"allowed":"view","type":"app","path":"/"},{"allowed":"view","type":"group","path":"/"},{"allowed":"create","type":"app","path":"/dev"},{"allowed":"update","type":"app","path":"/dev"},{"allowed":"delete","type":"app","path":"/dev"}]}]}}) (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:main)
[2017-07-29 02:48:36,743] INFO Found 1 plugins. (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:main)
[2017-07-29 02:48:36,746] INFO Loading plugins implementing 'mesosphere.marathon.plugin.auth.Authorizer' from these urls: [file:/var/marathon/plugins/plugin-conf.json, file:/var/marathon/plugins/marathon-ldap.jar] (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:main)
[2017-07-29 02:48:36,748] INFO Found 1 plugins. (mesosphere.marathon.core.plugin.impl.PluginManagerImpl:main)
following the install procedure - it seems doesnt work - log output: