Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
While configuring my headpin/katello system to use LDAP, if I specify the default user name for the admin user during the configuration using --user-name, the default administrator user is created as "admin", completely ignoring the one I passed as an argument.
Also, note that the password for the admin user is displayed as plain text... it should be a hash of some type.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. katello-configure --deployment=headpin --user-name=Administrator --user-email=foo --org-name='CFSE QE' --ldap-server=********* --auth-method=ldap --ldap-port=389 --ldap-server-type='active_directory' --ldap-users-basedn='*******' --ldap-roles=true --ldap-anon-queries=false --ldap-service-user='Administrator' --ldap-service-pass='******' --ldap-ad-domain='win-ads.redhat.com'
2. Login as Administrator and use the LDAP password for this user
3.
Actual results:
The user can login but does not have admin priviledge
Expected results:
User Administrator should be the default admin user with all access
Additional info:
# RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/headpin rails console
Loading production environment (Rails 3.0.10)
irb(main):001:0> User.all
=> [#<User id: 1, username: "admin", password: "admin", helptips_enabled: true, hidden: false, created_at: "2012-11-20 16:05:40", updated_at: "2012-11-20 16:05:40", own_role_id: 3, page_size: 25, disabled: false, email: "omaciel", password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>, #<User id: 2, username: "hidden-KupQJK", password: "**********", helptips_enabled: true, hidden: true, created_at: "2012-11-20 16:05:40", updated_at: "2012-11-20 16:05:40", own_role_id: 4, page_size: 25, disabled: false, email: "rtiZeVckrH@localhost", password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>, #<User id: 3, username: "Administrator", password: nil, helptips_enabled: true, hidden: false, created_at: "2012-11-20 16:07:40", updated_at: "2012-11-20 16:07:40", own_role_id: 5, page_size: 25, disabled: false, email: nil, password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>]
Description of problem: While configuring my headpin/katello system to use LDAP, if I specify the default user name for the admin user during the configuration using --user-name, the default administrator user is created as "admin", completely ignoring the one I passed as an argument. Also, note that the password for the admin user is displayed as plain text... it should be a hash of some type. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. katello-configure --deployment=headpin --user-name=Administrator --user-email=foo --org-name='CFSE QE' --ldap-server=********* --auth-method=ldap --ldap-port=389 --ldap-server-type='active_directory' --ldap-users-basedn='*******' --ldap-roles=true --ldap-anon-queries=false --ldap-service-user='Administrator' --ldap-service-pass='******' --ldap-ad-domain='win-ads.redhat.com' 2. Login as Administrator and use the LDAP password for this user 3. Actual results: The user can login but does not have admin priviledge Expected results: User Administrator should be the default admin user with all access Additional info: # RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/headpin rails console Loading production environment (Rails 3.0.10) irb(main):001:0> User.all => [#<User id: 1, username: "admin", password: "admin", helptips_enabled: true, hidden: false, created_at: "2012-11-20 16:05:40", updated_at: "2012-11-20 16:05:40", own_role_id: 3, page_size: 25, disabled: false, email: "omaciel", password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>, #<User id: 2, username: "hidden-KupQJK", password: "**********", helptips_enabled: true, hidden: true, created_at: "2012-11-20 16:05:40", updated_at: "2012-11-20 16:05:40", own_role_id: 4, page_size: 25, disabled: false, email: "rtiZeVckrH@localhost", password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>, #<User id: 3, username: "Administrator", password: nil, helptips_enabled: true, hidden: false, created_at: "2012-11-20 16:07:40", updated_at: "2012-11-20 16:07:40", own_role_id: 5, page_size: 25, disabled: false, email: nil, password_reset_token: nil, password_reset_sent_at: nil, preferences: {}, foreman_id: nil>]