replying to my self with the help of Jordan Ligitt:
In my configuration the mappingProvider was not at the correct location.
Setting at the correction locaiton with the "add" value solved the issue.
````
- name: my_htpasswd_provider
challenge: true
login: true
mappingMethod: add
provider:
apiVersion: v1
kind: HTPasswdPasswordIdentityProvider
file: /var/lib/origin/htpasswd
```
On 3 February 2016 at 08:55, Akram Ben Aissi <[email protected]>
wrote:
> Hi guys,
>
>
> I a facing the following error after having changed the identity provider
> to htpasswd based.
> Note, that I was running for a while with the AllowAll .
>
> E0203 07:47:10.014788 16528 empties.go:28] AuthenticationError: Error
> creating or updating mapping for:
> &api.DefaultUserIdentityInfo{ProviderName:"my_htpasswd_provider",
> ProviderUserName:"admin", Extra:map[string]string{}} due to user "admin"
> cannot be claimed by identity "my_htpasswd_provider:admin" because it is
> already mapped to [anypassword:admin]
>
>
> I tried to set the new mappingMethod field to "add" instead of its default
> (claim) but, that does not make any difference.
>
> I was running
> oc v1.1.1-13-g46069e5
> kubernetes v1.1.0-origin-1107-g4c8e6f4
>
> and updated to:
> oc v1.1.1-380-gc05e2b3
> kubernetes v1.2.0-alpha.4-851-g4a65fa1
>
> I see that there were documentation issues opened and now closed, but this
> specific topic does not seem to be covered.
>
> Akram
>
>
>
>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev