Issue #516 resolved

Cannot Push to remote SCM Server

Anonymous created an issue

I get a "not enaugh permissions" error whenever I try to push to scm-manager installed on a remote machine. I am using ActiveDirectory users. I have tried with two different users both configured the same way in SCM-Manager. On one it works, on the other it does not.

I have narrowed down the issue to the fact that scmhooks.py fails when trying to open the connection in conn = opener.open(req)

I reckon it must be some kind of permission error as it does NOT happen when I am using a different user.

I attached the debug output of the push attempt that failed.

Comments (11)

  1. hemisphera

    I forgot to add:

    I can freely pull and clone from the server using my user. No problems.

    If I open .hg\hgrc and deactivate the scmhooks.py, I can correctly push to the server using my user without problems.

  2. hemisphera

    OK, I enabled trace logging.

    Somehow I seem to be having issues attaching files here on bitbucket. I have put it into my dropbox again. Here it is: https://www.dropbox.com/s/ror88t04rk0v1sd/scm-manager-trace.log

    Anyway. I have seen that the actual issue is that shiro (i think?) is unable to authenticate the user against AD or at least reports that the credentials are incorrect.

    But on the other hand I am able to log in into SCM-Manager using the same user and password with no problems.

  3. Log in to comment