OVH Cloud OVH Cloud

Disfonctionnement Identification Active Directory

1 réponse
Avatar
carlos95
J'ai crée une classe permettant de s'identifier sur le LDAP (Active Directory).

Cette classe fonctionne parfaitement sur mon poste (Windows XP SP2) et ne
fonctionne pas sur 2 autres postes (1 Windows XP & 1 Windows Server 2003).


Message d'erreur affiché :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8007203A): The server is not
operational
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Abbott.Developpement.LdapAuthentification.IsAuthentifie() in
d:\projets visual studio .net\connexion active
directory\ldapauthentification.cs:line 118
at Test_Active_Directory.Form1.button1_Click(Object sender, EventArgs e)
in d:\projets visual studio .net\test active directory\form1.cs:line 156
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


J'utilise le framework .net v1.1.4322 sur toutes les machines citées plus
haut.

Je n'ai aucune idée d'où ça peut venir sachant que j'utilise le même profil
AD pour les tests. Il y a-t-il une configuration à effectuer sur le poste
client ?

1 réponse

Avatar
Paul Bacelar
Le serveur LDAP DOWN ?

Vérifiez avec des traces réseaux (Ethereal)

Vérifiez la configuration ActiveDirectory qui est très tatillonne.

--
Paul Bacelar

"carlos95" wrote in message
news:
J'ai crée une classe permettant de s'identifier sur le LDAP (Active


Directory).

Cette classe fonctionne parfaitement sur mon poste (Windows XP SP2) et ne
fonctionne pas sur 2 autres postes (1 Windows XP & 1 Windows Server 2003).


Message d'erreur affiché :

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8007203A): The server is


not
operational
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_NativeObject()
at Abbott.Developpement.LdapAuthentification.IsAuthentifie() in
d:projets visual studio .netconnexion active
directoryldapauthentification.cs:line 118
at Test_Active_Directory.Form1.button1_Click(Object sender, EventArgs


e)
in d:projets visual studio .nettest active directoryform1.cs:line 156
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)


J'utilise le framework .net v1.1.4322 sur toutes les machines citées plus
haut.

Je n'ai aucune idée d'où ça peut venir sachant que j'utilise le même


profil
AD pour les tests. Il y a-t-il une configuration à effectuer sur le poste
client ?