i resolve the problem reading the log....<br>In lotus domino name is Name Surname and i autheticate myself with Name Surname but ZendTo (or ldap) return the name in lowercase so i add &#39;name surname&#39; into authAdmins and all works fine.<br>
<br>Is it possible in next release add a parameter for ldap in order to set cn or uid or other as $uname compare?<br><br>Thanks<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 3:39 PM, Jules <span dir="ltr">&lt;<a 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">
    Does it let you log in with that username at all?<br>
    All it does is check the username against the elements of the
    authAdmins list.<br>
    And do you have authLDAPAdmins set to the empty string? If it&#39;s set,
    it will override whatever you put in authAdmins.<br>
    <br>
    Jules.<div><div class="h5"><br>
    <br>
    <div>On 19/11/2012 16:56, tw2006 wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">i comment authLDAPAdmins and add on authAdmins my uid
      without others value <br>
      &#39;authAdmins&#39;           =&gt; array(&#39;NSurname&#39;),<br>
      <br>
      but it don&#39;t recognize my user as an admin<br>
      <div class="gmail_extra">
        <br>
        <br>
        <div class="gmail_quote">On Mon, Nov 19, 2012 at 5:48 PM, tw2006
          <span dir="ltr">&lt;<a href="mailto:tw2006@gmail.com" target="_blank">tw2006@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            i tried with no luck, i think i need to change
            usernameRegexp parameter in order to add space as valid
            character but i don&#39;t know how <br>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                <div>
                  <div>
                    On Mon, Nov 19, 2012 at 5:27 PM, Jules <span dir="ltr">&lt;<a href="mailto:Jules@zend.to" target="_blank">Jules@zend.to</a>&gt;</span>
                    wrote:<br>
                  </div>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <div>
                      <div bgcolor="#FFFFFF" text="#000000">
                        <div> <br>
                          <div>On 19/11/2012 14:20, tw2006 wrote:<br>
                          </div>
                          <blockquote type="cite">Hi all,<br>
                             i&#39;m trying to configure ldap auth with
                            lotus domino ldap server.<br>
                            my ldap support anonymous from lan so it&#39;s
                            very easy to use it and the parameters that
                            i use is:<br>
                            <br>
                              //<br>
                              // Settings for the LDAP authenticator.<br>
                              //<br>
                              &#39;authenticator&#39;         =&gt; &#39;LDAP&#39;,<br>
                              &#39;authLDAPBaseDN&#39;        =&gt;
                            &#39;o=company,c=it&#39;,<br>
                              &#39;authLDAPServers&#39;       =&gt; array(&#39;<a href="http://ldap.company.com" target="_blank">ldap.company.com</a>&#39;),<br>
                              &#39;authLDAPAccountSuffix&#39; =&gt; &#39;&#39;,<br>
                              &#39;authLDAPUseSSL&#39;        =&gt; false,<br>
                              &#39;authLDAPBindDn&#39;        =&gt; &#39;&#39;,<br>
                              &#39;authLDAPBindPass&#39;      =&gt; &#39;&#39;,<br>
                              // This is the list of LDAP properties
                            used to build the user&#39;s full name<br>
                              &#39;authLDAPFullName&#39;      =&gt; &#39;givenName
                            cn&#39;,<br>
                              &#39;authLDAPOrganization&#39;  =&gt; &#39;&#39;,<br>
                              // If both these 2 settings are set, then
                            the users must be members of this<br>
                              // group/role.<br>
                              &#39;authLDAPMemberKey&#39;     =&gt; &#39;&#39;,<br>
                              &#39;authLDAPMemberRole&#39;    =&gt; &#39;&#39;,<br>
                              &#39;authLDAPAdmins&#39;          =&gt; &#39;&#39;,<br>
                            <br>
                            I&#39;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  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 &quot;uid=&quot; it says &quot;cn=&quot;.<br>
                        <br>
                        That should do it.
                        <div><br>
                          <blockquote type="cite"> <br>
                            Another question is about authLDAPAdmins,
                            how i can set it? <br>
                          </blockquote>
                        </div>
                        You can just set &#39;authAdmins&#39; instead, that will
                        be used if authLDAPAdmins is not set.<br>
                        <br>
                        <blockquote type="cite">
                          <div><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><font color="#888888"><a 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

&#39;It&#39;s okay to live without all the answers&#39; - Charlie Eppes, 2011
</font></span></pre>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                  _______________________________________________<br>
                  ZendTo mailing list<br>
                  <a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a><br>
                  <a 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>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank">ZendTo@zend.to</a>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
      <br>
      </div></div><pre cols="72"><div><div class="h5">Jules

-- 
Julian Field MEng MBCS CITP CEng
<a href="http://www.Zend.To" target="_blank">www.Zend.To</a></div></div>

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

&#39;Science is an integral part of culture. It&#39;s not this foreign
 thing, done by an arcane priesthood. It&#39;s one of the glories of
 human intellectual tradition.&#39; - Stephen Jay Gould
</pre>
    </blockquote>
  </div>

<br>_______________________________________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a 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>