[android-developers] Re: LDAP connection error

2010-07-14 Thread Kritzli
Lately I solved it. So many mistakes in just a few lines of codes. Ok, here's what I changed: 1. Change Port Obviously Port 80 wasn't the right one, so I got the error above. After changing to Port 389 (Default Port) I got error code 49 (wrong credentials). 2. Change OU What I didn't know: I'm no

[android-developers] Re: LDAP connection error

2010-07-13 Thread Kritzli
Ah, that's it ! After deleting the http:// of the hostname i got a connection. Thank you very much :) But, on to the next problem. After connecting to the LDAP directory I want to login/bind a user to it. That's the code for the binding: public boolean login(String name, String password) {

[android-developers] Re: LDAP connection error

2010-07-12 Thread Neil
On Jul 12, 7:15 am, Kritzli wrote: > Ok here's the actual problem: > Everytime I try to connect to the server I get this error: > > 07-12 13:33:50.561: WARN/System.err(292): LDAPException(resultCode=91 > (connect error), errorMessage='An error occurred while attempting to > connect to serverhttp:/