<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    grazie per la tua disponibilità.<br>
    altra domanda:avendo un file LDIF con dc=mycompany;dc=com , la
    connessione come va  impostata?<br>
    ancora grazie<br>
    ciao<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Il 13/04/2015 13:45, Nicola Scendoni ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAOffQzaH1FXp7cWjOswCu-59A8D8D9La=WshE24mjvRgbrNm+w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Ciao Jusi,
        <div><br>
        </div>
        <div>se hai installato apacheds con i parametri di default, puoi
          fare:</div>
        <div><br>
        </div>
        <div>1. Bind anonimo</div>
        <div>2. Bind come amministratore:</div>
        <div>BIND DN: uid=admin,ou=system</div>
        <div>Password: secret</div>
        <div>3. Il basedn di default per i dati dovrebbe essere
          dc=example,dc=com</div>
        <div><br>
        </div>
        <div>Per iniziare creati un piccolo albero (qualche o e qualche
          ou) e poi crea qualche oggetto con password, ad esempio di
          tipo inetOrgperson e prova fare bind utilizzando diversi bind
          dn.</div>
        <div>In genere LDAP lo si usa per:</div>
        <div>- Validare user password</div>
        <div>- Cercare entries</div>
        <div><br>
        </div>
        <div>Prova poi a fare ricerche da diversi basedn con vari
          filtri. </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Nicola</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Il giorno 13 aprile 2015 13:21, Jusi
          Pomenti <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>></span>
          ha scritto:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> ciao Nicola<br>
              ho installato  apacheDS  e ho  tantanto una connessione
              impostandola cosi':<br>
              <br>
               nome connessine: mycompany<br>
               host:  localhost<br>
              port:10389<br>
              <br>
              bind DN or user: dc=mycompany;dc=com<br>
              bin passwrd:****<br>
              <br>
              perchè da il seguente messaggio di errore?<br>
              <br>
              The autentication failed<br>
              -[LDAP: error code 49 - INVALID_ CREDENTIAL: Bind failed :
              err_268 Cannot find a partition for  dc=mycompany; dc=com]<br>
              <br>
              Ciao e  grazie
              <div>
                <div class="h5"><br>
                  <br>
                  <br>
                  <br>
                  <br>
                  <div>Il 08/04/2015 12:43, Nicola Scendoni ha scritto:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Ciao Jusi,
                      <div><br>
                      </div>
                      <div>ti consiglio di guardare <a
                          moz-do-not-send="true"
                          href="http://directory.apache.org/"
                          target="_blank">Apache Directory Projects</a>.
                        Trovi un server in java piuttosto semplice da
                        installare (ApacheDS) con cui fare delle prove e
                        Apache Directory Studio che è uno dei migliori
                        client disponibili.</div>
                      <div><br>
                      </div>
                      <div>Non si usa sql, dato che non ci sono tabelle
                        ma oggetti con gerarchie attributi. Guarda la
                        documentazione e magari poi chiedi quando hai
                        qualche problema piu' specifico.</div>
                      <div>Ti consiglio di iniziare a leggere: <a
                          moz-do-not-send="true"
                          href="http://directory.apache.org/apacheds/basic-user-guide.html"
                          target="_blank">http://directory.apache.org/apacheds/basic-user-guide.html</a></div>
                      <div><br>
                      </div>
                      <div>Nicola</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">Il giorno 8 aprile 2015
                        12:03, Jusi Pomenti <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:jusipom@gmail.com"
                            target="_blank">jusipom@gmail.com</a>></span>
                        ha scritto:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Ciao  a  tutti,<br>
                          per un lavoro  che dovro' iniziare  tra
                          qualche settimana,sto facendo delle ricerche
                          in rete per acquisire il maggior numero di
                          informazioni su LDAP. In rete c'e' molto
                          materiale sull'argamento,ma ancora non trovo
                          nulla  di strutturato.<br>
                          Per ora so che si tratta di  un database 
                          stutturato ad albero e che non  è un  db   sql
                          e so che php mette a disposizione delle
                          funzioni per gestirlo;giusto?<br>
                          Vorrei qualche consiglio su come andare avanti
                          nella mia ricerca. Cosa c'è al posto di sql?
                          come posso fare  per provare  qualcosa?<br>
                          Ogni consiglio è ben accetto.<br>
                          Grazie.<br>
                          Ciao<br>
                          <br>
                          -- <br>
                          -------------------------------<br>
                          Junior Silvestro Pomenti<br>
                          Latina<br>
                          <br>
                          Sito Web: <a moz-do-not-send="true"
                            href="http://www.jusipom.it" target="_blank">www.jusipom.it</a><br>
                          Email: jusipom(at)<a moz-do-not-send="true"
                            href="http://gmail.com" target="_blank">gmail.com</a><br>
                                 info(at)<a moz-do-not-send="true"
                            href="http://jusipom.it" target="_blank">jusipom.it</a><br>
                          -------------------------------<br>
                          <br>
_______________________________________________<br>
                          <a moz-do-not-send="true"
                            href="http://www.llg.it" target="_blank">http://www.llg.it</a><br>
                          latina mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:latina@lists.linux.it"
                            target="_blank">latina@lists.linux.it</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.linux.it/listinfo/latina"
                            target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
<a moz-do-not-send="true" href="http://www.llg.it" target="_blank">http://www.llg.it</a>
latina mailing list
<a moz-do-not-send="true" href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a moz-do-not-send="true" href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a>
</pre>
                  </blockquote>
                  <br>
                  <pre cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina

Sito Web: <a moz-do-not-send="true" href="http://www.jusipom.it" target="_blank">www.jusipom.it</a>
Email: jusipom(at)<a moz-do-not-send="true" href="http://gmail.com" target="_blank">gmail.com</a>
       info(at)<a moz-do-not-send="true" href="http://jusipom.it" target="_blank">jusipom.it</a>
-------------------------------</pre>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            <a moz-do-not-send="true" href="http://www.llg.it"
              target="_blank">http://www.llg.it</a><br>
            latina mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:latina@lists.linux.it">latina@lists.linux.it</a><br>
            <a moz-do-not-send="true"
              href="http://lists.linux.it/listinfo/latina"
              target="_blank">http://lists.linux.it/listinfo/latina</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.llg.it">http://www.llg.it</a>
latina mailing list
<a class="moz-txt-link-abbreviated" href="mailto:latina@lists.linux.it">latina@lists.linux.it</a>
<a class="moz-txt-link-freetext" href="http://lists.linux.it/listinfo/latina">http://lists.linux.it/listinfo/latina</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina

Sito Web: <a class="moz-txt-link-abbreviated" href="http://www.jusipom.it">www.jusipom.it</a>
Email: jusipom(at)gmail.com
       info(at)jusipom.it
-------------------------------</pre>
  </body>
</html>