<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<meta name="Generator" content="Zarafa WebAccess v6.40.8-27223">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<title>RE: [Xerte] Re: LDAP configuration for XOT 2.0</title>
<style type="text/css">
body
{
font-family: Arial, Verdana, Sans-Serif ! important;
font-size: 12px;
padding: 5px 5px 5px 5px;
margin: 0px;
border-style: none;
background-color: #ffffff;
}
p, ul, li
{
margin-top: 0px;
margin-bottom: 0px;
}
</style>
</head>
<body>
<p> I received some help from an ldap expert @ zentyal community. I just want to post back the settings that did the trick:</p><p> </p><p>when you go to http://<your xerte location>/management.php you find a block ldap settings</p><p><br />The ldap host is</p><p>127.0.0.1 (in my case ldap is hosted on the same server as xerte)</p><p> </p><p>The ldap port is</p><p>390 (Zentyal 3 uses a different port than standard. For Standard openldap this is 389)</p><p> </p><p>The ldap password is</p><p>fill in your ldap user password. In the case of Zentyal there is a readonly user and a user that has read/write priviledges. Read only is sufficient here.</p><p> </p><p>The ldap base is</p><p>dc=domain,dc=tld (fill in here the domain you use for your ldap users)</p><p> </p><p>The ldap bind is</p><p>cn=zentyalro,dc=domain,dc=tld (this is the account that will be used to access ldap)</p><p> </p><p>The LDAP main filter is</p><p>uid (since Zentyal uses OpenLDAP and not Active Directory, uid is used to define the attributes used)</p><p> </p><p>The LDAP second filter is</p><p>leave empty</p><p> </p><p>After this, I could authenticate using ldap accounts.</p><p> </p><p>Hope this is of use.</p><p> </p><p>Regards,</p><p>robb</p><p> </p><blockquote style="border-left: 2px solid #325FBA; padding-left: 5px;margin-left:5px;">-----Original message-----<br /><strong>To:</strong> Xerte discussion list <xerte@lists.nottingham.ac.uk>; <br /><strong>From:</strong> Tom Reijnders <reijnders@tor.nl><br /><strong>Sent:</strong> Sat 27-04-2013 13:43<br /><strong>Subject:</strong> [Xerte] Re: LDAP configuration for XOT 2.0<br /><strong>Attachment:</strong> inline.txt<br /><style type="text/css">body { font-family: monospace; }</style> <div style="color: #000000; background-color: #FFFFFF; ">I don't have all your answers for you, because that really depends on your installation:<br /> <br /> LDAP host, I suspect that should be localhost, anyway, it is the FQDN of the host.<br /> <br /> LDAP base, probably you have to add ou=Users, so ou=Users,dc=domain,dc=tld<br /> <br /> LDAP bind is a user, for example cn=root,dc=domain,dc=tld<br /> <br /> LDAP main filter is in my case 'sAMAccountName'<br /> <br /> and indeed I have 'cn=' for the second filter.<br /> <br /> Tom<br /> <br /> <br /> <div>Op 27-4-2013 13:18, robb schreef:</div> <blockquote type="cite" cite="mid:zarafa.517bb419.333a.0a1fd9844810fc4d@vps1744.directvps.nl"> <style type="text/css"> .bodyclass { font-family: Arial, Verdana, Sans-Serif ! important; font-size: 12px; padding: 5px 5px 5px 5px; margin: 0px; border-style: none; background-color: #ffffff; } p, ul, li { margin-top: 0px; margin-bottom: 0px; } </style> <p><style type="text/css">.bodyclass { font-family: monospace; }</style></p> <div style="background-color: #FFFFFF; color: #000000; ">I have problems getting LDAP authentication configured. I think I have all the necessary info to fill in the configuration, but since I am an absolute newb on LDAP, I just don't know what to fill in where.<br /> I have installed xot on a Ubuntu 12.04 x64 server and using openldap.<br /> <br /> In an earlier post to this list I was already pointed to the file in /xertedir/auth_config.php<br /> <br /> There I am able to change the way xot authenticates and set it to authenticate through LDAP<br /> <br /> in website/management.php I set the following:<br /> <br /> LDAP host =<br /> domain.tld<br /> <br /> LDAP port =<br /> 390 (my server uses a non standard LDAP port since also Samba4 is installed that uses 389 for it's own LDAP port)<br /> <br /> LDAP password =<br /> ************* (this is the read/write password)<br /> <br /> LDAP base =<br /> dc=domain,dc=tld<br /> <br /> LDAP bind =<br /> I think this should be something like: ou=Users,dc=domain,dc=tld am I right? Where ou=Users is the location where the LDAP users are stored.<br /> <br /> The LDAP main filter = <br /> sAMAccountName <br /> I am not sure about this one, because I read all about this in Active Directory situations and since I use OpenLDAP, I don't know if this is correct.<br /> <br /> The LDAP 2nd Filter =<br /> ? I have no clue what to put here. Just a plain cn= ?</div> <div style="background-color: #FFFFFF; color: #000000; "> </div> <div style="background-color: #FFFFFF; color: #000000; ">I hope someone can give me some pointers on how to connect to my LDAP server for authentication to XOT.</div> <div style="background-color: #FFFFFF; color: #000000; ">btw, Xot and LDAP are installed on the same server. XOT is installed in an Apache vhost on a subdomain of the server (xerte.domain.tld)</div> <div style="background-color: #FFFFFF; color: #000000; "> </div> <div style="background-color: #FFFFFF; color: #000000; ">thank you for helping out</div> <div style="background-color: #FFFFFF; color: #000000; "> </div> <div style="background-color: #FFFFFF; color: #000000; ">Robb</div> <br /> <br /> <br /> <br /> <br /> <pre wrap="">
_______________________________________________ Xerte mailing list <a title="This external link will open in a new window" target="_blank" onclick="parent.webclient.openWindow(this, 'createmail', 'index.php?load=dialog&task=createmail_standard&to=Xerte@lists.nottingham.ac.uk'); return false;" href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a> <a title="This external link will open in a new window" target="_blank" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a> </pre> </blockquote> <br /> <pre cols="72">
-- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 </pre> <br /> <br /> </div> </blockquote>
</body>
</html>