Skip to Content
author's profile photo Former Member
Former Member

start point for ldap integration

Hi im new to hybris and We are trying to do LDAP integration for our business need . We created local.properties entries , but need some help in proceeding further. Can anyone let us know how to do it.

Add comment
10|10000 characters needed characters exceeded

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2015 at 07:07 AM

    Hi Siva,

    you can start with this link below and its child pages:

    https://wiki.hybris.com/display/release5/ldap+Extension+-+End+User+Guide

    thanks Bikram

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2015 at 08:14 AM

    thanks bikram but dont know where to start in hybris perspective, whether local.properties entries is enough

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2016 at 08:02 PM

    Did you done ldap integration, please provide me the steps how to install ldap extension

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2018 at 12:00 PM

    Hi Siva

    You can use the below properties in your local.properties file and create a LDAP job which use to get the details from the LDAP.

    project.properties entries

    ldap.server.type=LDAP ldap.server.url= URL:389 ldap.server.root.dn= ldap.jndi.principals= ldap.jndi.credentials= ldap.jndi.factory=com.sun.jndi.ldap.LdapCtxFactory ldap.jndi.version=v3 ldap.jndi.authentication=ActiveDirectory ldap.activedirectory.fastbind.enable=true ldap.pool.enabled=true; ldap.minimum.fail.backtime=90000 ldap.pool.init.size=1 ldap.pool.pref.size=10 ldap.pool.maxsize=50

    INSERT_UPDATE ConfigurationMedia;code[unique=true];$catalogversion;mime;realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator]; ;ldapHybrisMappingFile;;application/xml;configuration.xml;jar:com.tui.*.jalo.*Manager&/impex/import/ldap/configuration.xml;

    create cronjob for importing UserGroup and User

    NSERT_UPDATE LDIFGroupImportJob;code[unique=true];active;sessionUser(uid);sessionLanguage(isoCode);logLevelFile(code) ;ImportUsersJob;true;admin;en;ERROR

    INSERT_UPDATE LDIFGroupImportCronJob;code[unique=true];job(code);searchbase;ldapquery;resultfilter;userSearchFieldQualifier;userRootDN;userResultfilter;importUsers;codeExecution;configFile(code);active;sessionUser(uid);sessionLanguage(isoCode);requestAbort;logLevelFile(code) ;ad_user_importJob_Central;ImportUsersJob;location of ldap node;(&(sn=*));distinguishedName, objectClass, displayName, member, cn, mail,sAMAccountName;distinguishedName;location of ldap node;distinguishedName, objectClass, displayName, member, cn, mail,sAMAccountName;1;1;ldapHybrisMappingFile;true;admin;en;true;ERROR

    Map LDAP attribute with hybris attribute ext-platform-optional\ldap\config\configuration.xml

    Add comment
    10|10000 characters needed characters exceeded