For what it's worth, this works:This doesn't work:
curl --user nigelbabu:<password> https://gerrit-server/a/accounts/self/detail
curl -u nigelbabu:<password> -H 'X-Gerrit-RunAs:build' https://gerrit-server/a/accounts/self/detail
curl --user build:<password> https://gerrit-server/a/accounts/self/detail
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Creating users from the command line *would not* create real users on your Auth backend and thus would never work.The users created from the command line are meant to be used for batch automation and can only login via SSH keys AFAIK.
I thought Nigel was using GitHub authentication and not LDAP.Enabling the gitBasicAuth = true may have an impact on how existing users are connecting at the moment: not sure if that would work but it's worth trying :-)