Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    LDAP e autenticazione

    Salve :-) allora io devo fare la connessione ad un server LDAP e finchè si poteva fare il login anonymous tutto ok:
    DirectoryEntry rootGPA = new DirectoryEntry();
    DirectorySearcher searcherGPA = new DirectorySearcher();

    adesso ho i seguenti dati di accesso:

    cn=xxx,o=CBI
    password: nokia
    porta: 14000

    e da quello che ho capito dovevo scrivere così

    DirectoryEntry rootGPA = new DirectoryEntry("LDAP://indirizzo.dom.it:14000/,o=CBI", "xxx", "nokia");
    DirectorySearcher searcherGPA = new DirectorySearcher();

    però mi da il seguente errore:

    The requested authentication method is not supported by the server

    sapete come fare ???? ho cercato su internet ma non sono riuscito a risolvere :-)

    grazie mille

  2. #2
    LDAP funziona solamente su macchine Win2000 e Win2003 ovvero macchine che supportano WMI, sei sicuro che non è una macchina NT4?

  3. #3
    beh con LDAP browser della softerra riesco a loggarmi e a vedere tutto...... :-P

  4. #4
    e allora stai ravanando in un server remoto ... ma la porta 14000 è aperta sul firewall?

  5. #5
    DirectoryEntry rootGPA = new DirectoryEntry("ldap://xxxxxxx:14000",
    "cn=user,o=CBI", "passw");

    così mi da questo errore

    The requested authentication method is not supported by the server

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.