Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.
Hi! It's my work configldap.server.address=192.168.32.2ldap.server.port=389ldap.use.ssl=falseldap.basedn=dc=[...],dc=[...]ldap.bind.attribute=samaccountnameldap.search.filter=(objectClass=*)##Accept only none (anonymous bind) and simple (simple bind)#ldap.search.auth.method=none##This section is only for simple bindldap.search.auth.method=simpleldap.search.auth.principal=cn=[...],ou=[...],dc=[...],dc=[...]ldap.search.auth.password=passwdAnd you must create the same login into cmdbuild as your ldap serverPreviously Baptiste wrote:Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.
Hi,Thanks for your help, still doesn't manage to get ldap connection working...I tried with the ldap search command, this command works :ldapsearch -D "CN=CMDBuildAccount,OU=[...],OU=[...],DC=[...],DC=[...]" -b OU=[...],DC=[...],DC=[...] -h domain.com -p 389 -x -W -ZZI can also replace -h domain.com -p 389 with -H ldaps://domain.comSo I update my configuration to use port 389 and create the same login into cmdbuild as the one used for my ldap serveur but always the same error :INFO 2013-06-19 10:29:57 [jsonrpc ] Calling url /login/loginERROR 2013-06-19 10:29:57 [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONGAny other idea ?Regards.Previously denis wrote:Hi! It's my work configldap.server.address=192.168.32.2ldap.server.port=389ldap.use.ssl=falseldap.basedn=dc=[...],dc=[...]ldap.bind.attribute=samaccountnameldap.search.filter=(objectClass=*)##Accept only none (anonymous bind) and simple (simple bind)#ldap.search.auth.method=none##This section is only for simple bindldap.search.auth.method=simpleldap.search.auth.principal=cn=[...],ou=[...],dc=[...],dc=[...]ldap.search.auth.password=passwdAnd you must create the same login into cmdbuild as your ldap serverPreviously Baptiste wrote:Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.
are you change ldap.use.ssl=false?
Previously Baptiste wrote:Hi,Thanks for your help, still doesn't manage to get ldap connection working...I tried with the ldap search command, this command works :ldapsearch -D "CN=CMDBuildAccount,OU=[...],OU=[...],DC=[...],DC=[...]" -b OU=[...],DC=[...],DC=[...] -h domain.com -p 389 -x -W -ZZI can also replace -h domain.com -p 389 with -H ldaps://domain.comSo I update my configuration to use port 389 and create the same login into cmdbuild as the one used for my ldap serveur but always the same error :INFO 2013-06-19 10:29:57 [jsonrpc ] Calling url /login/loginERROR 2013-06-19 10:29:57 [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONGAny other idea ?Regards.Previously denis wrote:Hi! It's my work configldap.server.address=192.168.32.2ldap.server.port=389ldap.use.ssl=falseldap.basedn=dc=[...],dc=[...]ldap.bind.attribute=samaccountnameldap.search.filter=(objectClass=*)##Accept only none (anonymous bind) and simple (simple bind)#ldap.search.auth.method=none##This section is only for simple bindldap.search.auth.method=simpleldap.search.auth.principal=cn=[...],ou=[...],dc=[...],dc=[...]ldap.search.auth.password=passwdAnd you must create the same login into cmdbuild as your ldap serverPreviously Baptiste wrote:Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.
Yes, I've tried to change it too but doesn't seems to work neither. This things makes me crazy...Can we changging logging to be more verbose ?Previously denis wrote:are you change ldap.use.ssl=false?
Previously Baptiste wrote:Hi,Thanks for your help, still doesn't manage to get ldap connection working...I tried with the ldap search command, this command works :ldapsearch -D "CN=CMDBuildAccount,OU=[...],OU=[...],DC=[...],DC=[...]" -b OU=[...],DC=[...],DC=[...] -h domain.com -p 389 -x -W -ZZI can also replace -h domain.com -p 389 with -H ldaps://domain.comSo I update my configuration to use port 389 and create the same login into cmdbuild as the one used for my ldap serveur but always the same error :INFO 2013-06-19 10:29:57 [jsonrpc ] Calling url /login/loginERROR 2013-06-19 10:29:57 [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONGAny other idea ?Regards.Previously denis wrote:Hi! It's my work configldap.server.address=192.168.32.2ldap.server.port=389ldap.use.ssl=falseldap.basedn=dc=[...],dc=[...]ldap.bind.attribute=samaccountnameldap.search.filter=(objectClass=*)##Accept only none (anonymous bind) and simple (simple bind)#ldap.search.auth.method=none##This section is only for simple bindldap.search.auth.method=simpleldap.search.auth.principal=cn=[...],ou=[...],dc=[...],dc=[...]ldap.search.auth.password=passwdAnd you must create the same login into cmdbuild as your ldap serverPreviously Baptiste wrote:Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.
Call: services/json/configure/applypatches
-------------------------------------------
Error: org.cmdbuild.exception.ORMException: ORM_SQL_PATCH
at org.cmdbuild.exception.ORMException$ORMExceptionType.createException(ORMException.java:59)
at org.cmdbuild.services.DefaultPatchManager.applyPatch(DefaultPatchManager.java:264)
at org.cmdbuild.services.DefaultPatchManager.applyPatchList(DefaultPatchManager.java:239)
at org.cmdbuild.servlets.json.Configure.applyPatches(Configure.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:94)
at org.cmdbuild.servlets.JSONDispatcher.doPost(JSONDispatcher.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:133)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.cmdbuild.filters.PatchManagerFilter.doFilter(PatchManagerFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.cmdbuild.filters.ConfCheckFilter.doFilter(ConfCheckFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.cmdbuild.filters.TranslationFilter.doFilter(TranslationFilter.java:39)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:722)
The configuration seems correct, what CMDBuild version are you using: 1.5, 2.0 or 2.1?--Davide PavanPreviously Baptiste wrote:Yes, I've tried to change it too but doesn't seems to work neither. This things makes me crazy...Can we changging logging to be more verbose ?Previously denis wrote:are you change ldap.use.ssl=false?
Previously Baptiste wrote:Hi,Thanks for your help, still doesn't manage to get ldap connection working...I tried with the ldap search command, this command works :ldapsearch -D "CN=CMDBuildAccount,OU=[...],OU=[...],DC=[...],DC=[...]" -b OU=[...],DC=[...],DC=[...] -h domain.com -p 389 -x -W -ZZI can also replace -h domain.com -p 389 with -H ldaps://domain.comSo I update my configuration to use port 389 and create the same login into cmdbuild as the one used for my ldap serveur but always the same error :INFO 2013-06-19 10:29:57 [jsonrpc ] Calling url /login/loginERROR 2013-06-19 10:29:57 [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONGAny other idea ?Regards.Previously denis wrote:Hi! It's my work configldap.server.address=192.168.32.2ldap.server.port=389ldap.use.ssl=falseldap.basedn=dc=[...],dc=[...]ldap.bind.attribute=samaccountnameldap.search.filter=(objectClass=*)##Accept only none (anonymous bind) and simple (simple bind)#ldap.search.auth.method=none##This section is only for simple bindldap.search.auth.method=simpleldap.search.auth.principal=cn=[...],ou=[...],dc=[...],dc=[...]ldap.search.auth.password=passwdAnd you must create the same login into cmdbuild as your ldap serverPreviously Baptiste wrote:Hi everyone,
I'am unsuccessfully trying to connect CDMBuild to ldap. But I always get the following error : [jsonrpc ] A org.cmdbuild.exception.AuthException occurred calling method class org.cmdbuild.servlets.json.Login.login: AUTH_LOGIN_WRONG
Here is my configuration :auth.methods=LdapAuthenticator,DBAuthenticatorldap.server.address=domain.comldap.server.port=636ldap.use.ssl=trueldap.basedn=OU=[...],DC=[...],DC=[...]ldap.bind.attribute=sAMAccountNameldap.search.filter=(objectClass=*)ldap.search.auth.method=simpleldap.search.auth.principal=CN=CMDBuildAccount,OU=[...],DC=[...],DC=[...]ldap.search.auth.password=MyPasswordCan someone help me ? I really don't know where the problem is.Thanks in advance,Regards.