dwimberger / crowd-ldap-server

Implementation of an LDAP server that delegates authentication to an Atlassian Crowd installation using the Crowd REST API.
Apache License 2.0
71 stars 59 forks source link

Unable to deploy the ldap #27

Closed bbenson29 closed 5 years ago

bbenson29 commented 5 years ago

Please could you tell me what am doing wrong why I can't get the crowd-ldap-server working and how the resolve the issue

stoke on 02:57:20] INFO [net.wimpi.crowd.ldap.CrowdLDAPServer] - Configuration directory: /home/ubuntu/crowd-ldap-server/etc [02:57:20] INFO [net.wimpi.crowd.ldap.CrowdLDAPServer] - Starting up CrowdLDAP Server [02:57:20] INFO [net.wimpi.crowd.ldap.CrowdLDAPServer] - Working directory: /home/ubuntu/crowd-ldap-server/work [02:57:20] DEBUG [net.wimpi.crowd.ldap.CrowdLDAPServer] - Loading configuration. [02:57:22] DEBUG [net.wimpi.crowd.ldap.CrowdLDAPServer] - org.apache.directory.server.core.authn.AuthenticationInterceptor@21ca139c [02:57:22] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - ==> CrowdPartition::init [02:57:22] INFO [net.wimpi.crowd.ldap.CrowdPartition] - Initializing CrowdPartition with m_Suffix dc=crowd [02:57:22] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - <== CrowdPartition::init [02:57:24] ERROR [org.apache.directory.shared.ldap.entry.DefaultServerAttribute] - ERR_04450 The value {0} is incorrect, it hasnt been added [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - search((dn=0.9.2342.19200300.100.1.25=crowd, filter=(objectClass=referral:[9223372036854775807]), scope=sub) [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - findSubTree()::dn=0.9.2342.19200300.100.1.25=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - Name=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - search((dn=0.9.2342.19200300.100.1.25=crowd, filter=(objectClass=accessControlSubentry), scope=sub) [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - findSubTree()::dn=0.9.2342.19200300.100.1.25=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - Name=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - search((dn=0.9.2342.19200300.100.1.25=crowd, filter=(|:[9223372036854775807](objectClass=groupOfNames:[9223372036854775807])(objectClass=groupOfUniqueNames:[9223372036854775807])), scope=sub) [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - findSubTree()::dn=0.9.2342.19200300.100.1.25=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - Name=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - search((dn=0.9.2342.19200300.100.1.25=crowd, filter=(objectClass=subentry:[9223372036854775807]), scope=sub) [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - findSubTree()::dn=0.9.2342.19200300.100.1.25=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - Name=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - search((dn=0.9.2342.19200300.100.1.25=crowd, filter=(objectClass=triggerExecutionSubentry), scope=sub) [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - findSubTree()::dn=0.9.2342.19200300.100.1.25=crowd [02:57:24] DEBUG [net.wimpi.crowd.ldap.CrowdPartition] - Name=crowd [02:57:24] INFO [net.wimpi.crowd.ldap.CrowdLDAPServer] - Starting directory listener

And on crowd I get 2019-08-20 02:42:31,528 http-nio-8095-exec-10 INFO [plugin.rest.filter.BasicApplicationAuthenticationFilter] Invalid authentication for application with name 'crowd-ldap-server' 2019-08-20 03:00:00,818 Caesium-2-1 INFO [manager.token.reaper.UserTokenReaper] No expired user tokens were found Here is what my config looks like

session.lastvalidation=session.lastvalidation session.isauthenticated=session.isauthenticated application.password=*********** application.name=CrowdLDAPServer session.validationinterval=30 crowd.server.url=http://123.123.123.123:8095/crowd/ session.tokenkey=session.tokenkey application.login.url=http://123.123.123.123:8095

Thanks

bbenson29 commented 5 years ago

Issue was due to wrong firewall setting and after changing firewall it is now working.