DirectoryEntry win98 funktioniert nicht

  • Thread starter Thread starter Tim B
  • Start date Start date
T

Tim B

Hallo

ich verwende folgenden Code um einen Benutzer zu authentifizieren:


using(DirectoryEntry deDirEntry = new DirectoryEntry("LDAP://129.129.1.1",
this.strUser,
this.strPass,
this.atAuthentType))

{
// if user is verified then it will welcome then
try
{
string name = deDirEntry.Name;

return true;

}
catch (Exception exp)
{
return false;
}


}

nur leider funktioniert dies nicht unter Win98.

Woran könnte das liegen?

MfG

Tim
 
Hi Tim,

I think you would get more replies if you post german question in german
groups like

microsoft.public.de.german.entwickler.dotnet.csharp

Translated to English Tim's message would be something like:

Hello

I am using the following code to authenticate a user:

using(DirectoryEntry deDirEntry = new
DirectoryEntry("LDAP://129.129.1.1",
this.strUser,
this.strPass,
this.atAuthentType))

{
// if user is verified then it will welcome then
try
{
string name =deDirEntry.Name;

return true;

}
catch (Exception exp)
{
return false;
}


}

sadly this doesn't work under Win98

What could be the problem?

Tim
 
I am using the following code to authenticate a user:
using(DirectoryEntry deDirEntry = new
DirectoryEntry("LDAP://129.129.1.1",
this.strUser,
this.strPass,
this.atAuthentType))
{
// if user is verified then it will welcome then
try
{
string name =deDirEntry.Name;
return true;
}
catch (Exception exp)
{
return false;
}
}

sadly this doesn't work under Win98

Is the DsClient Software (DirectoryService Client) installed on Win98
?? It's *NOT* part of the basic Win98 setup! Otherwise, the Win98
workstation doesn't know anything about LDAP:// or Active Directory.

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top