<div dir="ltr">Scaricati i pacchetti openldap.<div>Per esempio come ha fatto questo:</div><div><a href="http://gagsap37.blogspot.ch/2014/04/setting-up-openldap-on-windows-using.html">http://gagsap37.blogspot.ch/2014/04/setting-up-openldap-on-windows-using.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">Il giorno 5 maggio 2015 22:47, Jusi Pomenti <span dir="ltr"><<a 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">
    è la seconda che hai elencato :)<br>
    le  entries le ho  già create  da client grafico....immagino si 
    possa fare la stessa cosa con ldapadd  e ldapmodify<br>
    una volta fatto qualche prova,vorrei passare al      php.<br>
    che mi consigli? ho  installato cygwin ora quali  pacchetti servono<br>
    Ciao  e Grazie<div><div class="h5"><br>
    <br>
    <div>Il 05/05/2015 21:49, Nicola Scendoni ha
      scritto:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Ciao Jusi,
        <div><br>
        </div>
        <div>no non si fa cosi' :)</div>
        <div>ldapsearch è un comando, quindi semplicemente un client
          ldap a linea di comando.</div>
        <div>In altre parole: </div>
        <div>- ldap è un protocollo definito dall'rfc 4510/541 (tipo
          http o smtp)</div>
        <div>- ldapsearch, ldapadd ldapmodify sono dei comandi che fanno
          da front end per i rispettivi comandi definiti nel protocollo</div>
        <div>- apache directory studio è un client grafico</div>
        <div>- ci sono librerie per praticamente tutti i linguaggi di
          programmazione che semplificano la scrittura di client.
          Tipicamente ldap viene uasto per autenticare/autorizzare
          utenti.</div>
        <div>- ldif è il formato utilizzato da client ldap quali
          ldapmodify per modificare/creare entries.</div>
        <div><br>
        </div>
        <div>Tu cosa devi fare?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Il giorno 5 maggio 2015 20:33, Jusi
          Pomenti <span dir="ltr"><<a 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"> Ho messo    il
              comando ldap il un file ldif e l'ho importato nel server
              usando apache directory studio;non è così che si fa'?<br>
              Per  favore,ora che ho installato  cigwin  cosa devo
              cercare   per aggiungere i  pacchetti di  openldap?<br>
              Ho già notato che cygwin non riconosce  il comando 
              ls;perchè?   pensi che convenga installare tutto?<br>
              Grazie
              <div>
                <div><br>
                  <br>
                  <div>Il 05/05/2015 14:31, Nicola Scendoni ha scritto:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Se ben capisco riesci a fare query
                      usando apache directory studio. Quindi il server
                      e' ok.
                      <div>Non capisco come stai eseguendo i test se non
                        hai i comandi ldapsearch....mi sono perso
                        qualcosa?</div>
                      <div>
                        <div><br>
                        </div>
                        <div>Se vuoi installarli ti consiglio di
                          installare cygwin ed aggiungere i pacchetti di
                          openldap. </div>
                        <div>Avrai a disposizione bash e tutti buona
                          parte dei comandi linux su windows.</div>
                        <div><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Nicola</div>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">Il giorno 5 maggio 2015
                        11:21, Jusi Pomenti <span dir="ltr"><<a 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,<br>
                            mi sento ignorante,ma   non riesco  a farlo
                            funzionare..Voi dite che non ci sono
                            errori,ma io non vedo ne errore ne i
                            risultati  della ricerca.<br>
                            sulla mia macchina ho window 7,apache ds e
                            apache ds studio;per caso manca qualcosa
                            come per esempio le  ldap     api?<br>
                            se  le operazioni di inserimento e
                            cancellazione funzionano,perchè la ricerca
                            non dovrebbe funzionare?<br>
                            inoltre,visto  che non essendo sotto linux e
                            quindi  non ho la bash,questi comandii:<br>
                            <pre> ldapsearch
 - ldapadd
 - ldapdelete
 - ldapmodify


da dove li dò? o li inserisco in un file ldif da importare  nel server?
ciao  e  grazie a tutti
</pre>
                            <div>
                              <div> <br>
                                <br>
                                <div>Il 29/04/2015 15:31, Nicola
                                  Scendoni ha scritto:<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">Ciao Jusi,
                                    <div><br>
                                    </div>
                                    <div>Credo che il problema e' che
                                      stai facendo BIND anonimo qualche
                                      aci non ti fa vedere i risultati.</div>
                                    <div>Prova con:</div>
                                    <div><br>
                                    </div>
                                    <div><span style="font-size:12.8000001907349px">ldapsearch

                                        -D "uid=admin,ou=system" -h
                                        localhost -p 10389 -b
                                        "ou=people,o=sevenSeas" -s sub
                                        "(cn=Jusi Pomenti)"</span></div>
                                    <div><span style="font-size:12.8000001907349px"><br>
                                      </span></div>
                                    <div><br>
                                    </div>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <div class="gmail_quote">Il giorno
                                      29 aprile 2015 12:54, Jusi Pomenti
                                      <span dir="ltr"><<a 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
                                        Nicola.<br>
                                        poiche vedo   che facendo un
                                        file  .ldif e   importandolo nel
                                        server non dà segni di  vita
                                        poichè non dà ne errore ne i
                                        risultati della ricerca e avevo
                                        il sospetto che avessi
                                        installato  nnale qualcosa,ho 
                                         provato ad  impostare un po' di
                                        ricerche dall'interfaccia 
                                        grafica  di apache ds  studio e
                                        funzionano.Allora cosa puo'
                                        essere?<br>
                                        La sintassi di ldapsearch è 
                                        giusta?<br>
                                        ldapsearch -h localhost -p 10389
                                        -b "ou=people,o=sevenSeas" -s
                                        sub "(cn=Jusi Pomenti)" +<span><br>
                                          <br>
                                          Il 28/04/2015 22:29, Nicola
                                          Scendoni ha scritto:<br>
                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                            ldapsearch -h localhost -p
                                            10389 -b "o=sevenSeas" -s
                                            sub "(objectclass=*)"<br>
                                          </blockquote>
                                          <br>
                                        </span>
                                        <div>
                                          <div> -- <br>
-------------------------------<br>
                                            Junior Silvestro Pomenti<br>
                                            Latina<br>
                                            <br>
                                            Sito Web: <a href="http://www.jusipom.it" target="_blank">www.jusipom.it</a><br>
                                            Email: jusipom(at)<a href="http://gmail.com" target="_blank">gmail.com</a><br>
                                                   info(at)<a href="http://jusipom.it" target="_blank">jusipom.it</a><br>
-------------------------------<br>
                                            <br>
_______________________________________________<br>
                                            <a href="http://www.llg.it" target="_blank">http://www.llg.it</a><br>
                                            latina mailing list<br>
                                            <a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
                                            <a href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                                          </div>
                                        </div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                  <pre>_______________________________________________
<a href="http://www.llg.it" target="_blank">http://www.llg.it</a>
latina mailing list
<a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a 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 href="http://www.jusipom.it" target="_blank">www.jusipom.it</a>
Email: jusipom(at)<a href="http://gmail.com" target="_blank">gmail.com</a>
       info(at)<a href="http://jusipom.it" target="_blank">jusipom.it</a>
-------------------------------</pre>
                              </div>
                            </div>
                          </div>
                          <br>
_______________________________________________<br>
                          <a href="http://www.llg.it" target="_blank">http://www.llg.it</a><br>
                          latina mailing list<br>
                          <a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
                          <a href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
<a href="http://www.llg.it" target="_blank">http://www.llg.it</a>
latina mailing list
<a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a 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 href="http://www.jusipom.it" target="_blank">www.jusipom.it</a>
Email: jusipom(at)<a href="http://gmail.com" target="_blank">gmail.com</a>
       info(at)<a href="http://jusipom.it" target="_blank">jusipom.it</a>
-------------------------------</pre>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            <a href="http://www.llg.it" target="_blank">http://www.llg.it</a><br>
            latina mailing list<br>
            <a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
            <a href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
<a href="http://www.llg.it" target="_blank">http://www.llg.it</a>
latina mailing list
<a href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a 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 href="http://www.jusipom.it" target="_blank">www.jusipom.it</a>
Email: jusipom(at)<a href="http://gmail.com" target="_blank">gmail.com</a>
       info(at)<a href="http://jusipom.it" target="_blank">jusipom.it</a>
-------------------------------</pre>
  </div></div></div>

<br>_______________________________________________<br>
<a href="http://www.llg.it" target="_blank">http://www.llg.it</a><br>
latina mailing list<br>
<a href="mailto:latina@lists.linux.it">latina@lists.linux.it</a><br>
<a href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a><br>
<br></blockquote></div><br></div>