On Jul 12, 7:15 am, Kritzli <[email protected]> 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://dc1.xyz:80: java.io.IOException: An error
> occurred while attempting to establish a connection to 
> serverhttp://dc1.xyz:80:
> java.net.UnknownHostException:http://dc1.xyz')

It looks like when you're creating the LDAP connection, you're
supplying a hostname of "http://dc1.xyz"; and a port of 80.  A hostname
should simply be a resolvable name and not a URL (e.g., just
"dc1.xyz").  However, it also looks like you're supplying information
for a web server rather than a directory server.  I would recommend
checking your code to ensure that you're actually trying to connect to
an LDAP server and make sure that you just put in the hostname rather
than a URL.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to