<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    'usernameRegexp'&nbsp;&nbsp;&nbsp; =&gt; '/^([a-zA-Z0-9\ \_\.\-\@\\\]+)$/i',<br>
    should work well enough.<br>
    <br>
    <div class="moz-cite-prefix">On 19/11/2012 16:48, tw2006 wrote:<br>
    </div>
    <blockquote
cite="mid:CAGHdwhQRMgwAd11fr=ozQg-ecjXO9PsDA8QunmoBhd4_DuEh5Q@mail.gmail.com"
      type="cite">i tried with no luck, i think i need to change
      usernameRegexp parameter in order to add space as valid character
      but i don't know how <br>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Nov 19, 2012 at 5:27 PM, Jules
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="im"> <br>
                <div>On 19/11/2012 14:20, tw2006 wrote:<br>
                </div>
                <blockquote type="cite">Hi all,<br>
                  &nbsp;i'm trying to configure ldap auth with lotus domino
                  ldap server.<br>
                  my ldap support anonymous from lan so it's very easy
                  to use it and the parameters that i use is:<br>
                  <br>
                  &nbsp; //<br>
                  &nbsp; // Settings for the LDAP authenticator.<br>
                  &nbsp; //<br>
                  &nbsp; 'authenticator'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'LDAP',<br>
                  &nbsp; 'authLDAPBaseDN'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'o=company,c=it',<br>
                  &nbsp; 'authLDAPServers'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; array('<a
                    moz-do-not-send="true"
                    href="http://ldap.company.com" target="_blank">ldap.company.com</a>'),<br>
                  &nbsp; 'authLDAPAccountSuffix' =&gt; '',<br>
                  &nbsp; 'authLDAPUseSSL'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; false,<br>
                  &nbsp; 'authLDAPBindDn'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; '',<br>
                  &nbsp; 'authLDAPBindPass'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; '',<br>
                  &nbsp; // This is the list of LDAP properties used to build
                  the user's full name<br>
                  &nbsp; 'authLDAPFullName'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'givenName cn',<br>
                  &nbsp; 'authLDAPOrganization'&nbsp; =&gt; '',<br>
                  &nbsp; // If both these 2 settings are set, then the users
                  must be members of this<br>
                  &nbsp; // group/role.<br>
                  &nbsp; 'authLDAPMemberKey'&nbsp;&nbsp;&nbsp;&nbsp; =&gt; '',<br>
                  &nbsp; 'authLDAPMemberRole'&nbsp;&nbsp;&nbsp; =&gt; '',<br>
                  &nbsp; 'authLDAPAdmins'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; '',<br>
                  <br>
                  I'm able to login but i must use the uid value as
                  username. The problem is that my user use Name and
                  Surname as username&nbsp; that is in cn value<br>
                </blockquote>
              </div>
              The code currently assumes you will use uid as the
              username. To change this, edit NSSLDAPAuthenticator.php
              (in /opt/zendto/lib) and edit lines 162 and 264 so that
              instead of saying "uid=" it says "cn=".<br>
              <br>
              That should do it.
              <div class="im"><br>
                <blockquote type="cite"> <br>
                  Another question is about authLDAPAdmins, how i can
                  set it? <br>
                </blockquote>
              </div>
              You can just set 'authAdmins' instead, that will be used
              if authLDAPAdmins is not set.<br>
              <br>
              <blockquote type="cite">
                <div class="im"><br>
                  For example my user is: <br>
                  cn=Name Surmane<br>
                  o=company<br>
                  c=it<br>
                  uid=NSurname<br>
                  <br>
                  <br>
                </div>
                <pre cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng
<span class="HOEnZb"><font color="#888888"><a moz-do-not-send="true" href="http://www.Zend.To" target="_blank">www.Zend.To</a>

Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
</font></span></pre>
              </blockquote>
            </div>
            <br>
            _______________________________________________<br>
            ZendTo mailing list<br>
            <a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
            <a moz-do-not-send="true"
              href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto"
              target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
      <br>
      <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>

Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

Trafalgar: Southwesterly 5 to 7 in northwest, otherwise northwesterly 5
becoming variable 4. Moderate or rough. Rain or showers. Moderate or good,
occasionally poor.
</pre>
    </blockquote>
  </body>
</html>