+++ This bug was initially created as a clone of Bug #878543 +++ 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>]
u.save