Re: Problems with LDAP
"gael Coudrains" <[email protected]> Tue, 8 Jul 2008 13:06:31 +0100
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============1551744898== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8E0F3.50F071EE" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8E0F3.50F071EE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Yes, I have configured my applicationcontext-services.xml I have just checked this file and all the 4 parts concerning LDAP are = uncommented. Thank you for your suggestion Best regards, Ga=EBl =20 De : [email protected] [mailto:[email protected]] De = la part de Stephane BOURMAUD Envoy=E9 : mardi 8 juillet 2008 10:36 =C0 : Here you can discuss and comment current and future developmentsof = Jahia Objet : Re: [dev_list] Problems with LDAP =20 Hello, Have you configure your : /WEB-INF/etc/spring for LDAP connector in the file applicationcontext-services.xml Best regards, St=E9phane -----Message d'origine----- De : gael Coudrains [mailto:[email protected]] Envoy=E9 : vendredi 4 juillet 2008 18:16 =C0 : Here you can discuss and comment current and future = developmentsof Jahia Objet : Re: [dev_list] Problems with LDAP Hello, I finally succeeded in seeing all my LDAP users and my LDAP groups in = Jahia Administration. However I always have a problem because Jahia does = not allow that I log in with LDAP User. Indeed, I can't give access rights to LDAP users (Jahia does not = validate them : they come out when I want to validate them) If I give = rights to LDAP groups, they are validated. But when I want to log in = with an user of one of these groups, I acquire the following message of = error:=20 =20 Invalid username / password the authentication service simple = percentage currently not available.=20 =20 Given that the username and the password must be correct:=20 Why the authentication is not available ??? =20 Thank you for helping me =20 =20 De : [email protected] [mailto:[email protected]] De = la part de gael Coudrains Envoy=E9 : jeudi 3 juillet 2008 16:43 =C0 : [email protected] Objet : [dev_list] Problems with LDAP =20 Hi,=20 =20 I am new user of Jahia and I have few problems with LDAP configuration. First, I can see LDAP Users and LDAP Groups in Jahia administration = panel So, I think it means it's well connected. =20 However, when I want to connect with an LDAP user, it doesn't work = because when I want to edit permissions for LDAP users, LDAP users are = not accepted. I don't know why? =20 So I try with LDAP Group. LDAP Groups are accepted but Jahia doesn't = recognize any users in this Groups. Indeed in Jahia, all my LDAP groups = are empty and I don't understand why? =20 This is my configuration of users.ldap.properties and = groups.ldap.properties =20 users.ldap.properties =20 =20 # Configuration file for standard ldap server users.ldap.context.factory =3D = com.sun.jndi.ldap.LdapCtxFactory users.ldap.url =3D ldap://localhost:389/ users.ldap.authentification.mode =3D simple users.ldap.public.bind.dn =3D cn=3Dreader hard ldap, = cn=3DUsers, dc=3Dparrot, dc=3Dbiz =20 # if you need to login to do public browsing of the directory, = uncomment the following line and enter the password. users.ldap.public.bind.password =3D ****** =20 # the following value will be used as the user key, if it's not found = the user will not be used ! users.ldap.uid.search.attribute =3D cn # base dn search users.ldap.uid.search.name =3D dc=3Dparrot, dc=3Dbiz users.ldap.search.countlimit =3D 100 users.ldap.search.objectclass =3D user =20 # the following defines the attributes to use for wildcard search such = as *=3D*test* users.ldap.search.wildcards.attributes =3D ou, cn, o, c, mail, uid, = uniqueIdentifier, givenName, sn, dn, AccountName =20 # Map attribute, that indicate which LDAP attribute to map to Jahia = standard properties # Make sure you comment out the ones you are not using, especially if = the LDAP # repository contains same names attributes. If you don't searching = users will # most probably not work correctly. =20 users.ldap.username.attribute.map =3D AccountName users.ldap.firstname.attribute.map =3D givenName users.ldap.lastname.attribute.map =3D sn users.ldap.email.attribute.map =3D mail users.ldap.organization.attribute.map =3D ou =20 groups.ldap.properties =20 # Configuration file for standard ldap server groups.ldap.context.factory =3D = com.sun.jndi.ldap.LdapCtxFactory groups.ldap.url =3D ldap://localhost:389/ groups.ldap.authentification.mode =3D simple groups.ldap.public.bind.dn =3D CN=3Dreader hard = ldap,CN=3DUsers,DC=3DPARROT,DC=3DBIZ =20 # if you need to login to do public browsing of the directory, = uncomment the following line and enter the password. groups.ldap.public.bind.password =3D ****** =20 # attribute holding the group name groups.ldap.search.attribute =3D cn # base dn search groups.ldap.search.name =3D DC=3DPARROT,DC=3DBIZ groups.ldap.search.countlimit =3D 100 =20 # objectclasses and member attributes groups.ldap.search.objectclass =3D group groups.ldap.members.attribute =3D MemberOf =20 #groups.ldap.dynamic.search.objectclass =3D groupOfURLs #groups.ldap.dynamic.members.attribute =3D memberurl =20 # if set to false, group members will not be preloaded and members will = not appear in engines groups.ldap.preload =3D true =20 # the following defines the attributes to use for wildcard search such = as *=3D*test* groups.ldap.search.wildcards.attributes =3D cn,description,MemberOf =20 =20 # Map attribute, that indicate which LDAP attribute to map to Jahia = standard properties # Make sure you comment out the ones you are not using, especially if = the LDAP # repository contains same names attributes. If you don't searching = goups will # most probably not work correctly. groups.ldap.groupname.attribute.map =3D cn groups.ldap.description.attribute.map =3D description =20 =20 I hope you can help me Thank you =20 ------_=_NextPart_001_01C8E0F3.50F071EE Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:x=3D"urn:schemas-microsoft-com:office:excel" = xmlns:p=3D"urn:schemas-microsoft-com:office:powerpoint" = xmlns:a=3D"urn:schemas-microsoft-com:office:access" = xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" = xmlns:s=3D"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" = xmlns:rs=3D"urn:schemas-microsoft-com:rowset" xmlns:z=3D"#RowsetSchema" = xmlns:b=3D"urn:schemas-microsoft-com:office:publisher" = xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadsheet" = xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" = xmlns:oa=3D"urn:schemas-microsoft-com:office:activation" = xmlns:html=3D"http://www.w3.org/TR/REC-html40" = xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" = xmlns:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" = xmlns:ois=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" = xmlns:dir=3D"http://schemas.microsoft.com/sharepoint/soap/directory/" = xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" = xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" = xmlns:udc=3D"http://schemas.microsoft.com/data/udc" = xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" = xmlns:sub=3D"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/"= xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" = xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" = xmlns:sps=3D"http://schemas.microsoft.com/sharepoint/soap/" = xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" = xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" = xmlns:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006= " xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns:mrels=3D"http://schemas.openxmlformats.org/package/2006/relationshi= ps" = xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/2006/types"= = xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/2006/messag= es" xmlns:Z=3D"urn:schemas-microsoft-com:" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; font-size:11.0pt; font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:windowtext;} span.EmailStyle18 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page Section1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DFR link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Hello,<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US>Yes, I have </span><span lang=3DEN-US = style=3D'font-size: 10.0pt;font-family:"Arial","sans-serif"'>configured = my applicationcontext-services.xml</span><span lang=3DEN-US style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>I have just checked this file and all </span><span = lang=3DEN-US style=3D'font-size:10.0pt;line-height:115%;font-family:"Arial","sans-seri= f"'>the 4 parts concerning LDAP are uncommented.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US = style=3D'font-size:10.0pt;line-height:115%;font-family:"Arial","sans-seri= f"'>Thank you for your </span><span lang=3DEN-US>suggestion<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Best regards,</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>Ga=EBl</span>= <span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US = style=3D'color:#1F497D'><o:p> </o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0cm 0cm 0cm'> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><b><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</s= pan></b><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> [email protected] [mailto:[email protected]] <b>De la = part de</b> Stephane BOURMAUD<br> <b>Envoy=E9 :</b> mardi 8 juillet 2008 10:36<br> <b>=C0 :</b> Here you can discuss and comment current and future developmentsof Jahia<br> <b>Objet :</b> Re: [dev_list] Problems with = LDAP<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p> <div> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'>Hello,</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'>Have you configure your : /WEB-INF/etc/spring for LDAP connector</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'>in the file applicationcontext-services.xml</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'>Best regards,</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> </div> <div> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"; color:blue'>St=E9phane</span><span = style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> </div> <blockquote = style=3D'margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'> <p class=3DMsoNormal = style=3D'margin-bottom:12.0pt;line-height:normal'><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>-----Message= d'origine-----<br> <b>De :</b> gael Coudrains [mailto:[email protected]]<br> <b>Envoy=E9 :</b> vendredi 4 juillet 2008 18:16<br> <b>=C0 :</b> Here you can discuss and comment current and future developmentsof Jahia<br> <b>Objet :</b> Re: [dev_list] Problems with LDAP</span><span style=3D'font-size:12.0pt;font-family:"Times New = Roman","serif"'><o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Hello,<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>I finally succeeded in seeing all my LDAP users and my LDAP = groups in Jahia Administration. However I always have a problem because Jahia = does not allow that I log in with LDAP User.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Indeed, I can’t give access rights to LDAP users = (Jahia does not validate them : they come out when I want to validate them) If I = give rights to LDAP groups, they are validated. But when I want to log in = with an user of one of these groups, I acquire the following message of error: = <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Invalid username / password the authentication service = simple percentage currently not available. <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Given that the username and the password must be correct: = <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Why the authentication is not available = ???<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt'><span lang=3DEN-US>Thank you for helping me<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US = style=3D'color:#1F497D'><o:p> </o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US = style=3D'color:#1F497D'><o:p> </o:p></span></p> <div> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0cm 0cm 0cm'> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</s= pan></b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> [email protected] [mailto:[email protected]] <b>De la = part de</b> gael Coudrains<br> <b>Envoy=E9 :</b> jeudi 3 juillet 2008 16:43<br> <b>=C0 :</b> [email protected]<br> <b>Objet :</b> [dev_list] Problems with LDAP<o:p></o:p></span></p> </div> </div> <p class=3DMsoNormal><o:p> </o:p></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>Hi, <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'> <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>I am new user of Jahia and I have few problems with LDAP = configuration.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>First, I can see LDAP Users and LDAP Groups in Jahia administration = panel<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>So, I think it means it’s well connected.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>However, when I want to connect with an LDAP user, it doesn’t work because = when I want to edit permissions for LDAP users, LDAP users are not accepted. I don’t know why?<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>So I try with LDAP Group. LDAP Groups are accepted but Jahia doesn’t recognize any users in this Groups. Indeed in Jahia, all my LDAP groups = are empty and I don’t understand why?<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'> <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>This is my configuration of users.ldap.properties and = groups.ldap.properties<o:p></o:p></span></p> <p class=3DMsoNormal><span lang=3DEN-US = style=3D'font-size:10.0pt;line-height:115%; font-family:"Courier New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><i><u><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.properties<o:p></o:p></span></u></i></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><i><u><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p><span style=3D'text-decoration:none'> </span></o:p></span></u></i></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><i><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></i></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Configuration file for standard ldap server<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.context.factory  = ; =3D com.sun.jndi.ldap.LdapCtxFactory<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.url  = ; = =3D ldap://localhost:389/<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.authentification.mode  = ; =3D simple<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.public.bind.dn = =3D cn=3Dreader hard ldap, cn=3DUsers, dc=3Dparrot, = dc=3Dbiz<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># if you need to login to do public browsing of the directory, uncomment = the following line and enter the password.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.public.bind.password = =3D ******<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># the following value will be used as the user key, if it's not found the = user will not be used !<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.uid.search.attribute = =3D cn<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># base dn search<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.uid.search.name  = ; =3D dc=3Dparrot, dc=3Dbiz<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.search.countlimit &nb= sp; =3D 100<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.search.objectclass &n= bsp; =3D user<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># the following defines the attributes to use for wildcard search such as *=3D*test*<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.search.wildcards.attributes =3D ou, cn, o, c, mail, uid, uniqueIdentifier, givenName, sn, dn, = AccountName<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Map attribute, that indicate which LDAP attribute to map to Jahia = standard properties<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Make sure you comment out the ones you are not using, especially if the = LDAP<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># repository contains same names attributes. If you don't searching users = will<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># most probably not work correctly.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.username.attribute.map &nbs= p; =3D AccountName<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.firstname.attribute.map &nb= sp; =3D givenName<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.lastname.attribute.map &nbs= p; =3D sn<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.email.attribute.map &= nbsp; =3D mail<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>users.ldap.organization.attribute.map =3D ou<o:p></o:p></span></p> <p class=3DMsoNormal><u><span lang=3DEN-US><o:p><span = style=3D'text-decoration:none'> </span></o:p></span></u></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><i><u><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.properties<o:p></o:p></span></u></i></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Configuration file for standard ldap server<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.context.factory &nbs= p; =3D com.sun.jndi.ldap.LdapCtxFactory<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.url &= nbsp; =3D ldap://localhost:389/<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.authentification.mode &nbs= p; =3D simple<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.public.bind.dn  = ; =3D CN=3Dreader hard = ldap,CN=3DUsers,DC=3DPARROT,DC=3DBIZ<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># if you need to login to do public browsing of the directory, uncomment = the following line and enter the password.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.public.bind.password  = ; =3D ******<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># attribute holding the group name<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.search.attribute &nb= sp; =3D cn<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># base dn search<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.search.name &= nbsp; =3D DC=3DPARROT,DC=3DBIZ<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.search.countlimit =3D = 100<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># objectclasses and member attributes<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.search.objectclass &= nbsp; =3D group<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.members.attribute =3D MemberOf <o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>#groups.ldap.dynamic.search.objectclass =3D groupOfURLs<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>#groups.ldap.dynamic.members.attribute =3D memberurl<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># if set to false, group members will not be preloaded and members will = not appear in engines<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.preload = &= nbsp; =3D true<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># the following defines the attributes to use for wildcard search such as *=3D*test*<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.search.wildcards.attributes =3D cn,description,MemberOf<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Map attribute, that indicate which LDAP attribute to map to Jahia = standard properties<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># Make sure you comment out the ones you are not using, especially if the = LDAP<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># repository contains same names attributes. If you don't searching goups = will<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'># most probably not work correctly.<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.groupname.attribute.map &n= bsp; =3D cn<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'>groups.ldap.description.attribute.map =3D description<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier = New"'><o:p> </o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>I hope you can help me<o:p></o:p></span></p> <p class=3DMsoNormal = style=3D'margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal'><span lang=3DEN-US = style=3D'font-size:10.0pt;font-family:"Courier New"'>Thank you<o:p></o:p></span></p> <p class=3DMsoNormal><o:p> </o:p></p> </blockquote> </div> </body> </html> ------_=_NextPart_001_01C8E0F3.50F071EE-- --===============1551744898== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dev_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list --===============1551744898==--