Can the same user exist for both LDAP and internal authentication

Long Vu long.vu at intelerad.com
Tue Mar 21 04:29:38 UTC 2017


Hi,

I previously used the internal authentication.

I now would like to enable LDAP.

Upon enabling LDAP, I have the error below in the logs.  It looks like
Kallithea do not allow the same user from both authentication
mechanisms?

2017-03-21 04:14:29.346 DEBUG [kallithea.lib.auth_modules] Trying to
fetch user `lvu` from Kallithea database
2017-03-21 04:14:29.348 DEBUG [kallithea.lib.auth_modules] Plugin
kallithea.lib.auth_modules.auth_ldap extracted user is
`<User('id:3:lvu')>`
2017-03-21 04:14:29.348 DEBUG [kallithea.lib.auth_modules] User
<User('id:3:lvu')> should authenticate using internal this is ldap,
skipping
2017-03-21 04:14:29.348 DEBUG [kallithea.lib.auth_modules] Plugin
kallithea.lib.auth_modules.auth_ldap does not accept user
`<User('id:3:lvu')>` for authentication
2017-03-21 04:14:29.349 WARNI [kallithea.model.validators] user lvu
failed to authenticate

How can this user migrate to use LDAP authentication now?

I also notice if I disable internal authentication, the admin user
(which is a local user not in LDAP) no longer works, which means I am
force to keep internal auth together with ldap auth?

Let's say LDAP works.  It will only provide the users.  I still have
to manually assign those users coming from LDAP to a local group?


-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.



More information about the kallithea-general mailing list