cancel
Showing results for 
Search instead for 
Did you mean: 

Seriously need help with Authentication

tcordova
Champ in-the-making
Champ in-the-making
I'm desperately trying to put together a technology demo for one of our departments by Friday as a proof of concept and I'm having major issues with authentication.

First I set up NTLM pass through, but that won't work with CIFS right now, so I can't use it.

Then I tried to remove all the references to NTLM and Alfresco still seems to be authenticating against the domain.  Something is seriously wrong.

I removed the ntlm-authentication-context.xml file from the extension folder and put my web.xml back to the way it was on install.  Now I can't login at all, not even using admin/admin.

Before I do a fresh install and lose 2 hours I'd like to know if there's anything else I can try…
11 REPLIES 11

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

Could you email me your alfresco.log, web.xml and file-servers.xml files. I'll see if I can figure out what's wrong.

The admin account should still be available if you've switched back to the original Alfresco setup.

Did you have the 'save password' checkbox ticked when you connected with CIFS ?. You could try mapping a drive to \\<server>\alfresco and specify the username/password using the 'different username' link in the Map Network Drive dialog.

Cheers

Gary

tcordova
Champ in-the-making
Champ in-the-making
I had actually already started trying to reinstall.

So far the install has taken nearly 3 hours.  Any idea why it would take so long?  I have logging set to a threshold of "WARN", otherwise my disk fills up with a 50GB log file.

tcordova
Champ in-the-making
Champ in-the-making
Ok…  the reinstall finally finished…  253 minutes to reinstall from scratch.

Looks like I'm back to square one and Alfresco Authentication is working again.

Quick question would be, what do I do once the NTLM CIFS problem is resolved?  If I add a bunch of users to the repository using Alfresco security, once I turn on NTLM Pass thru, will the users be duplicated?

tcordova
Champ in-the-making
Champ in-the-making
And running out of time….

I performed a fresh install of Alfresco on my local machine (took over 6 hours to complete on XP with dual processors and a gig of RAM). 

Then I undeployed Alfresco from our development server deleted the alf_data directory, copied my local alf_data directory over to our development server re-deployed Alfresco and now I can't log in as anyone.

I've seen other posts on here that somehow relate to this, but do I really have to go through another 6 hour install to sync this stuff up?  What is the normal procedure for migrating Alfresco from one server to another?

steve
Champ in-the-making
Champ in-the-making
Hi,

Are you deploying to Jboss, and if so have you read this forum post:
http://forums.alfresco.com/viewtopic.php?t=2202

It might help you with the log file sizes.

Steve

paulhh
Champ in-the-making
Champ in-the-making
Hi

Can you give us some background on platform and package that you are using?  Using the installers (which have everything you need, self-contained), it takes about 5 minutes to get a vanilla install.

Thanks
Paul.

tcordova
Champ in-the-making
Champ in-the-making
Hi,

Are you deploying to Jboss, and if so have you read this forum post:
http://forums.alfresco.com/viewtopic.php?t=2202

It might help you with the log file sizes.

Steve

Yes, I deid that and it reduced the log file size, but didn't decrease the amount of time to install.

tcordova
Champ in-the-making
Champ in-the-making
Hi

Can you give us some background on platform and package that you are using?  Using the installers (which have everything you need, self-contained), it takes about 5 minutes to get a vanilla install.

Thanks
Paul.

I'm running on Windows XP Service Pack 2, 2 Xeon 3.2 GHz CPUs and 1 GB RAM on my local JBoss 4 server running JBoss Portal 2.2.1

I'm using a Sybase database server.

The last time I went through the install yesterday it took about 3 hours.

kevinr
Star Contributor
Star Contributor
Hi,

Are you deploying to Jboss, and if so have you read this forum post:
http://forums.alfresco.com/viewtopic.php?t=2202

It might help you with the log file sizes.

Steve

Yes, I deid that and it reduced the log file size, but didn't decrease the amount of time to install.

Very strange - we have seen this issue with JBoss+Spring etc. producing insanely huge log files that massively slow down the Alfresco bootstrap with the default JBoss logging settings - but if you have made this change then it should cure the problem. I can and have performed a full install of Alfresco on my basic laptop in 15 minutes and on a dual Opteron server in 5 minutes…!  Do you have any other loggers besides CONSOLE and FILE that may still be set to DEBUG or similar? Just trying to work out what it could be that's causing your slow down…

Thanks,

Kevin