Jahia Dev Forum > Ldap Group is not...

0 (0 Good)
0 (0 Bad)

Ldap Group is not coming in jahia

by  peters »  2011/06/07 20:35

Hi All

I have integrated my jahia with openldap . For User it is working fine,But i am not getting group .
i have done folowing changes is my applicationcontext-services.xml.

[code:346i7jgp]lt;bean id=
  • Ldap Group is not coming in jahia
    2011/06/07 20:35

    peters Hi All<br/><br/>I have integrated my jahia with openldap . For User it is working fine,But i am not getting group .<br/>i have done folowing changes is my applicationcontext-services.xml.<br/><br/>[code:346i7jgp]lt;bean id=

  • Number of messages  35
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  pap@commaro.com »  2011/06/07 20:35

    Hello,

    do you get any errors in the log ?

    If not, could you please add the following lines to WEB-INF\etc\config\log4j.xml

    lt;category name=

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  peters »  2011/06/07 20:35

    [b:grctof8s]Thanks Benjamin , i am getting following message .It will be great if you suggest what i am doing wrong.[/b:grctof8s]

    [code:grctof8s]2009-11-26 15#58;30
  • Re: Ldap Group is not coming in jahia
    2011/06/07 20:35

    peters [b:grctof8s]Thanks Benjamin , i am getting following message .It will be great if you suggest what i am doing wrong.[/b:grctof8s]<br/><br/>[code:grctof8s]2009-11-26 15#58;30

  • Number of messages  35
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  pap@commaro.com »  2011/06/07 20:35

    Hello,

    in applicationcontext-services.xml in the configuration of the JahiaGroupManagerService bean (the one below the JahiaGroupManagerLDAPProvider), you should uncomment the line with the JahiaGroupManagerLDAPProvider, did you ?

    Regards,
    Benjamin

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  peters »  2011/06/07 20:35

    lt;entry key=
  • Re: Ldap Group is not coming in jahia
    2011/06/07 20:35

    peters lt;entry key=

  • Number of messages  35
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  ando »  2012/12/05 11:11

    Hi,

    I have the same problem. If you found the solution, thank you communicate.

    cordially

  • Re: Ldap Group is not coming in jahia
    2012/12/05 11:11

    ando <p> Hi,</p> <p> I have the same problem. If you found the solution, thank you communicate.</p> <p> cordially</p>

  • Number of messages  6
    Registration date Dec 5, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Ldap Group is not coming in jahia

    by  shyrkov »  2012/12/05 11:49

    Hello,

    could you let us know, please, which version of Jahia are you using and some details of your LDAP configuration (Jahia side)?

     

    Kind regards

    Sergiy

    Sergiy Shyrkov (shyrkov)

    Number of messages  407
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  ando »  2012/12/05 13:41

    Thank you for your quick response, I just found the problem, in mod-LDAP.xml file there is this statement

     <entry key="search.objectclass" value="groupOfUniqueNames"/>

    I verified my objectclass group in openLDAP and I found that  my objectclass is posixGroup, so changing this statement solved the problem.

    But now I cannot add members to groups through jahia because buttons add and remove members are not displayed.

    Have you any idea?

    FYI: I used jahia 6.6.0.0

    Regrds

  • Re: Ldap Group is not coming in jahia
    2012/12/05 13:41

    ando <p> Thank you for your quick response, I just found the problem, in mod-LDAP.xml file there is this statement</p> <p> &nbsp;&lt;entry key=&quot;search.objectclass&quot; value=&quot;groupOfUniqueNames&quot;/&gt;</p> <p> I verified my objectclass group in openLDAP and I found that &nbsp;my objectclass is&nbsp;posixGroup, so changing this statement solved the problem.</p> <p> But now I cannot add members to groups through jahia because buttons add and remove members are not displayed.</p> <p> Have you any idea?</p> <p> FYI: I used jahia 6.6.0.0</p> <p> Regrds</p>

  • Number of messages  6
    Registration date Dec 5, 2012
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Ldap Group is not coming in jahia

    by  shyrkov »  2012/12/05 14:17

    Hello,

    Jahia LDAP user and group providers are read-only out-of-the-box, because in most cases the application is not allowed (or does not "know" how) to do any modifications on the LDAP server.

    You can use LDAP users and groups in settings permissions in Jahia and you can also add LDAP users as members to Jahia groups.

     

    In case you have a need to be able to manage LDAP group/user membership from Jahia, you would need to implement a "writabel" LDAP provider, e.g. by subclassing from our LDAP classes and implementing required methods.

    For example in the JahiaLDAPGroup.java class you can see that the addMember() and removeMember() methods are empty. Those are responsible for performing group membership change actions in subclasses.

     

    Kind regards

    Sergiy

    Sergiy Shyrkov (shyrkov)

    Number of messages  407
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Ldap Group is not coming in jahia

    by  ando »  2012/12/05 15:39

    Thank you for your quick response, my problem is LDAP group members does't displayed in Jahia, I get empty groups in the groups management page in Jahia

    Regards,

  • Re: Ldap Group is not coming in jahia
    2012/12/05 15:39

    ando <p> <span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;">Thank you for your quick response, my problem is LDAP group members does&#39;t displayed in Jahia, I get empty groups in the groups management page in Jahia</span></p> <p> Regards,</p>

  • Number of messages  6
    Registration date Dec 5, 2012
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page