You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@allura.apache.org by Th...@cognizant.com on 2013/04/17 07:59:48 UTC

Error in installing allura platform

Hi
when i change the auth_method to ldap in .ini file, I am unable to register a user and unable to login with ldap admin username saying internal server error

I installed the libldap2-dev ,python-ldap in chroot environment as suggested in this thread https://sourceforge.net/p/allura/tickets/_discuss/thread/751106bf/post .But still getting the same error
here i attach the logs.Please and check and let me know how to fix it.

Thanks
thejaswani
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.

Re: Error in installing allura platform

Posted by Tim Van Steenburgh <tv...@gmail.com>.
It looks like the LdapAuthenticationProvider in allura/lib/plugin.py is missing a `user_project_shortname()` and `user_registration_date()` method. For a quick fix you could try copying the ones from the LocalAuthenticationProvider class above it in the same file. I'm not positive that will fix all the problems but it'd be a good place to start.

Tim


On Wednesday, April 17, 2013 at 1:59 AM, Thejaswani.G@cognizant.com (mailto:Thejaswani.G@cognizant.com) wrote:

> Hi
> when i change the auth_method to ldap in .ini file, I am unable to register a user and unable to login with ldap admin username saying internal server error
> 
> I installed the libldap2-dev ,python-ldap in chroot environment as suggested in this thread https://sourceforge.net/p/allura/tickets/_discuss/thread/751106bf/post .But still getting the same error
> here i attach the logs.Please and check and let me know how to fix it.
> 
> Thanks
> thejaswani
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. 
> 
> 
> Attachments: 
> - taskd.log
> 
> - tg.log
> 
> 



Re: Error in installing allura platform

Posted by Tim Van Steenburgh <tv...@gmail.com>.
On Thursday, April 18, 2013 at 8:46 AM, Thejaswani.G@cognizant.com wrote:
> Hi
> Now i am able to create a user in allura platform.
> Error in creating home directory  for the user.
> I didnt see physical folder structure for the project created in /var/scm/git
> Only the default folder for projects test "p/test" is available in the /scm/git and /scm/svn 
You won't see new folders being created here unless you install a new SVN, Git, or Hg tool in one of your projects. 
> Another attribute error and userstat tool is not available
Please post the full traceback from the log. 
> Please help to fix
> 
> thanks
> thejaswani
> From: G, Thejaswani (Cognizant)
> Sent: Wednesday, April 17, 2013 6:54 PM
> To: allura-users@incubator.apache.org (mailto:allura-users@incubator.apache.org)
> Subject: RE: Error in installing allura platform
> 
> Hi,
> PFA!
> 
> From: G, Thejaswani (Cognizant)
> Sent: Wednesday, April 17, 2013 11:29 AM
> To: allura-users@incubator.apache.org (mailto:allura-users@incubator.apache.org)
> Subject: Error in installing allura platform
> 
> Hi
> when i change the auth_method to ldap in .ini file, I am unable to register a user and unable to login with ldap admin username saying internal server error
> 
> I installed the libldap2-dev ,python-ldap in chroot environment as suggested in this thread https://sourceforge.net/p/allura/tickets/_discuss/thread/751106bf/post .But still getting the same error
> here i attach the logs.Please and check and let me know how to fix it.
> 
> Thanks
> thejaswani
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. 
> 
> 
> Attachments: 
> - tg.log
> 
> - taskd.log
> 



RE: Error in installing allura platform

Posted by Th...@cognizant.com.
Hi
Now i am able to create a user in allura platform.
Error in creating home directory  for the user.
I didnt see physical folder structure for the project created in /var/scm/git
Only the default folder for projects test "p/test" is available in the /scm/git and /scm/svn
Another attribute error and userstat tool is not available
Please help to fix

thanks
thejaswani
________________________________
From: G, Thejaswani (Cognizant)
Sent: Wednesday, April 17, 2013 6:54 PM
To: allura-users@incubator.apache.org
Subject: RE: Error in installing allura platform

Hi,
PFA!

________________________________
From: G, Thejaswani (Cognizant)
Sent: Wednesday, April 17, 2013 11:29 AM
To: allura-users@incubator.apache.org
Subject: Error in installing allura platform

Hi
when i change the auth_method to ldap in .ini file, I am unable to register a user and unable to login with ldap admin username saying internal server error

I installed the libldap2-dev ,python-ldap in chroot environment as suggested in this thread https://sourceforge.net/p/allura/tickets/_discuss/thread/751106bf/post .But still getting the same error
here i attach the logs.Please and check and let me know how to fix it.

Thanks
thejaswani
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.