addon enable error Authorization 'NTLM' not supported

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2012 10:21 AM
I get the following error when I am trying to enable an add-on
I following the following tutorials
http://code.google.com/p/share-extras/wiki/MediaViewers
http://code.google.com/p/share-extras/downloads/detail?name=media-viewers-2.0.jar&can=2&q=
https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
http://ffmpeg.org/download.html
http://kb.liquidweb.com/install-git-on-centos-5/
I am using centos5 64bit
alfresco 4.0d
The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature.
I following the following tutorials
http://code.google.com/p/share-extras/wiki/MediaViewers
http://code.google.com/p/share-extras/downloads/detail?name=media-viewers-2.0.jar&can=2&q=
https://ffmpeg.org/trac/ffmpeg/wiki/CentosCompilationGuide
http://ffmpeg.org/download.html
cd x264./configure –enable-shared –prefix=/usrmakemake install
http://kb.liquidweb.com/install-git-on-centos-5/
I am using centos5 64bit
alfresco 4.0d
Labels:
- Labels:
-
Archive
17 REPLIES 17

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2012 11:44 AM
The following is what i can see when i click on Net on firebug console
[img]http://img222.imageshack.us/img222/7253/consolealfrescodeploy.png[/img]
I get the following sometimes in IE
I believe my ntlm is set up correctly
http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_SSO_using_NTLM i am using v 4.0.0
I can access my sites and explorer etc. It just on the add-on page where it throws up a login box and then errors
HeadersPostCookiesResponse Headersview sourceContent-Length 0Date Tue, 28 Aug 2012 15:36:39 GMTServer Apache-Coyote/1.1Request Headersview sourceAccept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Encoding gzip, deflateAccept-Language en-us,en;q=0.5Authorization Basic c2hhcmlmdTp3b2tpbmc=Connection keep-aliveCookie JSESSIONID=172A0BF47F6B7AEBCB0227390183132EHost alfrescotest:8080Referer http://alfrescotest:8080/share/service/modules/deployUser-Agent Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1Request Headers From Upload StreamContent-Length 289Content-Type application/x-www-form-urlencoded
Parametersapplication/x-www-form-urlencodeddeployedModules {"id":"Alfresco Portlet Extension","evaluatorId":"portlet.module.evaluator","evaluatorProperties":{"portletUrls":".*"}}evaluator {"id":"portlet.module.evaluator","requiredProps":["portletUrls"]}Sourceevaluator=%7B%22id%22%3A%22portlet.module.evaluator%22%2C%22requiredProps%22%3A%5B%22portletUrls%22%5D%7D&deployedModules=%7B%22id%22%3A%22Alfresco+Portlet+Extension%22%2C%22evaluatorId%22%3A%22portlet.module.evaluator%22%2C%22evaluatorProperties%22%3A%7B%22portletUrls%22%3A%22.*%22%7D%7D
Sent CookiesJSESSIONID 172A0BF47F6B7AEBCB0227390183132E 172A0BF47F6B7AEBCB0227390183132E 42 B Value172A0BF47F6B7AEBCB0227390183132E
[img]http://img222.imageshack.us/img222/7253/consolealfrescodeploy.png[/img]
I get the following sometimes in IE
The Web Script /share/page/modules/deploy has responded with a status of 500 - .500 Description: Message:07280000 Authorization 'NTLM' not supported. Exception:org.springframework.extensions.webscripts.WebScriptException - 07280000 Authorization 'NTLM' not supported. org.springframework.extensions.webscripts.BasicHttpAuthenticatorFactory$BasicHttpAuthenticator.authenticate(BasicHttpAuthenticatorFactory.java:146)org.springframework.extensions.webscripts.PresentationContainer.executeScript(PresentationContainer.java:68)org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.executeScript(LocalWebScriptRuntimeContainer.java:239)org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)org.springframework.extensions.webscripts.servlet.mvc.WebScriptView.renderMergedOutputModel(WebScriptView.java:99)org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)javax.servlet.http.HttpServlet.service(HttpServlet.java:637)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:74)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.alfresco.web.site.servlet.SSOAuthenticationFilter.processType3(SSOAuthenticationFilter.java:922)org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:499)org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)java.lang.Thread.run(Thread.java:662) Server:Spring WebScripts - v1.0.0 (Release 958) schema 1,000Time:28-Aug-2012 16:43:37 Diagnostics:Inspect Web Script (extensibility/moduleDeployment.post)
I believe my ntlm is set up correctly
<config evaluator="string-compare" condition="Remote"> <remote> <connector> <id>alfrescoCookie</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using cookie-based authentication</description> <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class> </connector> <endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication </description> <connector-id>alfrescoCookie</connector-id> <endpoint-url>http://alfrescotest.uk.xxx.com:8080/alfresco/wcs</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> </remote> </config>
http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_SSO_using_NTLM i am using v 4.0.0
I can access my sites and explorer etc. It just on the add-on page where it throws up a login box and then errors

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2012 07:50 AM
Hello,
it is unclear to me at which point of your procedure this error appears. Is is part of some log output, presented in a browser window …? Which file is the affected "plain tet document".
Regards
Axel
I believe the file is ./webapps/share/css/webscripts.css
which I copied over from ./webapps/alfresco/css/webscripts.css
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2012 08:36 AM
I just noticed the reference to NTLM at the end of your last post. I suspect this is related, and if you compare the URLs in your browser address bar in your screenshot you will see there is a key difference between the two
List modules: GET /share/service/modules/deploy
Save modules: POST /share/page/modules/deploy
What seems likely to me is that the 'page' context is not working with your NTLM configuration, but 'service' is. I'd suggest you double-check you've performed all the steps necessary for SSO, and (since you seem to be using the Enterprise edition) log a ticket with Alfresco Support if it still doesn't work.
Cheers,
Will
List modules: GET /share/service/modules/deploy
Save modules: POST /share/page/modules/deploy
What seems likely to me is that the 'page' context is not working with your NTLM configuration, but 'service' is. I'd suggest you double-check you've performed all the steps necessary for SSO, and (since you seem to be using the Enterprise edition) log a ticket with Alfresco Support if it still doesn't work.
Cheers,
Will

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2012 08:40 AM
I just noticed the reference to NTLM at the end of your last post. I suspect this is related, and if you compare the URLs in your browser address bar in your screenshot you will see there is a key difference between the two
List modules: GET /share/service/modules/deploy
Save modules: POST /share/page/modules/deploy
What seems likely to me is that the 'page' context is not working with your NTLM configuration, but 'service' is. I'd suggest you double-check you've performed all the steps necessary for SSO, and (since you seem to be using the Enterprise edition) log a ticket with Alfresco Support if it still doesn't work.
Cheers,
Will
I have double checked the configuration and followed through http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_SSO_using_NTLM. I am using community edition.
################################# Common Alfresco Properties ################################dir.root=/opt/alfresco-4.0.d/alf_dataalfresco.context=alfrescoalfresco.host=127.0.0.1alfresco.port=8080alfresco.protocol=httpshare.context=shareshare.host=127.0.0.1share.port=8080share.protocol=http### database connection properties ###db.driver=org.gjt.mm.mysql.Driverdb.username=rootdb.password=supportdb.name=alfrescodb.url=jdbc:mysql://localhost:3306/alfresco?useUnicode=yes&characterEncoding=UTF-8### FTP Server Configuration ###ftp.enabled=trueftp.port=21ftp.ipv6.enabled=false### RMI service ports ###alfresco.rmi.services.port=50500monitor.rmi.service.port=50508alfresco.rmi.services.external.host=172.16.0.49avm.rmi.service.port=0avmsync.rmi.service.port=0attribute.rmi.service.port=0authentication.rmi.service.port=0repo.rmi.service.port=0action.rmi.service.port=0deployment.rmi.service.port=0### External executable locations ###ooo.exe=/opt/alfresco-4.0.d/openoffice/program/soffice.binooo.enabled=falseooo.port=8100ooo.port=8100img.root=/opt/alfresco-4.0.d/commonimg.dyn=${img.root}/libimg.exe=${img.root}/bin/convertswf.exe=/opt/alfresco-4.0.d/common/bin/pdf2swfjodconverter.enabled=false jodconverter.officeHome=/opt/alfresco-4.0.d/openoffice jodconverter.portNumbers=8100 ### Initial admin password ###alfresco_user_store.adminpassword=1e1dd34b128de1968a44212e05d9e942### E-mail site invitation setting ###notification.email.siteinvite=false### File Protocol Root ###protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}### License location ###dir.license.external=/opt/alfresco-4.0.d### Solr indexing ###index.subsystem.name=lucenedir.keystore=${dir.root}/keystoresolr.port.ssl=8443### BPM Engine ###system.workflow.engine.jbpm.enabled=false### AD SSOauthentication.chain=passthru1:passthru,ldap1:ldap-adalfresco.authentication.authenticateCIFS=falsentlm.authentication.sso.enabled=truepassthru.authentication.authenticateCIFS=trueldap.authentication.active=falseldap.synchronization.active=trueldap.authentication.userNameFormat=%sldap.authentication.allowGuestLogin=falseldap.authentication.escapeCommasInBind=falseldap.authentication.escapeCommasInUid=falseldap.authentication.java.naming.security.authentication=simpleldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactoryldap.authentication.java.naming.provider.url=ldap://echo.uk.domain.com:389ldap.synchronization.java.naming.security.authenticaton=simpleldap.synchronization.java.naming.security.principal=administrator@domain.comldap.synchronization.java.naming.security.credentials=secretldap.synchronization.userSearchBase=ou\=Sites,dc\=domain,dc\=comsynchronization.synchronizeChangesOnly=false### synchronization.import.cron=0 0 0 * * ?synchronization.syncWhenMissingPeopleLogIn=truesynchronization.autoCreatePeopleOnLogin=truepassthru.authentication.domain=domainpassthru.authentication.servers=domain\\echo.uk.domain.com,domain\\fezziwig.uk.domain.compassthru.authentication.defaultAdministratorUserNames=johnl,markw,administrator,alfresco,sharifuldap.synchronization.queryBatchSize=1000#ldap.synchronization.groupDifferentialQuery=(&(objectclass=nogroup)(!(modifyTimestamp<\={0})))#ldap.synchronization.personQuery=(&(objectclass=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))#ldap.synchronization.personDifferentialQuery=(& (objectclass=user)(!(modifyTimestamp<\={0})))ldap.synchronization.groupQuery=(objectclass\=group)ldap.synchronization.groupSearchBase=cn\=users,dc\=domain,dc\=com# Delay indexing to improve replication performance#index.tracking.disableInTransactionIndexing=true#lucene.maxAtomicTransformationTime=0replication.enabled=false#db.schema.update=true## Index Recovery Mode#————-#index.recovery.mode=FULLffmpeg.exe=/usr/local/bin/ffmpeg
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2012 09:18 AM
Alfresco 4.0.0 is the Enterprise version, which you mentioned you were using.
If you don't have a support subscription then you could hack the web script that implements the list modules page to force the HTML form to submit the save data to /share/service/modules/deploy. The real fix would be to get the 'page' context working with your SSO, but the dynamic servlet filters which implement Share SSO are complex and would require a good knowledge to troubleshoot. My suggestion would be to hack up the temporary fix in your installation and open a JIRA issue to report the 'page' context not working.
Cheers,
Will
If you don't have a support subscription then you could hack the web script that implements the list modules page to force the HTML form to submit the save data to /share/service/modules/deploy. The real fix would be to get the 'page' context working with your SSO, but the dynamic servlet filters which implement Share SSO are complex and would require a good knowledge to troubleshoot. My suggestion would be to hack up the temporary fix in your installation and open a JIRA issue to report the 'page' context not working.
Cheers,
Will

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2012 09:26 AM
Alfresco 4.0.0 is the Enterprise version, which you mentioned you were using.
If you don't have a support subscription then you could hack the web script that implements the list modules page to force the HTML form to submit the save data to /share/service/modules/deploy. The real fix would be to get the 'page' context working with your SSO, but the dynamic servlet filters which implement Share SSO are complex and would require a good knowledge to troubleshoot. My suggestion would be to hack up the temporary fix in your installation and open a JIRA issue to report the 'page' context not working.
Cheers,
Will
[img]http://img51.imageshack.us/img51/5373/alfrescoversion.png[/img]
Can you explain what file and where I need to change what please. If you can talk me through it.
created in jira https://issues.alfresco.com/jira/browse/ALF-15738

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2012 05:17 AM
Hi,
i have the similar authorization problem when i want to activate modules. Im using Alfresco 4.0e community version. The only difference is that i'm using Kerberos authentification. Everything works fine with authentification but to enable a module within the module deployment console http://servername
ort/share/page/modules/deploy produces the error 08200002 Authorization 'Negotiate' not supported. See Screenshots:
[img]http://www.ransbach-baumbach.de/sites/default/files/bilder/alfreso_01.png[/img]
[img]http://www.ransbach-baumbach.de/sites/default/files/bilder/alfreso_02.png[/img]
I followed the kerberos installation here: http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/tasks/auth-kerberos-shareSSO.html
But as i said everything with authentification works fine except on this site.
Maybe you could help me out. Thanks.
i have the similar authorization problem when i want to activate modules. Im using Alfresco 4.0e community version. The only difference is that i'm using Kerberos authentification. Everything works fine with authentification but to enable a module within the module deployment console http://servername

[img]http://www.ransbach-baumbach.de/sites/default/files/bilder/alfreso_01.png[/img]
[img]http://www.ransbach-baumbach.de/sites/default/files/bilder/alfreso_02.png[/img]
I followed the kerberos installation here: http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/tasks/auth-kerberos-shareSSO.html
But as i said everything with authentification works fine except on this site.
Maybe you could help me out. Thanks.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2012 10:14 AM
This is what I have
you configured kerberos, i used ntlm
http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-...
what do you have?
<config evaluator="string-compare" condition="Remote"> <remote> <connector> <id>alfrescoCookie</id> <name>Alfresco Connector</name> <description>Connects to an Alfresco instance using cookie-based authentication</description> <class>org.springframework.extensions.webscripts.connector.AlfrescoConnector</class> </connector> <endpoint> <id>alfresco</id> <name>Alfresco - user access</name> <description>Access to Alfresco Repository WebScripts that require user authentication</description> <connector-id>alfrescoCookie</connector-id> <endpoint-url>http://tanaga.usa.xxx.com:8080/alfresco/wcs</endpoint-url> <identity>user</identity> <external-auth>true</external-auth> </endpoint> </remote> </config>
you configured kerberos, i used ntlm
http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fauth-kerberos-...
what do you have?
