cancel
Showing results for 
Search instead for 
Did you mean: 

Alforesco's LDAP User Cannot bind to ApacheDS

fthamura
Champ in-the-making
Champ in-the-making
hi there i got error

when i try to use alfresco to with ApacheDS

this is my ldap auth context.xml

  <entry key="java.naming.security.principal">
                    <value>uid=admin,ou=system</value>
                </entry>

                <!– The password for the user defined above –>
                <entry key="java.naming.security.credentials">
                    <value>secret</value>
                </entry>

and this is my error

can help all

23:35:45,218 UserSmiley Frustratedystem WARN  [authentication.ldap.LDAPInitialDirContextFactory
Impl] LDAP server supports anonymous bind ldap://localhost:10389
23:35:45,375 UserSmiley Frustratedystem INFO  [authentication.ldap.LDAPInitialDirContextFactory
Impl] LDAP server does not support simple string user ids and invalid credential
s at ldap://localhost:10389
23:35:45,390 UserSmiley Frustratedystem INFO  [authentication.ldap.LDAPInitialDirContextFactory
Impl] LDAP server does not fall back to anonymous bind for a simple dn and passw
ord at ldap://localhost:10389
23:35:45,390 UserSmiley Frustratedystem INFO  [authentication.ldap.LDAPInitialDirContextFactory
Impl] LDAP server does not fall back to anonymous bind for known principal and i
nvalid credentials at ldap://localhost:10389
4 REPLIES 4

fthamura
Champ in-the-making
Champ in-the-making
i think alfresco have bugs when connect to apacheds.

robertoroberto
Champ in-the-making
Champ in-the-making
I use apache DS but I haven't got this problem

fthamura
Champ in-the-making
Champ in-the-making
can run now, thx to lorenzo for his help

i can see that the xml from example is different with his context xml

and of course the LDIF, which missing, we need admin account in the ApacheDS.

robertoroberto
Champ in-the-making
Champ in-the-making
Hi, I have confiured alfresco with ApacheDS but Sometimes alfresco crashes with this error:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c928fea, pid=5260, tid=4408
#
# Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
# Problematic frame:
# C  [ntdll.dll+0x18fea]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

—————  T H R E A D  —————

Current thread (0x46220c00):  JavaThread "Thread-269" daemon [_thread_in_native, id=4408]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000010

Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00001574, EDX=0x44ff670c
ESP=0x4655f034, EBP=0x4655f0a8, ESI=0x44ff66fc, EDI=0x00000000
EIP=0x7c928fea, EFLAGS=0x00010246

Top of Stack: (sp=0x4655f034)
0x4655f034:   44fc4578 00000000 00000000 ffb3b4c0
0x4655f044:   ffffffff 000ba9f0 00000000 00000000
0x4655f054:   4655f0cc 719d57c9 0000194c 00001574
0x4655f064:   00000002 719d44b0 4655f158 4655f164
0x4655f074:   00000001 4655f140 00000001 00000000
0x4655f084:   00000020 00000800 4655f150 00000000
0x4655f094:   00000000 0000194c 00000000 00000000
0x4655f0a4:   00001574 4655f140 7c91104b 00ff66fc

Instructions: (pc=0x7c928fea)
0x7c928fda:   8b 46 10 3b c3 89 45 fc 0f 84 9e 00 00 00 8b 06
0x7c928fea:   ff 40 10 8b 45 fc 83 e0 01 89 45 e8 8b 06 ff 40


Stack: [0x46540000,0x46560000),  sp=0x4655f034,  free space=124k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x18fea]
C  [ntdll.dll+0x104b]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0
j  java.net.SocketInputStream.read([BII)I+84
j  java.io.BufferedInputStream.fill()V+175
j  java.io.BufferedInputStream.read1([BII)I+44
j  java.io.BufferedInputStream.read([BII)I+49
j  com.sun.jndi.ldap.Connection.run()V+30
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

Have you got this prolem too?
Can you help me?regards