I am using keystone 0.9.0 , RDO Openstack Icehouse on Centos 6.5 with
In short - I am trying to use external authentication with keystone
identity - where LDAP is used as a backend database for users and groups,
while kerberos is used for authentication with HTTPD remote_user.
Roles/Tenants are used from mysql backend.
Search base for users. (string value)
LDAP search filter for users. (string value)
LDAP objectClass for users. (string value)
user_objectclass = posixAccount
LDAP attribute mapped to user id. (string value)
useridattribute = displayName
LDAP attribute mapped to user name. (string value)
usernameattribute = displayName
LDAP attribute mapped to user email. (string value)
usermailattribute = mail
I see that, no matter what i change in useridattribute, the
keystone/auth/plugins/external.py always uses "uid" as its search term.
This creates an issue, for remoteuser since the remoteuser under my
environment includes the domain (for example: "email@example.com")
And whenever i try to authenticate using my kerberos ticket - with external
I see the following in the log:
DEBUG keystone.common.ldap.core [-] LDAP search:
dn=ou=People,dc=example,dc=come, scope=1, query=(&(uid=
'userPassword', 'enabled', 'uid'] searchs
2014-10-18 02:34:36.459 5592 DEBUG keystone.common.ldap.core [-] LDAP
2014-10-18 02:34:36.460 5592 WARNING keystone.common.wsgi [-] Authorization
failed. Unable to lookup user firstname.lastname@example.org from 172.31.41.104
As you can see above, i do not want it to search with "uid" , but instead
In our ldap structure, uid just contains the username and does not contain
As a workaround -
I have tried to use other deprecated classes such as
"external=keystone.auth.plugins.external.LegacyDomain", but i see no
Also when i do - Keystone user-list
I clearly see that the uid attribute does not take up my changes in the
configuration file - keystone.conf
In addition to above issues, i observed that - whenever i do : keystone
user-role-add - It does take up my value in configuration - but it will not
work, since it always gets uid instead of displayName, and displayName
lookup will not result in a successful return.
May i please request some help regarding above.
I wish to modify the code, or write my wrapper around it, but it would be
helpful if i could see any documentation regarding compilation/deployment
of keystone code.
Please do let me know, if i need to provide any more information.
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : email@example.com
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack