LDAP error code 49

977 views
Skip to first unread message

agustin koll

unread,
Jun 13, 2017, 6:32:57 PM6/13/17
to dcm4che
Hi, i'm trying to develop the module of wildfly and i'm getting this error:
 [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: ERR_229 Cannot authenticate user cn=admin,dc=dcm4che,dc=org]

I have APACHE DS, and apache directory studio.
My networks parameters are like the tutorial:

 Network Parameter:
    Hostname: localhost
    Port:     10389
Authentication Parameter:
    Bind DN or user: uid=admin,ou=system
    Bind password:   secret
I can't put the information like the step of 
Bind DN or user: cn=admin,dc=dcm4che,dc=org---> this fails!!!

my ldap.properties file, look's like this:

 java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
 java.naming.ldap.attributes.binary=dicomVendorData
 java.naming.provider.url=ldap://localhost:10389/dc=dcm4che,dc=org
 java.naming.security.principal=cn=admin,dc=dcm4che,dc=org
 java.naming.security.credentials=secret

I attach a capture of my apache studio !

Thank you!!!

agustin koll

unread,
Jun 14, 2017, 7:45:58 PM6/14/17
to dcm4che
The configuration file ldap.properties must be:
java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
java.naming.ldap.attributes.binary=dicomVendorData
java.naming.provider.url=ldap://localhost:10389/dc=dcm4che,dc=org
java.naming.security.principal= uid=admin,ou=system
java.naming.security.credentials=secret

with apache studio:
Network Parameter:
    Hostname: localhost
    Port:     10389
Authentication Parameter:
    Bind DN or user: uid=admin,ou=system
    Bind password:   secret

Reply all
Reply to author
Forward
0 new messages