[Mono-list] OpenLDAP with mono

Amish Munshi lists@munshi.biz
Thu, 2 Dec 2004 10:14:14 +0530

On Wednesday 01 December 2004 18:09, Jonathan Stowe wrote:
> I think if you take the try{} catch{} out you will get a clearer idea of
> where the problem lies - this exception appears to be from
> LdapException.ToString() which whilst a problem is meaning you are not
> seeing what the underlying problem is.

The output does not change irrespective of weather the try block exists (wh=
does the catch block not catch the exception?)

=46inally I got the solution for this.
I should have used dc=3Dexample,dc=3Dcom, I did not have the tree ou=3Dexam=
in ldap. =C2=A0""you are free to hit me for this one""
There are 2 problems still.=20
1. The Error could have been a little more descriptive of the problem
2. The program does not terminate, it just keeps running. Adding=20
ldapConn.Disconnect() does not terminate the application either.

Thanks for the help, Although I wouldnt put this into production, I can=20
atleast continue my studies/development work.