Re: Problems with LDAP
"Stephane BOURMAUD" <[email protected]> Tue, 8 Jul 2008 10:36:18 +0200
| Newsgroups | gmane.comp.cms.jahia.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --===============2144490890== content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8E0D5.B11A9C12" This is a multi-part message in MIME format. ------_=_NextPart_001_01C8E0D5.B11A9C12 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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_01C8E0D5.B11A9C12 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:x =3D=20 "urn:schemas-microsoft-com:office:excel" xmlns:p =3D=20 "urn:schemas-microsoft-com:office:powerpoint" xmlns:a =3D=20 "urn:schemas-microsoft-com:office:access" xmlns:dt =3D=20 "uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =3D=20 "uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =3D=20 "urn:schemas-microsoft-com:rowset" xmlns:z =3D "#RowsetSchema" xmlns:b = =3D=20 "urn:schemas-microsoft-com:office:publisher" xmlns:ss =3D=20 "urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =3D=20 "urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa =3D=20 "urn:schemas-microsoft-com:office:activation" xmlns:html =3D=20 "http://www.w3.org/TR/REC-html40" xmlns:q =3D=20 "http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D =3D "DAV:" xmlns:x2 = =3D=20 "http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =3D=20 "http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =3D=20 "http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =3D=20 "http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =3D=20 "http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =3D=20 "http://schemas.microsoft.com/data/udc" xmlns:xsd =3D=20 "http://www.w3.org/2001/XMLSchema" xmlns:sub =3D=20 "http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec = =3D=20 "http://www.w3.org/2001/04/xmlenc#" xmlns:sp =3D=20 "http://schemas.microsoft.com/sharepoint/" xmlns:sps =3D=20 "http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =3D=20 "http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf =3D=20 "http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf =3D=20 "http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver =3D=20 "http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m = =3D=20 "http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =3D=20 "http://schemas.openxmlformats.org/package/2006/relationships" = xmlns:ex12t =3D=20 "http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m = =3D=20 "http://schemas.microsoft.com/exchange/services/2006/messages" XMLNS:Z = =3D=20 "urn:schemas-microsoft-com:"><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR> <STYLE>@font-face { font-family: Calibri; } @font-face { font-family: Tahoma; } @page Section1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 70.85pt = 70.85pt; } P.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: = "Calibri","sans-serif" } LI.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: = "Calibri","sans-serif" } DIV.MsoNormal { FONT-SIZE: 11pt; MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: = "Calibri","sans-serif" } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: = personal } SPAN.EmailStyle18 { COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: = personal-reply } .MsoChpDefault { FONT-SIZE: 10pt; mso-style-type: export-only } 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 vLink=3Dpurple link=3Dblue> <DIV><SPAN class=3D489403308-08072008><FONT face=3DArial color=3D#0000ff = size=3D2>Hello,</FONT></SPAN></DIV> <DIV><SPAN class=3D489403308-08072008><FONT face=3DArial color=3D#0000ff = size=3D2>Have=20 you configure your : /WEB-INF/etc/spring for LDAP=20 connector</FONT></SPAN></DIV> <DIV><SPAN class=3D489403308-08072008><FONT face=3DArial color=3D#0000ff = size=3D2>in the=20 file applicationcontext-services.xml</FONT></SPAN></DIV> <DIV><SPAN class=3D489403308-08072008><FONT face=3DArial color=3D#0000ff = size=3D2>Best=20 regards,</FONT></SPAN></DIV> <DIV><SPAN class=3D489403308-08072008><FONT face=3DArial color=3D#0000ff = size=3D2>St=E9phane</FONT></SPAN></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Message d'origine-----<BR><B>De :</B> gael = Coudrains=20 [mailto:[email protected]]<BR><B>Envoy=E9 :</B> vendredi = 4 juillet=20 2008 18:16<BR><B>=C0 :</B> Here you can discuss and comment = current and=20 future developmentsof Jahia<BR><B>Objet :</B> Re: [dev_list] = Problems=20 with LDAP<BR><BR></FONT></DIV> <DIV class=3DSection1> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN=20 lang=3DEN-US>Hello,<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN lang=3DEN-US>I = finally=20 succeeded in seeing all my LDAP users and my LDAP groups in Jahia=20 Administration. However I always have a problem because Jahia does not = allow=20 that I log in with LDAP User.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN = lang=3DEN-US>Indeed, I can’t=20 give access rights to LDAP users (Jahia does not validate them : they = come out=20 when I want to validate them) If I give rights to LDAP groups, they = are=20 validated. But when I want to log in with an user of one of these = groups, I=20 acquire the following message of error: <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN=20 lang=3DEN-US><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN = lang=3DEN-US>Invalid=20 username / password the authentication service simple percentage = currently not=20 available. <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN=20 lang=3DEN-US><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN = lang=3DEN-US>Given that the=20 username and the password must be correct: <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN = lang=3DEN-US>Why the=20 authentication is not available ???<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN=20 lang=3DEN-US><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt"><SPAN = lang=3DEN-US>Thank you for=20 helping me<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN lang=3DEN-US=20 style=3D"COLOR: #1f497d"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal><SPAN lang=3DEN-US=20 style=3D"COLOR: #1f497d"><o:p> </o:p></SPAN></P> <DIV> <DIV=20 style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: = #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: = medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none"> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><B><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = 'Tahoma','sans-serif'">De :</SPAN></B><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">=20 [email protected] [mailto:[email protected]] <B>De = la part=20 de</B> gael Coudrains<BR><B>Envoy=E9 :</B> jeudi 3 juillet 2008=20 16:43<BR><B>=C0 :</B> [email protected]<BR><B>Objet :</B> = [dev_list]=20 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: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Hi, = <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"> <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">I = am new user=20 of Jahia and I have few problems with LDAP=20 configuration.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">First, I can=20 see LDAP Users and LDAP Groups in Jahia administration=20 panel<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">So, = I think it=20 means it’s well connected.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">However, when I=20 want to connect with an LDAP user, it doesn’t work because when = I want to edit=20 permissions for LDAP users, LDAP users are not accepted. I don’t = know=20 why?<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">So = I try with=20 LDAP Group. LDAP Groups are accepted but Jahia doesn’t recognize = any users in=20 this Groups. Indeed in Jahia, all my LDAP groups are empty and I = don’t=20 understand why?<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"> <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">This is my=20 configuration of users.ldap.properties and=20 groups.ldap.properties<o:p></o:p></SPAN></P> <P class=3DMsoNormal><SPAN lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><I><U><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.properties<o:p></o:p></SPAN></U></I></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><I><U><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p><SPAN=20 style=3D"TEXT-DECORATION: none"> </SPAN></o:p></SPAN></U></I></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><I><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></I></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Configuration=20 file for standard ldap server<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.context.factory  = ; =20 =3D com.sun.jndi.ldap.LdapCtxFactory<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.url  = ; = =20 =3D ldap://localhost:389/<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.authentification.mode  = ; =20 =3D simple<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.public.bind.dn = =20 =3D cn=3Dreader hard ldap, cn=3DUsers, dc=3Dparrot, = dc=3Dbiz<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = if you need=20 to login to do public browsing of the directory, uncomment the = following line=20 and enter the password.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.public.bind.password = =20 =3D ******<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = the following=20 value will be used as the user key, if it's not found the user will = not be=20 used !<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.uid.search.attribute = =20 =3D cn<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = base dn=20 search<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.uid.search.name  = ; =20 =3D dc=3Dparrot, dc=3Dbiz<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.search.countlimit &nb= sp; =20 =3D 100<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.search.objectclass &n= bsp; =20 =3D user<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = the following=20 defines the attributes to use for wildcard search such as=20 *=3D*test*<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.search.wildcards.attributes =20 =3D ou, cn, o, c, mail, uid, uniqueIdentifier, givenName, sn, dn,=20 AccountName<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Map=20 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: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Make sure you=20 comment out the ones you are not using, especially if the=20 LDAP<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = repository=20 contains same names attributes. If you don't searching users=20 will<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = most probably=20 not work correctly.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.username.attribute.map &nbs= p; =20 =3D AccountName<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.firstname.attribute.map &nb= sp; =20 =3D givenName<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.lastname.attribute.map &nbs= p; =20 =3D sn<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.email.attribute.map &= nbsp; =20 =3D mail<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">users.ldap.organization.attribute.map =20 =3D ou<o:p></o:p></SPAN></P> <P class=3DMsoNormal><U><SPAN lang=3DEN-US><o:p><SPAN=20 style=3D"TEXT-DECORATION: none"> </SPAN></o:p></SPAN></U></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><I><U><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.properties<o:p></o:p></SPAN></U></I></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Configuration=20 file for standard ldap server<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.context.factory &nbs= p; =20 =3D com.sun.jndi.ldap.LdapCtxFactory<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.url =20 = &= nbsp; =3D=20 ldap://localhost:389/<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.authentification.mode &nbs= p; =20 =3D simple<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.public.bind.dn  = ; =20 =3D CN=3Dreader hard = ldap,CN=3DUsers,DC=3DPARROT,DC=3DBIZ<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = if you need=20 to login to do public browsing of the directory, uncomment the = following line=20 and enter the password.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.public.bind.password  = ; =20 =3D ******<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = attribute=20 holding the group name<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.search.attribute &nb= sp; =20 =3D cn<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = base dn=20 search<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.search.name=20 = &= nbsp; =20 =3D DC=3DPARROT,DC=3DBIZ<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.search.countlimit=20 =20 =3D=20 100<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = objectclasses=20 and member attributes<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.search.objectclass &= nbsp; =20 =3D group<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.members.attribute=20 =3D = MemberOf <o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">#groups.ldap.dynamic.search.objectclass =20 =3D groupOfURLs<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">#groups.ldap.dynamic.members.attribute=20 =3D memberurl<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = if set to=20 false, group members will not be preloaded and members will not appear = in=20 engines<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.preload = &= nbsp; =20 =3D true<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = the following=20 defines the attributes to use for wildcard search such as=20 *=3D*test*<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.search.wildcards.attributes =20 =3D cn,description,MemberOf<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Map=20 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: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = Make sure you=20 comment out the ones you are not using, especially if the=20 LDAP<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = repository=20 contains same names attributes. If you don't searching goups=20 will<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"># = most probably=20 not work correctly.<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.groupname.attribute.map &n= bsp;=20 =3D cn<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">groups.ldap.description.attribute.map =20 =3D description<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'"><o:p> </o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">I = hope you can=20 help me<o:p></o:p></SPAN></P> <P class=3DMsoNormal style=3D"MARGIN-BOTTOM: 0pt; LINE-HEIGHT: = normal"><SPAN=20 lang=3DEN-US style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier = New'">Thank=20 you<o:p></o:p></SPAN></P> <P = class=3DMsoNormal><o:p> </o:p></P></DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C8E0D5.B11A9C12-- --===============2144490890== 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 --===============2144490890==--