try
ldapRealm.userDnTemplate = uid={0},ou=people,dc=openam,dc=forgerock,dc=org
On Mon, Oct 16, 2017 at 6:24 AM, Carlos Andres Zambrano Barrera <
[email protected]> wrote:
>
>
>
> HI,
>
> I am working with OpenLdap with the following structure (see attached)
>
> I configure all the shiro.ini
>
> 1. ### A sample for configuring LDAP Directory Realm
> 2. ldapRealm = org.apache.zeppelin.realm.LdapGroupRealm
> 3. ## search base for ldap groups (only relevant for LdapGroupRealm):
> 4. ldapRealm.contextFactory.environment[ldap.searchBase] = dc=CORP,dc=
> SOYMACH,dc=COM
> 5. ldapRealm.contextFactory.url = ldap://ad.corp.soymach.com:389
> 6. ldapRealm.userDnTemplate = cn={0},ou=bigdatateam,dc=CORP,dc=SOYMACH,
> dc=COM
> 7. ldapRealm.contextFactory.authenticationMechanism = SIMPLE
>
> when i tried to access to zeppelin it always appear "The username and
> password that you entered don't match."
>
> When i see the log file it appears
>
> 1. Oct 15, 2017 10:13:42 PM com.sun.jersey.spi.inject.Errors
> processErrorMessages
> 2. WARNING: The following warnings have been detected with resource and
> /or provider classes:
> 3. WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.
> apache.zeppelin.rest.InterpreterRestApi.listInterpreter(java.lang.
> String), should not consume any entity.
> 4. WARNING: A sub-resource method, public javax.ws.rs.core.Response org
> .apache.zeppelin.rest.NotebookRestApi.createNote(java.lang.String)
> throws java.io.IOException, with URI template, "/", is treated as a
> resource method
> 5. WARNING: A sub-resource method, public javax.ws.rs.core.Response org
> .apache.zeppelin.rest.NotebookRestApi.getNoteList() throws java.io.
> IOException, with URI template, "/", is treated as a resource method
> 6. WARNING: A HTTP GET method, public javax.ws.rs.core.Response org.
> apache.zeppelin.rest.CredentialRestApi.getCredentials(java.lang.String)
> throws java.io.IOException,java.lang.IllegalArgumentException, should
> not consume any entity.
>
> I do not know what is my error in the integration with OpenLdap.
>
> --
>
> Carlos Andrés Zambrano Barrera
> Cel: +57 3174373741 <317%204373741>
>
>
>
>
>
>
> <https://mailtrack.io/> Sent with Mailtrack
> <https://chrome.google.com/webstore/detail/mailtrack-for-gmail-inbox/ndnaehgpjlnokgebbaldlmgkapkpjkkb?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality>
> <#m_-4364187434640162518_m_-5153966503976032887_>
>
>
>
> --
>
> Carlos Andrés Zambrano Barrera
> Cel: +57 3174373741 <+57%20317%204373741>
>
>
>
>
>
>
> <https://mailtrack.io/> Sent with Mailtrack
> <https://chrome.google.com/webstore/detail/mailtrack-for-gmail-inbox/ndnaehgpjlnokgebbaldlmgkapkpjkkb?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality>
> <#m_-4364187434640162518_>
>
--
Suresh Ayyavoo
Solution Architect / R&D Lead
iAPPS Pte. Ltd.
3 Fusionopolis Way, Symbiosis #13-25 S(138633)
[O] 64631795 [F] 6778 5300 [M] 91540224
Website: www.iappsasia.com
Facebook: www.facebook.com/iappsasia
Youtube: www.youtube.com/user/iAPPSasia