Hi there,

After searching for hours on the internet, I hope anyone here has an
idea. Well, that's the situation:
I'm trying to login to my app via ldap directory. If its possible to
login there, you can go on using the app.
For the LDAP connection I'm using the UnboundID lib.
I know this is working, cause i've done this for a Blackberry app too
and it was only a few lines of codes.

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 server http://dc1.xyz:80:  java.io.IOException: An error
occurred while attempting to establish a connection to server
http://dc1.wue.nobiscum:80:  java.net.UnknownHostException: http://dc1.xyz')
07-12 13:33:50.571: WARN/System.err(292):     at
com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:681)
07-12 13:33:50.581: WARN/System.err(292):     at
com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:616)
07-12 13:33:50.581: WARN/System.err(292):     at
com.nobiscum.de.login.login(login.java:50)
07-12 13:33:50.591: WARN/System.err(292):     at com.nobiscum.de.login
$1.onClick(login.java:29)
07-12 13:33:50.591: WARN/System.err(292):     at
android.view.View.performClick(View.java:2408)
07-12 13:33:50.600: WARN/System.err(292):     at android.view.View
$PerformClick.run(View.java:8816)
07-12 13:33:50.600: WARN/System.err(292):     at
android.os.Handler.handleCallback(Handler.java:587)
07-12 13:33:50.610: WARN/System.err(292):     at
android.os.Handler.dispatchMessage(Handler.java:92)
07-12 13:33:50.610: WARN/System.err(292):     at
android.os.Looper.loop(Looper.java:123)
07-12 13:33:50.610: WARN/System.err(292):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
07-12 13:33:50.621: WARN/System.err(292):     at
java.lang.reflect.Method.invokeNative(Native Method)
07-12 13:33:50.630: WARN/System.err(292):     at
java.lang.reflect.Method.invoke(Method.java:521)
07-12 13:33:50.630: WARN/System.err(292):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-12 13:33:50.640: WARN/System.err(292):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-12 13:33:50.640: WARN/System.err(292):     at
dalvik.system.NativeStart.main(Native Method)
07-12 13:33:50.640: WARN/System.err(292): Caused by:
java.io.IOException: An error occurred while attempting to establish a
connection to server http://dc1.xyz:80:
java.net.UnknownHostException: http://dc1.xyz
07-12 13:33:50.660: WARN/System.err(292):     at
com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:
142)
07-12 13:33:50.660: WARN/System.err(292):     at
com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:672)
07-12 13:33:50.660: WARN/System.err(292):     ... 14 more


Oh, maybe this is important:
I also tried to reach the site by using the emulators browser. But
there I got following error:

HTTP Error 401.2 - Unauthorized: Access is denied due to server
configuration favoring an alternate authentication method.

I have no clue how to solve this problem or why I get this error.
Any idea is welcome !

-- 
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